1. 30 Dec, 2020 1 commit
    • Tony Lindgren's avatar
      soc: ti: omap-prm: Fix boot time errors for rst_map_012 bits 0 and 1 · 7078a5ba
      Tony Lindgren authored
      We have rst_map_012 used for various accelerators like dsp, ipu and iva.
      For these use cases, we have rstctrl bit 2 control the subsystem module
      reset, and have and bits 0 and 1 control the accelerator specific
      features.
      
      If the bootloader, or kexec boot, has left any accelerator specific
      reset bits deasserted, deasserting bit 2 reset will potentially enable
      an accelerator with unconfigured MMU and no firmware. And we may get
      spammed with a lot by warnings on boot with "Data Access in User mode
      during Functional access", or depending on the accelerator, the system
      can also just hang.
      
      This issue can be quite easily reproduced by setting a rst_map_012 type
      rstctrl register to 0 or 4 in the bootloader, and booting the system.
      
      Let's just assert all reset bits for rst_map_012 type resets. So far
      it looks like the other rstctrl types don't need this. If it turns out
      that the other type rstctrl bits also need reset on init, we need to
      add an instance specific reset mask for the bits to avoid resetting
      unwanted bits.
      Reported-by: default avatarCarl Philipp Klemm <philipp@uvos.xyz>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Cc: Santosh Shilimkar <ssantosh@kernel.org>
      Cc: Suman Anna <s-anna@ti.com>
      Cc: Tero Kristo <t-kristo@ti.com>
      Tested-by: default avatarCarl Philipp Klemm <philipp@uvos.xyz>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      7078a5ba
  2. 18 Dec, 2020 3 commits
  3. 13 Dec, 2020 3 commits
    • Linus Torvalds's avatar
      Linux 5.10 · 2c85ebc5
      Linus Torvalds authored
      2c85ebc5
    • Linus Torvalds's avatar
      Merge tag 'x86-urgent-2020-12-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ec6f5e0e
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "A set of x86 and membarrier fixes:
      
         - Correct a few problems in the x86 and the generic membarrier
           implementation. Small corrections for assumptions about visibility
           which have turned out not to be true.
      
         - Make the PAT bits for memory encryption correct vs 4K and 2M/1G
           page table entries as they are at a different location.
      
         - Fix a concurrency issue in the the local bandwidth readout of
           resource control leading to incorrect values
      
         - Fix the ordering of allocating a vector for an interrupt. The order
           missed to respect the provided cpumask when the first attempt of
           allocating node local in the mask fails. It then tries the node
           instead of trying the full provided mask first. This leads to
           erroneous error messages and breaking the (user) supplied affinity
           request. Reorder it.
      
         - Make the INT3 padding detection in optprobe work correctly"
      
      * tag 'x86-urgent-2020-12-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/kprobes: Fix optprobe to detect INT3 padding correctly
        x86/apic/vector: Fix ordering in vector assignment
        x86/resctrl: Fix incorrect local bandwidth when mba_sc is enabled
        x86/mm/mem_encrypt: Fix definition of PMD_FLAGS_DEC_WP
        membarrier: Execute SYNC_CORE on the calling thread
        membarrier: Explicitly sync remote cores when SYNC_CORE is requested
        membarrier: Add an actual barrier before rseq_preempt()
        x86/membarrier: Get rid of a dubious optimization
      ec6f5e0e
    • Linus Torvalds's avatar
      Merge tag 'block-5.10-2020-12-12' of git://git.kernel.dk/linux-block · d2360a39
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "This should be it for 5.10.
      
        Mike and Song looked into the warning case, and thankfully it appears
        the fix was pretty trivial - we can just change the md device chunk
        type to unsigned int to get rid of it. They cannot currently be < 0,
        and nobody is checking for that either.
      
        We're reverting the discard changes as the corruption reports came in
        very late, and there's just no time to attempt to deal with it at this
        point. Reverting the changes in question is the right call for 5.10"
      
      * tag 'block-5.10-2020-12-12' of git://git.kernel.dk/linux-block:
        md: change mddev 'chunk_sectors' from int to unsigned
        Revert "md: add md_submit_discard_bio() for submitting discard bio"
        Revert "md/raid10: extend r10bio devs to raid disks"
        Revert "md/raid10: pull codes that wait for blocked dev into one function"
        Revert "md/raid10: improve raid10 discard request"
        Revert "md/raid10: improve discard request for far layout"
        Revert "dm raid: remove unnecessary discard limits for raid10"
      d2360a39
  4. 12 Dec, 2020 12 commits
  5. 11 Dec, 2020 21 commits