Skip to content
Snippets Groups Projects
  1. 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
  2. Sep 01, 2022
  3. Aug 30, 2022
  4. 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
  5. Aug 01, 2022
  6. Jul 13, 2022
  7. Jul 06, 2022
  8. Jun 01, 2022
  9. May 26, 2022
    • Helge Deller's avatar
      New SeaBIOS-hppa version 6 · 64ee6989
      Helge Deller authored
      
      Staring with SEABIOS_HPPA_VERSION 6 the serial ports are now emulated as
      on physical hardware, with LASI UART being serial port #0 and DINO UART
      as serial port #1. On older versions those ports were swapped.
      
      This SeaBIOS-hppa fix is needed to allow fixing the qemu serial
      pass-through from host to guest.
      
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      64ee6989
  10. May 16, 2022
    • Helge Deller's avatar
      seabios-hppa: Update SeaBIOS-hppa to VERSION 5 · 041eb5bc
      Helge Deller authored
      
      New features and fixes in SeaBIOS for hppa/parisc:
      
      * STI firmware now contains additional fonts built-in, which
        can be selected with qemu command-line options:
              -fw_cfg opt/font,string=1       - a HP 8x16 font
              -fw_cfg opt/font,string=2       - a HP 6x13 font
              -fw_cfg opt/font,string=3       - a HP 10x20 font
              -fw_cfg opt/font,string=4       - a Linux 16x32 font
      
      * Fixed PS/2 keyboard emulation when running in graphical mode.
        This allows to type boot commands in the firmware boot menu if
        qemu was started with "-boot menu=on" (and no linux kernel was
        given on the qemu command line).
      
      * Fix firmware rendenzvous code to clear all pending external intrrupts
        before entering the waiting loop.
      
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      041eb5bc
  11. May 12, 2022
  12. Apr 20, 2022
    • Joel Stanley's avatar
      ppc/pnv: Update skiboot to v7.0 · 5dd0be53
      Joel Stanley authored
      
      This is skiboot 7.0 (commit 76b349cf7b40). Built using gcc 11.2.0 and
      binutils 2.38.
      
      Changes since the previous version:
      
      Christophe Lombard (15):
            npu2: move opal api
            pau: introduce support
            rainier: detect pau devices
            pau: assign bars
            pau: create phb
            pau: enabling opencapi
            pau: translation layer configuration
            pau: enable interrupt on error
            pau: complete phb ops
            pau: hmi scom dump
            pau: phy init
            pau: link training
            pau: update current opal call functions
            pau: mmio invalidates
            pau: Add support for OpenCAPI Persistent Memory devices.
      
      Cédric Le Goater (4):
            xive/p10: Fix xive_special_cache_check when DEBUG=1
            xive/p10: Fix mismatch errors when DEBUG=1
            interrupts: Do not advertise XICS support on P10
            skiboot v6.6.6 release notes
      
      Frederic Barrat (6):
            phb4/5: Escalate page-level TCE kills
            npu3: Remove GPU support on Swift
            phb5: Remove obsolete capp-related properties
            xive/p10:: Declare xive2 DT node as an interrupt-controller
            skiboot v6.0.24 release notes
            opal-api: Drop diagnostics data type symbol for PHB5
      
      Michael Ellerman (3):
            external/mambo: Print more info when the kernel is too big
            doc: Make it clear all existing platforms use Power9N
            docs: Add Swift, Mowgli & Rainier
      
      Nicholas Piggin (12):
            external/mambo: Updates for POWER10 configuration for DD2.0
            external/mambo: Updates POWER9 SIM_CTRL1 to remove hardware atomic RC
            external/mambo: Add POWER10 small-core mode
            HBRT: fix clobbered r16 when host services handlers are called
            interrupts: add_opal_interrupts avoid NULL dereference on P10 mambo
            cpu: cpu_idle_job SMT priority fix
            cpu: add debug check in cpu_relax
            asm/head: Fix P10 HILE for little endian build
            phb4: annotate tbl_pest with endian types
            Remove support for POWER8 DD1
            phb3: make endian-clean
            flash: AST BMC endian fixes
      
      Nick Child (1):
            secvar: Free md context on hash error
      
      Ryan Grimm (1):
            AWAN simulator support for P10
      
      Vasant Hegde (5):
            ci: Bump qemu version
            hello_world: Add p10 mambo tests
            skiboot v6.7.3 release notes
            skiboot v6.8.1 release notes
            skiboot v7.0 release notes
      
      Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
      Signed-off-by: default avatarDaniel Henrique Barboza <danielhb413@gmail.com>
      5dd0be53
  13. Mar 24, 2022
  14. Mar 15, 2022
    • Gerd Hoffmann's avatar
      edk2: update binaries to stable202202 · 3891a599
      Gerd Hoffmann authored
      
      The switch to edk2 RELEASE builds changes the memory layout a bit,
      resulting in a acpi table change.
      
       DefinitionBlock ("", "SSDT", 1, "BOCHS ", "NVDIMM", 0x00000001)
       {
           Scope (\_SB)
           {
               Device (NVDR)
               {
                   Name (_HID, "ACPI0012" /* NVDIMM Root Device */)  // _HID: Hardware ID
                   Method (NCAL, 5, Serialized)
                   {
                       Local6 = MEMA /* \MEMA */
                       {
                           Return (NCAL (Arg0, Arg1, Arg2, Arg3, 0x02))
                       }
                   }
      
                   Device (NV02)
                   {
                       Name (_ADR, 0x03)  // _ADR: Address
                       Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                       {
                           Return (NCAL (Arg0, Arg1, Arg2, Arg3, 0x03))
                       }
                   }
               }
           }
      
      -    Name (MEMA, 0x43D10000)
      +    Name (MEMA, 0x43F50000)
       }
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      3891a599
  15. Mar 07, 2022
  16. Feb 09, 2022
Loading