1. 20 9月, 2021 1 次提交
  2. 05 8月, 2021 1 次提交
  3. 27 7月, 2021 1 次提交
    • J
      drivers/firmware: fix SYSFB depends to prevent build failures · 71260b9a
      Javier Martinez Canillas 提交于
      The Generic System Framebuffers support is built when the COMPILE_TEST
      option is enabled. But this wrongly assumes that all the architectures
      declare a struct screen_info.
      
      This is true for most architectures, but at least the following do not:
      arc, m68k, microblaze, openrisc, parisc and s390.
      
      By attempting to make this compile testeable on all architectures, it
      leads to linking errors as reported by the kernel test robot for parisc:
      
        All errors (new ones prefixed by >>):
      
           hppa-linux-ld: drivers/firmware/sysfb.o: in function `sysfb_init':
           (.init.text+0x24): undefined reference to `screen_info'
        >> hppa-linux-ld: (.init.text+0x28): undefined reference to `screen_info'
      
      To prevent these errors only allow sysfb to be built on systems that are
      going to need it, which are x86 BIOS and EFI.
      
      The EFI Kconfig symbol is used instead of (ARM || ARM64 || RISC) because
      some of these architectures only declare a struct screen_info if EFI is
      enabled. And also, because the SYSFB code is only used for EFI on these
      architectures. For !EFI the "simple-framebuffer" device is registered by
      OF when parsing the Device Tree Blob (if a DT node for this was defined).
      
      Fixes: d391c582 ("drivers/firmware: move x86 Generic System Framebuffers support")
      Reported-by: Nkernel test robot <lkp@intel.com>
      Signed-off-by: NJavier Martinez Canillas <javierm@redhat.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210727093015.1225107-1-javierm@redhat.com
      71260b9a
  4. 21 7月, 2021 2 次提交
  5. 20 7月, 2021 1 次提交
  6. 02 6月, 2021 1 次提交
  7. 27 5月, 2021 1 次提交
  8. 10 4月, 2021 1 次提交
  9. 04 4月, 2021 1 次提交
  10. 24 3月, 2021 1 次提交
  11. 09 12月, 2020 1 次提交
  12. 23 11月, 2020 1 次提交
  13. 10 11月, 2020 1 次提交
  14. 15 10月, 2020 1 次提交
  15. 14 9月, 2020 1 次提交
  16. 18 8月, 2020 1 次提交
  17. 21 5月, 2020 1 次提交
  18. 13 5月, 2020 1 次提交
  19. 18 3月, 2020 1 次提交
  20. 08 1月, 2020 1 次提交
  21. 04 9月, 2019 2 次提交
  22. 20 7月, 2019 1 次提交
    • T
      iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND · 94bccc34
      Thomas Tai 提交于
      iscsi_ibft can use ACPI to find the iBFT entry during bootup,
      currently, ISCSI_IBFT depends on ISCSI_IBFT_FIND which is
      a X86 legacy way to find the iBFT by searching through the
      low memory. This patch changes the dependency so that other
      arch like ARM64 can use ISCSI_IBFT as long as the arch supports
      ACPI.
      
      ibft_init() needs to use the global variable ibft_addr declared
      in iscsi_ibft_find.c. A #ifndef CONFIG_ISCSI_IBFT_FIND is needed
      to declare the variable if CONFIG_ISCSI_IBFT_FIND is not selected.
      Moving ibft_addr into the iscsi_ibft.c does not work because if
      ISCSI_IBFT is selected as a module, the arch/x86/kernel/setup.c won't
      be able to find the variable at compile time.
      Signed-off-by: NThomas Tai <thomas.tai@oracle.com>
      Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      94bccc34
  23. 18 6月, 2019 1 次提交
    • A
      firmware: trusted_foundations: add ARMv7 dependency · cad47b32
      Arnd Bergmann 提交于
      The "+sec" extension is invalid for older ARM architectures, but
      the code can now be built on any ARM configuration:
      
      /tmp/trusted_foundations-2d0882.s: Assembler messages:
      /tmp/trusted_foundations-2d0882.s:194: Error: architectural extension `sec' is not allowed for the current base architecture
      /tmp/trusted_foundations-2d0882.s:201: Error: selected processor does not support `smc #0' in ARM mode
      /tmp/trusted_foundations-2d0882.s:213: Error: architectural extension `sec' is not allowed for the current base architecture
      /tmp/trusted_foundations-2d0882.s:220: Error: selected processor does not support `smc #0' in ARM mode
      
      Add a dependency on ARMv7 for the build.
      
      Fixes: 4cb5d9ec ("firmware: Move Trusted Foundations support")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      cad47b32
  24. 15 6月, 2019 1 次提交
    • M
      docs: kbuild: convert docs to ReST and rename to *.rst · cd238eff
      Mauro Carvalho Chehab 提交于
      The kbuild documentation clearly shows that the documents
      there are written at different times: some use markdown,
      some use their own peculiar logic to split sections.
      
      Convert everything to ReST without affecting too much
      the author's style and avoiding adding uneeded markups.
      
      The conversion is actually:
        - add blank lines and identation in order to identify paragraphs;
        - fix tables markups;
        - add some lists markups;
        - mark literal blocks;
        - adjust title markups.
      
      At its new index.rst, let's add a :orphan: while this is not linked to
      the main index.rst file, in order to avoid build warnings.
      Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      cd238eff
  25. 21 5月, 2019 1 次提交
  26. 17 4月, 2019 1 次提交
  27. 12 4月, 2019 1 次提交
  28. 01 2月, 2019 2 次提交
  29. 27 11月, 2018 1 次提交
    • R
      firmware: add Intel Stratix10 service layer driver · 7ca5ce89
      Richard Gong 提交于
      Some features of the Intel Stratix10 SoC require a level of privilege
      higher than the kernel is granted. Such secure features include
      FPGA programming. In terms of the ARMv8 architecture, the kernel runs
      at Exception Level 1 (EL1), access to the features requires
      Exception Level 3 (EL3).
      
      The Intel Stratix10 SoC service layer provides an in kernel API for
      drivers to request access to the secure features. The requests are queued
      and processed one by one. ARM’s SMCCC is used to pass the execution
      of the requests on to a secure monitor (EL3).
      
      The header file stratix10-sve-client.h defines the interface between
      service providers (FPGA manager is one of them) and service layer.
      
      The header file stratix10-smc.h defines the secure monitor call (SMC)
      message protocols used for service layer driver in normal world
      (EL1) to communicate with secure monitor SW in secure monitor exception
      level 3 (EL3).
      Signed-off-by: NRichard Gong <richard.gong@intel.com>
      Signed-off-by: NAlan Tull <atull@kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7ca5ce89
  30. 08 10月, 2018 1 次提交
  31. 27 9月, 2018 2 次提交
  32. 26 9月, 2018 1 次提交
  33. 01 3月, 2018 2 次提交
    • S
      firmware: arm_scmi: add device power domain support using genpd · 898216c9
      Sudeep Holla 提交于
      This patch hooks up the support for device power domain provided by
      SCMI using the Linux generic power domain infrastructure.
      
      Cc: Kevin Hilman <khilman@baylibre.com>
      Reviewed-by: NUlf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: NSudeep Holla <sudeep.holla@arm.com>
      898216c9
    • S
      firmware: arm_scmi: add basic driver infrastructure for SCMI · aa4f886f
      Sudeep Holla 提交于
      The SCMI is intended to allow OSPM to manage various functions that are
      provided by the hardware platform it is running on, including power and
      performance functions. SCMI provides two levels of abstraction, protocols
      and transports. Protocols define individual groups of system control and
      management messages. A protocol specification describes the messages
      that it supports. Transports describe the method by which protocol
      messages are communicated between agents and the platform.
      
      This patch adds basic infrastructure to manage the message allocation,
      initialisation, packing/unpacking and shared memory management.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: NSudeep Holla <sudeep.holla@arm.com>
      aa4f886f
  34. 19 1月, 2018 1 次提交
  35. 13 1月, 2018 1 次提交
    • J
      firmware: arm_sdei: Add driver for Software Delegated Exceptions · ad6eb31e
      James Morse 提交于
      The Software Delegated Exception Interface (SDEI) is an ARM standard
      for registering callbacks from the platform firmware into the OS.
      This is typically used to implement firmware notifications (such as
      firmware-first RAS) or promote an IRQ that has been promoted to a
      firmware-assisted NMI.
      
      Add the code for detecting the SDEI version and the framework for
      registering and unregistering events. Subsequent patches will add the
      arch-specific backend code and the necessary power management hooks.
      
      Only shared events are supported, power management, private events and
      discovery for ACPI systems will be added by later patches.
      Signed-off-by: NJames Morse <james.morse@arm.com>
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      ad6eb31e