Skip to content
Snippets Groups Projects
  1. Nov 28, 2022
  2. Nov 16, 2022
  3. Oct 06, 2022
  4. Sep 27, 2022
  5. Sep 07, 2022
    • Bin Meng's avatar
      roms/opensbi: Upgrade from v1.0 to v1.1 · 780bb81b
      Bin Meng authored
      
      Upgrade OpenSBI from v1.0 to v1.1 and the pre-built bios images.
      
      The v1.1 release includes the following commits:
      
      5b99603 lib: utils/ipi: Fix size check in aclint_mswi_cold_init()
      6dde435 lib: utils/sys: Extend HTIF library to allow custom base address
      8257262 platform: sifive_fu740: do not use a global in da9063_reset/shutdown
      fb688d9 platform: sifive_fu740: fix reset when watchdog is running
      5d025eb lib: fix pointer of type 'void *' used in arithmetic
      632f593 lib: sbi: Map only the counters enabled in hardware
      3b7c204 lib: sbi: Disable interrupt during config matching
      a26dc60 lib: sbi: Disable interrupt and inhibit counting in M-mode during init
      5d53b55 Makefile: fix build with binutils 2.38
      6ad8917 lib: fix compilation when strings.h is included
      ce4c018 lib: utils/serial: Round UART8250 baud rate divisor to nearest integer
      01250d0 include: sbi: Add AIA related CSR defines
      8f96070 lib: sbi: Detect AIA CSRs at boot-time
      65b4c7c lib: sbi: Use AIA CSRs for local interrupts when available
      222132f lib: sbi: Add sbi_trap_set_external_irqfn() API
      5f56314 lib: utils/irqchip: Allow multiple FDT irqchip drivers
      1050940 include: sbi: Introduce nascent_init() platform callback
      55e79f8 lib: sbi: Enable mie.MEIE bit for IPIs based on external interrupts.
      9f73669 lib: utils/irqchip: Add IMSIC library
      811da5c lib: utils/irqchip: Add FDT based driver for IMSIC
      7127aaa lib: utils: Disable appropriate IMSIC DT nodes in fdt_fixups()
      9979265 lib: utils/irqchip: Add APLIC initialization library
      3461219 lib: utils/irqchip: Add FDT based driver for APLIC
      8e2ef4f lib: utils: Disable appropriate APLIC DT nodes in fdt_fixups()
      3a69cc1 lib: sbi: fix typo in is_region_subset
      f2ccf2f lib: sbi: verbose sbi_domain_root_add_memregion
      f3f4604 lib: sbi: Add a simple external interrupt handling framework
      4998a71 lib: utils: serial: Initial commit of xlnx-uartlite
      2dfbd3c lib: pmp_set/pmp_get moved errors from runtime to compile time
      b6b7220 firmware: Fix code for accessing hart_count and stack_size
      d552fc8 lib: Add error messages via conditional compilation for the future
      555bdb1 include: Use static asserts for SBI_PLATFORM_xxx_OFFSET defines
      1b42d3a include: Use static asserts for SBI_SCRATCH_xxx_OFFSET defines
      7924a0b include: Use static asserts for FW_DYNAMIC_INFO_xxx_OFFSET defines
      722f80d include: Add defines for [m|h|s]envcfg CSRs
      31fecad lib: sbi: Detect menvcfg CSR at boot time
      47d6765 lib: sbi: Enable Zicbo[m|z] extensions in the menvcfg CSR
      794986f lib: sbi: Enable Svpbmt extension in the menvcfg CSR
      499601a lib: sbi: Add Smstateen extension defines
      d44568a lib: sbi: Detect Smstateen CSRs at boot-time
      3383d6a lib: irqchip/imsic: configure mstateen
      5c5cbb5 lib: utils/serial: support 'reg-offset' property
      c1e47d0 include: correct the definition of MSTATUS_VS
      9cd95e1 lib: sbi/hart: preserve csr validation value
      4035ae9 docs: pmu: Improve the PMU DT bindings
      d62f6da lib: sbi: Implement Sstc extension
      474a9d4 lib: sbi: Fix mstatus_init() for RV32 when Sscofpmf is not available
      e576b3e include: sbi: Define SBI_PMU_HW_EVENT_MAX to 256
      b0c9df5 lib: sbi: Fix mhpmeventh access for rv32 in absence of sscofpmf
      1a754bb lib: sbi: Detect and print privileged spec version
      5a6be99 lib: sbi: Remove 's' and 'u' from misa_string() output
      5b8b377 lib: sbi: Update the name of ISA string printed at boot time
      d4b563c lib: sbi: Remove MCOUNTEREN and SCOUNTEREN hart features
      dbc3d8f lib: sbi: Remove MCOUNTINHIBT hart feature
      97a17c2 lib: sbi: Remove MENVCFG hart feature
      a6ab94f lib: sbi: Fix AIA feature detection
      cad6c91 lib: sbi: Convert hart features into hart extensions
      be4903a lib: sbi: Detect hart features only once for each hart
      994ace3 lib: sbi: Add sbi_hart_update_extension() function
      023f0ad lib: sbi_platform: Add callback to populate HART extensions
      f726f2d Makefile: Allow generated C source to be anywhere in build directory
      7fb474b Makefile: Add support for generating C array at compile time
      73cf511 lib: utils/reset: Generate FDT reset driver list at compile-time
      1e62705 lib: utils/serial: Generate FDT serial driver list at compile-time
      bfeb305 lib: utils/timer: Generate FDT timer driver list at compile-time
      3a69d12 lib: utils/irqchip: Generate FDT irqchip driver list at compile-time
      4ee0c57 lib: utils/ipi: Generate FDT ipi driver list at compile-time
      998ed43 lib: utils/i2c: Generate FDT i2c adapter driver list at compile-time
      4eacd82 lib: utils/gpio: Generate FDT gpio driver list at compile-time
      a3a3c60 platform: generic: Generate platform override module list at compile-time
      9a7a677 platform: generic: Move Sifive platform overrides into own directory
      851c14d lib: utils/irqchip: fix typo when checking for CPU node
      90a9dd2 lib: utils/fdt: introduce fdt_node_is_enabled()
      616da52 lib: utils: check if CPU node is enabled
      575bb4e platform: generic: check if CPU node is enabled
      1bc67db lib: utils/fdt: rename fdt_parse_max_hart_id
      f067bb8 lib: sbi: fix system_opcode_insn
      fab0379 lib: utils/fdt: Require match data to be const
      295e5f3 lib: sbi_timer: Drop unnecessary get_platform_ticks wrapper
      ff65bfe lib: sbi_illegal_insn: Constify illegal_insn_table
      cb8271c lib: sbi_illegal_insn: Add emulation for fence.tso
      adc3388 lib: sbi_trap: Redirect exception based on hedeleg
      ce1d618 platform: generic: add overrides for vendor extensions
      b20ed9f lib: sbi_hsm: Call a device hook during hart resume
      79e42eb lib: sbi_hsm: Assume a consistent resume address
      2ea7799 lib: irqchip/plic: Constify plic_data pointers
      8c362e7 lib: irqchip/plic: Factor out a context init function
      415ecf2 lib: irqchip/plic: Add context save/restore helpers
      2b79b69 lib: irqchip/plic: Add priority save/restore helpers
      69be3df lib: utils/irqchip: Add FDT wrappers for PLIC save/restore functions
      5e56758 lib: utils/irqchip: Add wrapper for T-HEAD PLIC delegation
      9dc5ec5 platform: Add HSM implementation for Allwinner D1
      551c70c include: sbi: Add mtinst/htinst psuedoinstructions
      187127f lib: sbi: Fixup tinst for exceptions in sbi_misaligned_*()
      a07402a lib: sbi: Fix tval and tinst for sbi_get_insn()
      c653001 lib: utils: Remove CSRs that set/clear an IMSIC interrupt file bits
      7738345 lib: utils/timer: Add a separate compatible for the D1 CLINT
      d76a196 lib: irqchip/plic: fix typo in plic_warm_irqchip_init
      6f1fe98 lib: utils/timer: Remove Allwinner D1 CLINT compatibles
      c6fdbcf include: sbi: Change spec version to 1.0
      3f66465 lib: pmu: allow to use the highest available counter
      4489876 include: Bump-up version to 1.1
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
      Message-Id: <20220713090613.204046-1-bmeng.cn@gmail.com>
      Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
      780bb81b
  6. Sep 01, 2022
  7. Aug 30, 2022
  8. Aug 07, 2022
    • Thomas Huth's avatar
      pc-bios/s390-ccw: Update the s390-ccw.img with the block size fix · c3dd58ba
      Thomas Huth authored
      
      The new binary now gets the block size of virtio-blk devices right.
      
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      c3dd58ba
    • Thomas Huth's avatar
      pc-bios/s390-ccw: Fix booting with logical block size < physical block size · 393296de
      Thomas Huth authored
      For accessing single blocks during boot, it's the logical block size that
      matters. (Physical block sizes are rather interesting e.g. for creating
      file systems with the correct alignment for speed reasons etc.).
      So the s390-ccw bios has to use the logical block size for calculating
      sector numbers during the boot phase, the "physical_block_exp" shift
      value must not be taken into account. This change fixes the boot process
      when the guest hast been installed on a disk where the logical block size
      differs from the physical one, e.g. if the guest has been installed
      like this:
      
       qemu-system-s390x -nographic -accel kvm -m 2G \
        -drive if=none,id=d1,file=fedora.iso,format=raw,media=cdrom \
        -device virtio-scsi -device scsi-cd,drive=d1 \
        -drive if=none,id=d2,file=test.qcow2,format=qcow2
        -device virtio-blk,drive=d2,physical_block_size=4096,logical_block_size=512
      
      Linux correctly uses the logical block size of 512 for the installation,
      but the s390-ccw bios tries to boot from a disk with 4096 block size so
      far, as long as this patch has not been applied yet (well, it used to work
      by accident in the past due to the virtio_assume_scsi() hack that used to
      enforce 512 byte sectors on all virtio-block disks, but that hack has been
      well removed in commit 5447de26 to fix other scenarios).
      
      Fixes: 5447de26 ("pc-bios/s390-ccw/virtio-blkdev: Remove virtio_assume_scsi()")
      Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=2112303
      
      
      Message-Id: <20220805094214.285223-1-thuth@redhat.com>
      Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
      Reviewed-by: default avatarEric Farman <farman@linux.ibm.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      393296de
  9. Aug 01, 2022
  10. Jul 13, 2022
  11. Jul 06, 2022
  12. Jun 01, 2022
Loading