1. 07 9月, 2020 8 次提交
  2. 31 8月, 2020 25 次提交
    • S
      arm64: dts: ti: k3-am65: restrict PCIe to Gen2 speed · 269a5641
      Sekhar Nori 提交于
      Per errata i2104 documented in AM65x device errata document (TI document
      number SPRZ452E, revised June 2019), Gen3 operation is not supported for
      both PCIe Root Complex and Endpoint modes of operation.
      
      See: https://www.ti.com/lit/er/sprz452e/sprz452e.pdf
      
      Restrict speed to Gen2 to address the errata.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Link: https://lore.kernel.org/r/20200802165356.10285-1-nsekhar@ti.com
      269a5641
    • S
      arm64: dts: ti: k3-j721e-som-p0: Reserve memory for IPC between RTOS cores · 67cfbb62
      Suman Anna 提交于
      Add a reserved memory node to reserve a portion of the DDR memory to be
      used for performing inter-processor communication between all the remote
      processors running RTOS on the TI J721E EVM boards. 28 MB of memory is
      reserved for this purpose, and this accounts for all the vrings and vring
      buffers between all the possible pairs of remote processors.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20200825172145.13186-9-s-anna@ti.com
      67cfbb62
    • S
      arm64: dts: ti: k3-j721e-som-p0: Add DDR carveout memory nodes for C71x DSP · 1939d37f
      Suman Anna 提交于
      Two carveout reserved memory nodes have been added for the lone C71x DSP
      remote processor device present within the MAIN voltage domain for the TI
      J721E EVM boards. These nodes are assigned to the respective rproc device
      node as well. The first region will be used as the DMA pool for the rproc
      device, and the second region will furnish the static carveout regions for
      the firmware memory.
      
      The current carveout addresses and sizes are defined statically for each
      device. The C71x DSP processor does support a MMU called CMMU, but is not
      currently supported and as such requires the exact memory used by the
      firmware to be set-aside. The firmware images currently do not need any
      RSC_CARVEOUT entries either in their resource tables to allocate the
      memory for firmware memory segments.
      
      The reserved memory nodes can be disabled later on if there is no use-case
      defined to use the C71x DSP remoteproc processor.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20200825172145.13186-8-s-anna@ti.com
      1939d37f
    • S
      arm64: dts: ti: k3-j721e-som-p0: Add mailboxes to C71x DSP · cf53928f
      Suman Anna 提交于
      Add the required 'mboxes' property to the C71x DSP processor for the TI
      J721E common processor board. The mailboxes and some shared memory are
      required for running the Remote Processor Messaging (RPMsg) stack between
      the host processor and each of the DSPs. The nodes are therefore added
      in the common k3-j721e-som-p0.dtsi file so that all of these can be
      co-located.
      
      The chosen sub-mailboxes match the values used in the current firmware
      images. This can be changed, if needed, as per the system integration
      needs after making appropriate changes on the firmware side as well.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20200825172145.13186-7-s-anna@ti.com
      cf53928f
    • S
      arm64: dts: ti: k3-j721e-main: Add C71x DSP node · 804a4cc7
      Suman Anna 提交于
      The J721E SoCs have a single TMS320C71x DSP Subsystem in the MAIN
      voltage domain containing the next-generation C711 CPU core. The
      subsystem has 32 KB of L1D configurable SRAM/Cache and 512 KB of
      L2 configurable SRAM/Cache. This subsystem has a CMMU but is not
      used currently. The inter-processor communication between the main
      A72 cores and the C711 processor is achieved through shared memory
      and a Mailbox. Add the DT node for this DSP processor sub-system
      in the common k3-j721e-main.dtsi file.
      
      The following firmware name is used by default for the C71x core,
      and can be overridden in a board dts file if desired:
          C71x_0 DSP: j7-c71_0-fw
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20200825172145.13186-6-s-anna@ti.com
      804a4cc7
    • S
      arm64: dts: ti: k3-j721e-som-p0: Add DDR carveout memory nodes for C66 DSPs · e379ba84
      Suman Anna 提交于
      Two carveout reserved memory nodes each have been added for each of the
      C66x DSP remote processor devices present within the MAIN voltage domain
      for the TI J721E EVM boards. These nodes are assigned to the respective
      rproc device nodes as well. The first region will be used as the DMA pool
      for the rproc devices, and the second region will furnish the static
      carveout regions for the firmware memory.
      
      The minimum granularity on the Cache settings on C66x DSP cores is 16 MB,
      so the DMA memory regions are chosen such that they are in separate 16 MB
      regions for each DSP, while reserving a total of 16 MB for each DSP and
      not changing the overall DSP remoteproc carveouts.
      
      The current carveout addresses and sizes are defined statically for each
      device. The C66x DSP processors do not have an MMU, and as such require the
      exact memory used by the firmwares to be set-aside. The firmware images
      do not require any RSC_CARVEOUT entries in their resource tables to
      allocate the memory for firmware memory segments.
      
      The reserved memory nodes can be disabled later on if there is no use-case
      defined to use the corresponding remote processor.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20200825172145.13186-5-s-anna@ti.com
      e379ba84
    • S
      arm64: dts: ti: k3-j721e-som-p0: Add mailboxes to C66x DSPs · a55babbf
      Suman Anna 提交于
      Add the required 'mboxes' property to both the C66x DSP processors for the
      TI J721E common processor board. The mailboxes and some shared memory are
      required for running the Remote Processor Messaging (RPMsg) stack between
      the host processor and each of the DSPs. The nodes are therefore added
      in the common k3-j721e-som-p0.dtsi file so that all of these can be
      co-located.
      
      The chosen sub-mailboxes match the values used in the current firmware
      images. This can be changed, if needed, as per the system integration
      needs after making appropriate changes on the firmware side as well.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20200825172145.13186-4-s-anna@ti.com
      a55babbf
    • S
      arm64: dts: ti: k3-j721e-main: Add C66x DSP nodes · eb9a2a63
      Suman Anna 提交于
      The J721E SoCs have two TMS320C66x DSP Core Subsystems (C66x CorePacs)
      in the MAIN voltage domain, each with a C66x Fixed/Floating-Point DSP
      Core, and 32 KB of L1P & L1D configurable SRAMs/Cache and an additional
      288 KB of L2 configurable SRAM/Cache. These subsystems do not have
      an MMU but contain a Region Address Translator (RAT) sub-module for
      translating 32-bit processor addresses into larger bus addresses.
      The inter-processor communication between the main A72 cores and
      these processors is achieved through shared memory and Mailboxes.
      Add the DT nodes for these DSP processor sub-systems in the common
      k3-j721e-main.dtsi file.
      
      The following firmware names are used by default for these cores, and
      can be overridden in a board dts file if desired:
          C66x_0 DSP: j7-c66_0-fw
          C66x_1 DSP: j7-c66_1-fw
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20200825172145.13186-3-s-anna@ti.com
      eb9a2a63
    • S
      arm64: dts: ti: k3-j721e-som-p0: Move mailbox nodes from board dts file · 74b5742b
      Suman Anna 提交于
      The commit eb9f9173 ("arm64: dts: ti: k3-j721e-common-proc-board:
      Add IPC sub-mailbox nodes") has added the sub-mailbox nodes used by
      various remote processors and disabled the unused mailbox clusters
      directly in the k3-j721e-common-proc-board dts file. Move all of these
      nodes into the k3-j721e-som-p0.dtsi file instead to co-locate all the
      mailboxes and the soon to be added DDR reserved-memory carveout nodes
      used by remoteprocs within the same dtsi file.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20200825172145.13186-2-s-anna@ti.com
      74b5742b
    • K
      arm64: dts: ti: k3-j721e-main: Add crypto accelerator node · 8ebcaaae
      Keerthy 提交于
      Add crypto accelarator node for supporting hardware crypto algorithms,
      including SHA1, SHA256, SHA512, AES, 3DES, and AEAD suites.
      
      [t-kristo@ti.com: Modifications based on introduction of yaml binding]
      Signed-off-by: NKeerthy <j-keerthy@ti.com>
      Signed-off-by: NTero Kristo <t-kristo@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Link: https://lore.kernel.org/r/20200826082921.19143-3-t-kristo@ti.com
      8ebcaaae
    • K
      arm64: dts: ti: k3-am6: Add crypto accelarator node · b366b240
      Keerthy 提交于
      Add crypto accelarator node for supporting hardware crypto algorithms,
      including SHA1, SHA256, SHA512, AES, 3DES, and AEAD suites.
      
      [t-kristo@ti.com: Modifications based on introduction of yaml binding]
      Signed-off-by: NKeerthy <j-keerthy@ti.com>
      Signed-off-by: NTero Kristo <t-kristo@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Link: https://lore.kernel.org/r/20200826082921.19143-2-t-kristo@ti.com
      b366b240
    • S
      arm64: dts: ti: k3-j721e: Fix interconnect node names · 995504b6
      Suman Anna 提交于
      The various CBASS interconnect nodes on K3 J721E SoCs are defined
      using the node name "interconnect". This is not a valid node name
      as per the dt-schema. Fix these node names to use the standard name
      used for SoC interconnects, "bus".
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20200723211137.26641-3-s-anna@ti.com
      995504b6
    • S
      arm64: dts: ti: k3-am65: Fix interconnect node names · 93b72bfa
      Suman Anna 提交于
      The various CBASS interconnect nodes on K3 AM65x SoCs are defined
      using the node name "interconnect". This is not a valid node name
      as per the dt-schema. Fix these node names to use the standard name
      used for SoC interconnects, "bus".
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20200723211137.26641-2-s-anna@ti.com
      93b72bfa
    • L
      Linux 5.9-rc3 · f75aef39
      Linus Torvalds 提交于
      f75aef39
    • L
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · e43327c7
      Linus Torvalds 提交于
      Pull crypto fixes from Herbert Xu:
      
       - fix regression in af_alg that affects iwd
      
       - restore polling delay in qat
      
       - fix double free in ingenic on error path
      
       - fix potential build failure in sa2ul due to missing Kconfig dependency
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        crypto: af_alg - Work around empty control messages without MSG_MORE
        crypto: sa2ul - add Kconfig selects to fix build error
        crypto: ingenic - Drop kfree for memory allocated with devm_kzalloc
        crypto: qat - add delay before polling mailbox
      e43327c7
    • L
      Merge tag 'x86-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · dcc5c6f0
      Linus Torvalds 提交于
      Pull x86 fixes from Thomas Gleixner:
       "Three interrupt related fixes for X86:
      
         - Move disabling of the local APIC after invoking fixup_irqs() to
           ensure that interrupts which are incoming are noted in the IRR and
           not ignored.
      
         - Unbreak affinity setting.
      
           The rework of the entry code reused the regular exception entry
           code for device interrupts. The vector number is pushed into the
           errorcode slot on the stack which is then lifted into an argument
           and set to -1 because that's regs->orig_ax which is used in quite
           some places to check whether the entry came from a syscall.
      
           But it was overlooked that orig_ax is used in the affinity cleanup
           code to validate whether the interrupt has arrived on the new
           target. It turned out that this vector check is pointless because
           interrupts are never moved from one vector to another on the same
           CPU. That check is a historical leftover from the time where x86
           supported multi-CPU affinities, but not longer needed with the now
           strict single CPU affinity. Famous last words ...
      
         - Add a missing check for an empty cpumask into the matrix allocator.
      
           The affinity change added a warning to catch the case where an
           interrupt is moved on the same CPU to a different vector. This
           triggers because a condition with an empty cpumask returns an
           assignment from the allocator as the allocator uses for_each_cpu()
           without checking the cpumask for being empty. The historical
           inconsistent for_each_cpu() behaviour of ignoring the cpumask and
           unconditionally claiming that CPU0 is in the mask struck again.
           Sigh.
      
        plus a new entry into the MAINTAINER file for the HPE/UV platform"
      
      * tag 'x86-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        genirq/matrix: Deal with the sillyness of for_each_cpu() on UP
        x86/irq: Unbreak interrupt affinity setting
        x86/hotplug: Silence APIC only after all interrupts are migrated
        MAINTAINERS: Add entry for HPE Superdome Flex (UV) maintainers
      dcc5c6f0
    • L
      Merge tag 'irq-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · d2283cdc
      Linus Torvalds 提交于
      Pull irq fixes from Thomas Gleixner:
       "A set of fixes for interrupt chip drivers:
      
         - Revert the platform driver conversion of interrupt chip drivers as
           it turned out to create more problems than it solves.
      
         - Fix a trivial typo in the new module helpers which made probing
           reliably fail.
      
         - Small fixes in the STM32 and MIPS Ingenic drivers
      
         - The TI firmware rework which had badly managed dependencies and had
           to wait post rc1"
      
      * tag 'irq-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        irqchip/ingenic: Leave parent IRQ unmasked on suspend
        irqchip/stm32-exti: Avoid losing interrupts due to clearing pending bits by mistake
        irqchip: Revert modular support for drivers using IRQCHIP_PLATFORM_DRIVER helperse
        irqchip: Fix probing deferal when using IRQCHIP_PLATFORM_DRIVER helpers
        arm64: dts: k3-am65: Update the RM resource types
        arm64: dts: k3-am65: ti-sci-inta/intr: Update to latest bindings
        arm64: dts: k3-j721e: ti-sci-inta/intr: Update to latest bindings
        irqchip/ti-sci-inta: Add support for INTA directly connecting to GIC
        irqchip/ti-sci-inta: Do not store TISCI device id in platform device id field
        dt-bindings: irqchip: Convert ti, sci-inta bindings to yaml
        dt-bindings: irqchip: ti, sci-inta: Update docs to support different parent.
        irqchip/ti-sci-intr: Add support for INTR being a parent to INTR
        dt-bindings: irqchip: Convert ti, sci-intr bindings to yaml
        dt-bindings: irqchip: ti, sci-intr: Update bindings to drop the usage of gic as parent
        firmware: ti_sci: Add support for getting resource with subtype
        firmware: ti_sci: Drop unused structure ti_sci_rm_type_map
        firmware: ti_sci: Drop the device id to resource type translation
      d2283cdc
    • L
      Merge tag 'sched-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 0063a82d
      Linus Torvalds 提交于
      Pull scheduler fix from Thomas Gleixner:
       "A single fix for the scheduler:
      
         - Make is_idle_task() __always_inline to prevent the compiler from
           putting it out of line into the wrong section because it's used
           inside noinstr sections"
      
      * tag 'sched-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched: Use __always_inline on is_idle_task()
      0063a82d
    • L
      Merge tag 'locking-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · b69bea8a
      Linus Torvalds 提交于
      Pull locking fixes from Thomas Gleixner:
       "A set of fixes for lockdep, tracing and RCU:
      
         - Prevent recursion by using raw_cpu_* operations
      
         - Fixup the interrupt state in the cpu idle code to be consistent
      
         - Push rcu_idle_enter/exit() invocations deeper into the idle path so
           that the lock operations are inside the RCU watching sections
      
         - Move trace_cpu_idle() into generic code so it's called before RCU
           goes idle.
      
         - Handle raw_local_irq* vs. local_irq* operations correctly
      
         - Move the tracepoints out from under the lockdep recursion handling
           which turned out to be fragile and inconsistent"
      
      * tag 'locking-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        lockdep,trace: Expose tracepoints
        lockdep: Only trace IRQ edges
        mips: Implement arch_irqs_disabled()
        arm64: Implement arch_irqs_disabled()
        nds32: Implement arch_irqs_disabled()
        locking/lockdep: Cleanup
        x86/entry: Remove unused THUNKs
        cpuidle: Move trace_cpu_idle() into generic code
        cpuidle: Make CPUIDLE_FLAG_TLB_FLUSHED generic
        sched,idle,rcu: Push rcu_idle deeper into the idle path
        cpuidle: Fixup IRQ state
        lockdep: Use raw_cpu_*() for per-cpu variables
      b69bea8a
    • L
      Merge tag '5.9-rc2-smb-fix' of git://git.samba.org/sfrench/cifs-2.6 · 3edd8db2
      Linus Torvalds 提交于
      Pull cfis fix from Steve French:
       "DFS fix for referral problem when using SMB1"
      
      * tag '5.9-rc2-smb-fix' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: fix check of tcon dfs in smb1
      3edd8db2
    • L
      Merge tag 'powerpc-5.9-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 8bb5021c
      Linus Torvalds 提交于
      Pull powerpc fixes from Michael Ellerman:
      
       - Revert our removal of PROT_SAO, at least one user expressed an
         interest in using it on Power9. Instead don't allow it to be used in
         guests unless enabled explicitly at compile time.
      
       - A fix for a crash introduced by a recent change to FP handling.
      
       - Revert a change to our idle code that left Power10 with no idle
         support.
      
       - One minor fix for the new scv system call path to set PPR.
      
       - Fix a crash in our "generic" PMU if branch stack events were enabled.
      
       - A fix for the IMC PMU, to correctly identify host kernel samples.
      
       - The ADB_PMU powermac code was found to be incompatible with
         VMAP_STACK, so make them incompatible in Kconfig until the code can
         be fixed.
      
       - A build fix in drivers/video/fbdev/controlfb.c, and a documentation
         fix.
      
      Thanks to Alexey Kardashevskiy, Athira Rajeev, Christophe Leroy,
      Giuseppe Sacco, Madhavan Srinivasan, Milton Miller, Nicholas Piggin,
      Pratik Rajesh Sampat, Randy Dunlap, Shawn Anastasio, Vaidyanathan
      Srinivasan.
      
      * tag 'powerpc-5.9-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/32s: Disable VMAP stack which CONFIG_ADB_PMU
        Revert "powerpc/powernv/idle: Replace CPU feature check with PVR check"
        powerpc/perf: Fix reading of MSR[HV/PR] bits in trace-imc
        powerpc/perf: Fix crashes with generic_compat_pmu & BHRB
        powerpc/64s: Fix crash in load_fp_state() due to fpexc_mode
        powerpc/64s: scv entry should set PPR
        Documentation/powerpc: fix malformed table in syscall64-abi
        video: fbdev: controlfb: Fix build for COMPILE_TEST=y && PPC_PMAC=n
        selftests/powerpc: Update PROT_SAO test to skip ISA 3.1
        powerpc/64s: Disallow PROT_SAO in LPARs by default
        Revert "powerpc/64s: Remove PROT_SAO support"
      8bb5021c
    • L
      Merge tag 'usb-5.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 6f0306d1
      Linus Torvalds 提交于
      Pull USB fixes from Greg KH:
       "Let's try this again...  Here are some USB fixes for 5.9-rc3.
      
        This differs from the previous pull request for this release in that
        the usb gadget patch now does not break some systems, and actually
        does what it was intended to do. Many thanks to Marek Szyprowski for
        quickly noticing and testing the patch from Andy Shevchenko to resolve
        this issue.
      
        Additionally, some more new USB quirks have been added to get some new
        devices to work properly based on user reports.
      
        Other than that, the patches are all here, and they contain:
      
         - usb gadget driver fixes
      
         - xhci driver fixes
      
         - typec fixes
      
         - new quirks and ids
      
         - fixes for USB patches that went into 5.9-rc1.
      
        All of these have been tested in linux-next with no reported issues"
      
      * tag 'usb-5.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (33 commits)
        usb: storage: Add unusual_uas entry for Sony PSZ drives
        USB: Ignore UAS for JMicron JMS567 ATA/ATAPI Bridge
        usb: host: ohci-exynos: Fix error handling in exynos_ohci_probe()
        USB: gadget: u_f: Unbreak offset calculation in VLAs
        USB: quirks: Ignore duplicate endpoint on Sound Devices MixPre-D
        usb: typec: tcpm: Fix Fix source hard reset response for TDA 2.3.1.1 and TDA 2.3.1.2 failures
        USB: PHY: JZ4770: Fix static checker warning.
        USB: gadget: f_ncm: add bounds checks to ncm_unwrap_ntb()
        USB: gadget: u_f: add overflow checks to VLA macros
        xhci: Always restore EP_SOFT_CLEAR_TOGGLE even if ep reset failed
        xhci: Do warm-reset when both CAS and XDEV_RESUME are set
        usb: host: xhci: fix ep context print mismatch in debugfs
        usb: uas: Add quirk for PNY Pro Elite
        tools: usb: move to tools buildsystem
        USB: Fix device driver race
        USB: Also match device drivers using the ->match vfunc
        usb: host: xhci-tegra: fix tegra_xusb_get_phy()
        usb: host: xhci-tegra: otg usb2/usb3 port init
        usb: hcd: Fix use after free in usb_hcd_pci_remove()
        usb: typec: ucsi: Hold con->lock for the entire duration of ucsi_register_port()
        ...
      6f0306d1
    • L
      Merge tag 'edac_urgent_for_v5.9_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras · 42df60fc
      Linus Torvalds 提交于
      Pull EDAC fix from Borislav Petkov:
       "A fix to properly clear ghes_edac driver state on driver remove so
        that a subsequent load can probe the system properly (Shiju Jose)"
      
      * tag 'edac_urgent_for_v5.9_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
        EDAC/ghes: Fix NULL pointer dereference in ghes_edac_register()
      42df60fc
    • L
      Merge tag 'dma-mapping-5.9-2' of git://git.infradead.org/users/hch/dma-mapping · c4011283
      Linus Torvalds 提交于
      Pull dma-mapping fix from Christoph Hellwig:
       "Fix a possibly uninitialized variable (Dan Carpenter)"
      
      * tag 'dma-mapping-5.9-2' of git://git.infradead.org/users/hch/dma-mapping:
        dma-pool: Fix an uninitialized variable bug in atomic_pool_expand()
      c4011283
    • T
      genirq/matrix: Deal with the sillyness of for_each_cpu() on UP · 784a0830
      Thomas Gleixner 提交于
      Most of the CPU mask operations behave the same way, but for_each_cpu() and
      it's variants ignore the cpumask argument and claim that CPU0 is always in
      the mask. This is historical, inconsistent and annoying behaviour.
      
      The matrix allocator uses for_each_cpu() and can be called on UP with an
      empty cpumask. The calling code does not expect that this succeeds but
      until commit e027ffff ("x86/irq: Unbreak interrupt affinity setting")
      this went unnoticed. That commit added a WARN_ON() to catch cases which
      move an interrupt from one vector to another on the same CPU. The warning
      triggers on UP.
      
      Add a check for the cpumask being empty to prevent this.
      
      Fixes: 2f75d9e1 ("genirq: Implement bitmap matrix allocator")
      Reported-by: Nkernel test robot <rong.a.chen@intel.com>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: stable@vger.kernel.org
      784a0830
  3. 30 8月, 2020 6 次提交
  4. 29 8月, 2020 1 次提交