Skip to content
Snippets Groups Projects
  1. Aug 21, 2020
  2. Aug 03, 2020
    • Gerd Hoffmann's avatar
      seabios: update to master snapshot · 1f42e246
      Gerd Hoffmann authored
      
      seabios master branch got a few bugfixes, so update
      to a newer snapshot to pick them up for 5.1-rc3.
      
      shortlog
      ========
      
      Kevin O'Connor (2):
            vgabios: Fix preserve memory flag in handle_1000
            ldnoexec: Add script to remove ET_EXEC flag from intermediate build objects
      
      Paul Menzel (1):
            nvme: Increase `nvme_cmd_readwrite()` message log level from 3 to 5
      
      Stefan Reiter (1):
            virtio-scsi: fix boot prio detection by using correct lun
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      1f42e246
  3. Jul 27, 2020
  4. Jul 19, 2020
  5. Jul 07, 2020
  6. Jul 02, 2020
  7. May 21, 2020
  8. Apr 29, 2020
    • Bin Meng's avatar
      roms: opensbi: Upgrade from v0.6 to v0.7 · 0b2f78e5
      Bin Meng authored
      
      Upgrade OpenSBI from v0.6 to v0.7 and the pre-built bios images.
      
      The v0.7 release includes the following commits:
      
      f64f4b9 lib: Add a new platform feature to bringup secondary harts
      b677a9b lib: Implement hart hotplug
      5b48240 lib: Add possible hart status values
      e3f69fc lib: Implement Hart State Management (HSM) SBI extension
      6704216 lib: Check MSIP bit after returning from WFI
      82ae8e8 makefile: Do setup of the install target more flexible
      e1a5b73 platform: sifive: fu540: allow sv32 as an mmu-type
      8c83fb2 lib: Fix return type of sbi_hsm_hart_started()
      00d332b include: Move bits related defines and macros to sbi_bitops.h
      a148996 include: sbi_bitops: More useful bit operations
      4a603eb platform: kendryte/k210: Set per-HART stack size to 8KB
      678c3c3 include: sbi_scratch: Set per-HART scratch size to 4KB
      2abc55b lib: Sort build objects in alphabetical order
      6e87507 platform: ae350: Sort build objects in alphabetical order
      650c0e5 lib: sbi: Fix coding style issues
      078686d lib: serial: Fix coding style issues
      3226bd9 lib: Simple bitmap library
      c741abc include: Simple hartmask library
      d6d7e18 lib: sbi_init: Don't allow HARTID greater than SBI_HARTMASK_MAX_BITS
      a4a6a81 lib: Introduce SBI_TLB_INFO_INIT() helper macro
      d963164 lib: sbi_tlb: Use sbi_hartmask in sbi_tlb_info
      71d2b83 lib: Move all coldboot wait APIs to sbi_init.c
      2b945fc lib: sbi_init: Use hartmask for coldboot wait
      44ce5b9 include: Remove disabled_hart_mask from sbi_platform
      2db381f lib: Introduce sbi_hsm_hart_started_mask() API
      61f7768 lib: sbi_ecall_legacy: Use sbi_hsm_hart_started_mask() API
      466fecb lib: sbi_system: Use sbi_hsm_hart_started_mask() API
      9aad831 lib: sbi_ipi: Use sbi_hsm_hart_started_mask() API
      eede1aa lib: sbi_hart: Remove HART available mask and related APIs
      757bb44 docs: Remove out-of-date documentation
      86d37bb lib: sbi: Fix misaligned trap handling
      ffdc858 platform: ariane-fpga: Change license for ariane-fpga from GPL-2.0 to BSD-2
      4b2f594 sbi: Add definitions for true/false
      0cfe49a libfdt: Add INT32_MAX and UINT32_MAX in libfdt_env.h
      baac7e0 libfdt: Upgrade to v1.5.1 release
      f92147c include: Make sbi_hart_id_to_scratch() as macro
      eeae3d9 firmware: fw_base: Optimize _hartid_to_scratch() implementation
      16e7071 lib: sbi_hsm: Optimize sbi_hsm_hart_get_state() implementation
      823345e include: Make sbi_current_hartid() as macro in riscv_asm.h
      9aabba2 Makefile: Fix distclean make target
      9275ed3 platform: ariane-fpga: Set per-HART stack size to 8KB
      2343efd platform: Set per-HART stack size to 8KB in the template platform codes
      72a0628 platform: Use one unified per-HART stack size macro for all platforms
      327ba36 scripts: Cover sifive/fu540 in the 32-bit build
      5fbcd62 lib: sbi: Update pmp_get() to return decoded size directly
      dce8846 libfdt: Compile fdt_addresses.c
      fcb1ded lib: utils: Add a fdt_reserved_memory_fixup() helper
      666be6d platform: Clean up include header files
      6af5576 lib: utils: Move PLIC DT fix up codes to fdt_helper.c
      e846ce1 platform: andes/ae350: Fix up DT for reserved memory
      8135520 platform: ariane-fpga: Fix up DT for reserved memory
      c9a5268 platform: qemu/virt: Fix up DT for reserved memory
      6f9bb83 platform: sifive/fu540: Fix up DT for reserved memory
      1071f05 platform: sifive/fu540: Remove "stdout-path" fix-up
      dd9439f lib: utils: Add a fdt_cpu_fixup() helper
      3f1c847 platform: sifive/fu540: Replace cpu0 node fix-up with the new helper
      db6a2b5 lib: utils: Add a general device tree fix-up helper
      3f8d754 platform: Update to call general DT fix-up helper
      87a7ef7 lib: sbi_scratch: Introduce HART id to scratch table
      e23d3ba include: Simplify HART id to scratch macro
      19bd531 lib: sbi_hsm: Simplify hart_get_state() and hart_started() APIs
      3ebfe0e lib: sbi_tlb: Simplify sbi_tlb_entry_process() function
      209134d lib: Handle failure of sbi_hartid_to_scratch() API
      bd6ef02 include: sbi_platform: Improve sbi_platform_hart_disabled() API
      c9f60fc lib: sbi_scratch: Don't set hartid_to_scratch table for disabled HART
      680b098 lib: sbi_hsm: Don't use sbi_platform_hart_count() API
      db187d6 lib: sbi_hsm: Remove scratch parameter from hart_started_mask() API
      814f38d lib: sbi_hsm: Don't use sbi_platform_hart_disabled() API
      75eec9d lib: Don't use sbi_platform_hart_count() API
      c51f02c include: sbi_platform: Introduce HART index to HART id table
      315a877 platform: sifive/fu540: Remove FU540_ENABLED_HART_MASK option
      a0c88dd lib: Fix sbi_ecall_register_extension to prevent extension IDs overlap
      9a74a64 lib: Check MSIP bit after returning from WFI
      5968894 platform: Move ariane standalone fpga project to its own project
      ed265b4 platform: fpga/ariane: Remove redundant plic address macros
      fb84879 platform: Add OpenPiton platform support
      d1d6560 platform: fpga/common: Add a fdt parsing helper functions
      040e4e2 lib: utils: Move fdt fixup helper routines to a different file
      4c37451 platform: openpiton: Read the device configurations from device tree
      4d93586 lib: prevent coldboot_lottery from overflowing
      550ba88 scripts: Extend create-binary-archive.sh for unified binary tar ball
      160c885 lib: utils: Improve fdt_cpu_fixup() implementation
      1de66d1 lib: Optimize unpriv load/store implementation
      626467c lib: Remove scratch parameter from unpriv load/store functions
      cb78a48 lib: sbi_trap: Remove scratch parameter from sbi_trap_redirect()
      d11c79c lib: sbi_emulate_csr: Remove scratch and hartid parameter
      5a7bd0c lib: sbi_illegal_insn: Remove mcause, scratch and hartid parameters
      fe37d7d lib: sbi_misaligned_ldst: Remove mcause, scratch and hartid parameters
      7487116 lib: sbi_ecall: Remove mcause, scratch and hartid parameters
      40b221b lib: sbi_trap: Simplify sbi_trap_handler() API
      7b211ff include: sbi_platform: Remove priv parameter from hart_start() callback
      5b6957e include: Use more consistent name for atomic xchg() and cmpxchg()
      dd0f21c lib: sbi_scratch: Introduce sbi_scratch_last_hartid() API
      54b2779 include: sbi_tlb: Remove scratch parameter from sbi_tlb_request()
      9e52a45 include: sbi_ipi: Remove scratch parameter from most functions
      ec0d80f include: sbi_system: Remove scratch parameter and redundant functions
      0a28ea5 include: sbi_timer: Remove scratch parameter from most funcitons
      648507a include: sbi_console: Remove scratch parameter from sbi_dprintf()
      e5a7f55 platform: thead/c910: Use HSM extension to boot secondary cores
      f281de8 lib: irqchip/plic: Fix maximum priority threshold value
      6c7922e lib: Support vector extension
      615587c docs: Update README about supported SBI versions
      66d0184 lib: Allow overriding SBI implementation ID
      9f1b72c include: Bump-up version to 0.7
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
      Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
      0b2f78e5
  9. Apr 06, 2020
  10. Mar 17, 2020
    • Alexey Kardashevskiy's avatar
      pseries: Update SLOF firmware image · 6961eae7
      Alexey Kardashevskiy authored
      
      The only change here is moving the decision about rtas-size
      to QEMU.
      
      Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      6961eae7
    • Alexey Kardashevskiy's avatar
      pseries: Update SLOF firmware image · eeea9f9d
      Alexey Kardashevskiy authored
      
      This mainly fixes virtio-serial with and without
      enabled iommu-platform.
      
      The full list of changes is:
      
      Alexey Kardashevskiy (3):
            llfw: Fix debug printf warnings
            virtio-serial: Close device completely
            version: update to 20200312
      
      Cédric Le Goater (1):
            virtio: Fix typo in virtio_serial_init()
      
      Greg Kurz (2):
            virtio-serial: Don't override some words
            virtio-serial: Rework shutdown sequence
      
      Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      eeea9f9d
    • Bin Meng's avatar
      roms: opensbi: Add 32-bit firmware image for sifive_u machine · a6fcc80b
      Bin Meng authored
      
      Although the real world SiFive HiFive Unleashed board is a 64-bit
      hardware configuration, with QEMU it is possible to test 32-bit
      configuration with the same hardware features.
      
      This updates the roms Makefile to add the build rules for creating
      the 32-bit OpenSBI firmware image for sifive_u machine. A pre-built
      OpenSBI v0.6 image has been added as the default bios for 32-bit
      sifive_u machine.
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      a6fcc80b
    • Bin Meng's avatar
      roms: opensbi: Upgrade from v0.5 to v0.6 · bfd05e81
      Bin Meng authored
      
      Upgrade OpenSBI from v0.5 to v0.6 and the pre-built bios images.
      
      The v0.6 release includes the following commits:
      
      dd8ef28 firmware: Fix compile error for FW_PAYLOAD with latest GCC binutils
      98f4a20 firmware: Introduce relocation lottery
      f728a0b include: Sync-up encoding with priv v1.12-draft and hypervisor v0.5-draft
      18897aa include: Use _UL() and _ULL() for defines in riscv_encoding.h
      7a13beb firmware: Add preferred boot HART field in struct fw_dynamic_info
      215421c lib: Remove date and time from init message
      838657c include: Remove ilen member of struct unpriv_trap
      b1d8c98 lib: No need to set VSSTATUS.MXR bit in get_insn()
      0e1322b lib: Better naming of unpriv APIs for wider use
      75f903d lib: Simplify trap parameters in sbi_ecall functions
      c96cc03 lib: Fix CPU capabilities detection function
      ab14f94 lib: Fix probe extension
      813f7f4 lib: Add error detection for misa_extension
      dc40042 include: sbi_platform: fix compilation for GCC-9
      bd732ae include: Add guest external interrupt related defines
      6590a7d lib: Delegate guest page faults to HS-mode
      4370f18 include: Extend struct sbi_trap_info for mtval2 and mtinst
      086dbdf lib: Fix sbi_get_insn() for load guest page fault
      2be424b lib: Extend trap redirection for hypervisor v0.5 spec
      7219477 lib: Use MTINST CSR in misaligned load/store emulation
      b8732fe lib: Add replacement extension and function ids
      aa0ed1d lib: Remove redundant IPI types
      1092663 lib: Add TIME extension in SBI
      9777aee lib: Add IPI extension in SBI
      9407202 lib: Add hfence instruction encoding
      331ff6a lib: Support stage1 and stage2 tlb flushing
      86a31f5 lib: Implement RFENCE extension
      c7d1b12 firmware: Return real DTB address when FW_xyz_FDT_ADDR is not defined
      9beb573 firmware: Improve comments for fw_prev_arg1() and fw_next_arg1()
      fc6bd90 docs: Improve docs for FDT address passing
      46a90d9 lib: utils: Support CLINT with 32bit MMIO access on RV64 system
      c0849cd platform: Add T-head C910 initial support
      e746673 lib: Remove unnecessary checks from init_coldboot() and init_warmboot()
      c3e406f lib: Add initial sbi_exit() API
      55e191e lib: Add system early_exit and final_exit APIs
      6469ed1 lib: Add timer exit API
      b325f6b lib: Add ipi exit API
      1993182 lib: Add irqchip exit API
      2aa43a1 lib: save/restore MIE CSR in sbi_hart_wait_for_coldboot()
      b0c9787 lib: do sbi_exit() upon halt IPI
      15ed1e7 lib: improve system reboot and shutdown implementation
      73c19e6 lib: zero-out memory allocated using sbi_scratch_alloc_offset()
      a67fd68 lib: Add sbi_init_count() API
      049ad0b build: Use -ffreestanding
      e340bbf include: Add OPENSBI_EXTERNAL_SBI_TYPES in sbi_types.h
      b28b8ac docs: Add description of using OPENSBI_EXTERNAL_SBI_TYPES
      adf8b73 platform: thead/c910: Remove SBI_PLATFORM_HAS_PMP
      f95dd39 docs: platform: Update SiFive FU540 doc as-per U-Boot v2020.01
      6ffe1be firmware: Fix placement of .align directives
      7daccae platform: thead/c910: Don't enable L2 cache in warm boot
      a73d45c platform: thead/c910: Don't set plic/clint address in warm boot
      30cdf00 scripts: Add C910 to platform list in the binary archive script
      0492c5d include: Typo fix in comment for SBI_SCRATCH_SIZE define
      046cc16 lib: Move struct sbi_ipi_data definition to sbi_ipi.c
      3d2aaac lib: Introduce sbi_ipi_send_smode() API
      da9b76b lib: Introduce sbi_ipi_send_halt() API
      a8b4b83 lib: Introduce sbi_tlb_fifo_request() API
      5f762d1 lib: Introduce sbi_ipi_event_create/destroy() APIs
      817d50d lib: Drop _fifo from the name of various sbi_tlb_fifo_xyz() functions
      84cd4fc lib: Initialize TLB management directly from coldboot/warmboot path
      0a411bf include: Add generic and simple list handling APIs
      37923c4 lib: Add dynamic registration of SBI extensions
      7668502 lib: Factor-out SBI legacy extension
      161b348 lib: Factor-out SBI replacement extensions
      43ac621 lib: Factor-out SBI vendor extension
      021b9e7 lib: Factor-out SBI base extension
      85647a1 platform: template: typo fix in system reboot/shutdown names
      ac1c229 platform: Update UART base addresses for qemu/sifve_u
      d79173b platform: Add an platform ops to return platform specific tlb flush limit
      2c2bbe7 platform: sifive/fu540: Set tlb range flush limit to zero
      5ff1ab0 makefile: add support for building on macOS
      6d0b4c5 platform: Drop qemu/sifive_u support
      9a717ec platform: sifive: fu540: Add platform specific 'make run' cmd
      d6fa7f9 doc: sifive: fu540: Update QEMU instruction when using U-Boot as the payload
      179edde lib: sbi_scratch: use bitwise ops in sbi_scratch_alloc_offset()
      897b8fb lib: Use __builtin_ctzl() in pmp_get()
      1a8ca08 lib: Initialize out value in SBI calls
      c2bfa2b lib: irqchip/plic: Disable all contexts and IRQs
      c2f23cc platform: Add Spike initial support
      a062200 platform: Remove stale options from config.mk files
      c03c8a1 scripts: Add Spike to platform list of binary archive script
      29bb2a6 docs: platform: Add documentation for Spike platform
      48b06ad ThirdPartyNotices: Fix doc styles
      892e879 doc: coreboot: Fix doc styles
      fdfb533 doc: payload_linux: Fix doc styles
      44d1296 doc: andes-ae350: Fix doc styles
      a8ef0b5 doc: ariane-fpga: Fix doc styles
      82fd42f doc: qemu_virt: Fix doc styles
      f8ce996 doc: sifive_fu540: Fix doc styles
      27a5c7f doc: thead-c910: Fix doc styles
      0b41453 Revert "lib: Use __builtin_ctzl() in pmp_get()"
      c66543d lib: utils: htif: Fix 32-bit build
      bc874e3 lib: Don't check MIDELEG and MEDELEG at end of delegate_traps()
      24c3082 lib: Print interrupt and exception delegation in boot prints
      66fb729 platform: sifive: fu540: Add 32-bit specific fdt/payload addresses
      3e7d666 platform: qemu: virt: Correct the typo in config.mk
      c3b3b8f lib: Fix typo in atomic exchange functions
      3936243 lib: Use available hart mask for correct hbase value
      f8b3bb8 lib: Simplify the for-loop in sbi_ipi_send_many()
      ac5e821 include: Bump-up version to 0.6
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      bfd05e81
  11. Mar 16, 2020
  12. Mar 10, 2020
  13. Feb 02, 2020
  14. Jan 27, 2020
    • Sven Schnelle's avatar
      seabios-hppa: update to latest version · 346e78f6
      Sven Schnelle authored
      
      Helge Deller (13):
            Add PDC_MEM_MAP and ENTRY_INIT_SRCH_FRST for OSF/MkLinux
            Return non-existant BTLB for PDC_BLOCK_TLB
            Add serial, parallel and LAN port support of  LASI chip
            Implement ENTRY_IO_BBLOCK_IN IODC function
            Do not print \r on parisc SeaBIOS
            Fix serial ports and add PDC_MODEL functions for special instructions enablement
            Implement SeaBIOS returning additional addresses. Fixes HP-UX boot.
            Fix mod_pgs (number of pages) for graphic cards
            Merge pull request #3 from svenschnelle/sti
            Merge pull request #4 from svenschnelle/parisc-qemu-4.1.0
            parisc: Implement PDC rendenzvous
            parisc: Improve soft power button emulation
            parisc: Fix line wrapping in STI console code
      
      Sven Schnelle (7):
            parisc: fix PDC info for graphics adapter
            parisc: add missing header guard to hppa.h
            parisc: add LASI PS/2 emulation.
            parisc: Add STI support
            parisc: wire up graphics console
            parisc: Add support for setting STI screen resolution
            parisc: support LASI RTC register
      
      Required for STI and LASI support. Also adds a few Bugfixes.
      
      Signed-off-by: default avatarSven Schnelle <svens@stackframe.org>
      Message-Id: <20191220211512.3289-7-svens@stackframe.org>
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      346e78f6
  15. Dec 20, 2019
  16. Dec 18, 2019
  17. Dec 17, 2019
    • Alexey Kardashevskiy's avatar
      pseries: Update SLOF firmware image · a363e9ed
      Alexey Kardashevskiy authored
      
      This fixes PCI bridges support regression.
      
      This enables IOMMU support in virtio drivers.
      
      The full list of changes is:
      
      Alexey Kardashevskiy (12):
            allocator: Fix format strings for DEBUG
            virtio: Make virtio_set_qaddr static
            client: Load initramdisk location
            sloffs: Fix -Wunused-result gcc warnings in read/write
            pci-phb: Reimplement dma-map-in/out
            virtio: Store queue descriptors in virtio_device
            virtio-net: Init queues after features negotiation
            virtio: Enable IOMMU
            ibm,client-architecture-support: Fix stack handling
            fdt: Fix updating the tree at H_CAS
            version: update to 20191206
            version: update to 20191217
      
      Michael Roth (1):
            dma: Define default dma methods for using by client/package instances
      
      Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      a363e9ed
  18. Dec 09, 2019
  19. Nov 29, 2019
  20. Nov 18, 2019
    • Gerd Hoffmann's avatar
      seabios: update to pre-1.13 snapshot again · 02857477
      Gerd Hoffmann authored
      
      Due to lchs support merge in upstream seabios gone wrong (applied v3
      instead of v4) here is another seabios snapshot update with the
      mis-merge fixed up, so lchs support should actually work in -rc2.
      
      Also picked up two tpm bugfixes.
      
      git shortlog from previous snapshot
      ===================================
      
      Gerd Hoffmann (4):
            Revert "geometry: Apply LCHS values for boot devices"
            Revert "config: Add toggle for bootdevice information"
            Revert "geometry: Add boot_lchs_find_*() utility functions"
            Revert "geometry: Read LCHS from fw_cfg"
      
      Sam Eiderman (4):
            geometry: Read LCHS from fw_cfg
            boot: Build ata and scsi paths in function
            geometry: Add boot_lchs_find_*() utility functions
            geometry: Apply LCHS values for boot devices
      
      Stefan Berger (2):
            tpm: Require a response to have minimum size of a valid response header
            tcgbios: Check for enough bytes returned from TPM2_GetCapability
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      02857477
Loading