Skip to content
Snippets Groups Projects
  1. Jan 20, 2025
  2. Jan 19, 2025
    • Linus Torvalds's avatar
      Linux 6.13 · ffd294d3
      Linus Torvalds authored
      ffd294d3
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9528d418
      Linus Torvalds authored
      Pull x86 fixes from Borislav Petkov:
      
       - Mark serialize() noinstr so that it can be used from instrumentation-
         free code
      
       - Make sure FRED's RSP0 MSR is synchronized with its corresponding
         per-CPU value in order to avoid double faults in hotplug scenarios
      
       - Disable EXECMEM_ROX on x86 for now because it didn't receive proper
         x86 maintainers review, went in and broke a bunch of things
      
      * tag 'x86_urgent_for_v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/asm: Make serialize() always_inline
        x86/fred: Fix the FRED RSP0 MSR out of sync with its per-CPU cache
        x86: Disable EXECMEM_ROX support
      9528d418
    • Linus Torvalds's avatar
      Merge tag 'timers_urgent_for_v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 25144ea3
      Linus Torvalds authored
      Pull timer fixes from Borislav Petkov:
      
       - Reset hrtimers correctly when a CPU hotplug state traversal happens
         "half-ways" and leaves hrtimers not (re-)initialized properly
      
       - Annotate accesses to a timer group's ignore flag to prevent KCSAN
         from raising data_race warnings
      
       - Make sure timer group initialization is visible to timer tree walkers
         and avoid a hypothetical race
      
       - Fix another race between CPU hotplug and idle entry/exit where timers
         on a fully idle system are getting ignored
      
       - Fix a case where an ignored signal is still being handled which it
         shouldn't be
      
      * tag 'timers_urgent_for_v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        hrtimers: Handle CPU state correctly on hotplug
        timers/migration: Annotate accesses to ignore flag
        timers/migration: Enforce group initialization visibility to tree walkers
        timers/migration: Fix another race between hotplug and idle entry/exit
        signal/posixtimers: Handle ignore/blocked sequences correctly
      25144ea3
    • Linus Torvalds's avatar
      Merge tag 'irq_urgent_for_v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · b031457a
      Linus Torvalds authored
      Pull irq fixes from Borislav Petkov:
      
       - Fix an OF node leak in irqchip init's error handling path
      
       - Fix sunxi systems to wake up from suspend with an NMI by
         pressing the power button
      
       - Do not spuriously enable interrupts in gic-v3 in a nested
         interrupts-off section
      
       - Make sure gic-v3 handles properly a failure to enter a
         low power state
      
      * tag 'irq_urgent_for_v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        irqchip: Plug a OF node reference leak in platform_irqchip_probe()
        irqchip/sunxi-nmi: Add missing SKIP_WAKE flag
        irqchip/gic-v3-its: Don't enable interrupts in its_irq_set_vcpu_affinity()
        irqchip/gic-v3: Handle CPU_PM_ENTER_FAILED correctly
      b031457a
    • Linus Torvalds's avatar
      Merge tag 'sched_urgent_for_v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 8ff6d472
      Linus Torvalds authored
      Pull scheduler fixes from Borislav Petkov:
      
       - Do not adjust the weight of empty group entities and avoid
         scheduling artifacts
      
       - Avoid scheduling lag by computing lag properly and thus address
         an EEVDF entity placement issue
      
      * tag 'sched_urgent_for_v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched/fair: Fix update_cfs_group() vs DELAY_DEQUEUE
        sched/fair: Fix EEVDF entity placement bug causing scheduling lag
      8ff6d472
  3. Jan 18, 2025
    • Linus Torvalds's avatar
      Merge tag 'trace-v6.13-rc7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · fda5e3f2
      Linus Torvalds authored
      Pull tracing fix from Steven Rostedt:
       "Fix regression in GFP output in trace events
      
        It was reported that the GFP flags in trace events went from human
        readable to just their hex values:
      
            gfp_flags=GFP_HIGHUSER_MOVABLE|__GFP_COMP to gfp_flags=0x140cca
      
        This was caused by a change that added the use of enums in calculating
        the GFP flags.
      
        As defines get translated into their values in the trace event format
        files, the user space tooling could easily convert the GFP flags into
        their symbols via the __print_flags() helper macro.
      
        The problem is that enums do not get converted, and the names of the
        enums show up in the format files and user space tooling cannot
        translate them.
      
        Add TRACE_DEFINE_ENUM() around the enums used for GFP flags which is
        the tracing infrastructure macro that informs the tracing subsystem
        what the values for enums and it can then expose that to user space"
      
      * tag 'trace-v6.13-rc7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        tracing: gfp: Fix the GFP enum values shown for user space tracing tools
      fda5e3f2
  4. Jan 17, 2025
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-6.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 59552394
      Linus Torvalds authored
      Pull devicetree fixes from Rob Herring:
       "Another fix and testcase to avoid the newly added WARN in the case of
        non-translatable addresses"
      
      * tag 'devicetree-fixes-for-6.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        of/address: Fix WARN when attempting translating non-translatable addresses
        of/unittest: Add test that of_address_to_resource() fails on non-translatable address
      59552394
    • Linus Torvalds's avatar
      Merge tag 'soc-fixes-6.13-4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · ed9add2b
      Linus Torvalds authored
      Pull SoC fixes from Arnd Bergmann:
       "Two last minute fixes: one build issue on TI soc drivers, and a
        regression in the renesas reset controller driver"
      
      * tag 'soc-fixes-6.13-4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        soc: ti: pruss: Fix pruss APIs
        reset: rzg2l-usbphy-ctrl: Assign proper of node to the allocated device
      ed9add2b
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v6.13-6' of... · 775a15ea
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v6.13-6' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
      
      Pull x86 platform driver fixes from Ilpo Järvinen:
      
       - dell-uart-backlight: Fix serdev race
      
       - lenovo-yoga-tab2-pro-1380-fastcharger: Fix serdev race
      
      * tag 'platform-drivers-x86-v6.13-6' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
        platform/x86: lenovo-yoga-tab2-pro-1380-fastcharger: fix serdev race
        platform/x86: dell-uart-backlight: fix serdev race
      775a15ea
    • Linus Torvalds's avatar
      Merge tag 'mtd/fixes-for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux · 42f38ccb
      Linus Torvalds authored
      Pull mtd revert from Miquel Raynal:
       "Very late this cycle we identified a breakage that could potentially
        hit several spi controller drivers because of a change in the way the
        dummy cycles validity is checked.
      
        We do not know at the moment how to handle the situation properly, so
        we prefer to revert the faulty patch for the next release"
      
      * tag 'mtd/fixes-for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux:
        Revert "mtd: spi-nor: core: replace dummy buswidth from addr to data"
      42f38ccb
    • Steven Rostedt's avatar
      tracing: gfp: Fix the GFP enum values shown for user space tracing tools · 60295b94
      Steven Rostedt authored
      Tracing tools like perf and trace-cmd read the /sys/kernel/tracing/events/*/*/format
      files to know how to parse the data and also how to print it. For the
      "print fmt" portion of that file, if anything uses an enum that is not
      exported to the tracing system, user space will not be able to parse it.
      
      The GFP flags use to be defines, and defines get translated in the print
      fmt sections. But now they are converted to use enums, which is not.
      
      The mm_page_alloc trace event format use to have:
      
        print fmt: "page=%p pfn=0x%lx order=%d migratetype=%d gfp_flags=%s",
          REC->pfn != -1UL ? (((struct page *)vmemmap_base) + (REC->pfn)) : ((void
          *)0), REC->pfn != -1UL ? REC->pfn : 0, REC->order, REC->migratetype,
          (REC->gfp_flags) ? __print_flags(REC->gfp_flags, "|", {( unsigned
          long)(((((((( gfp_t)(0x400u|0x800u)) | (( gfp_t)0x40u) | (( gfp_t)0x80u) |
          (( gfp_t)0x100000u)) | (( gfp_t)0x02u)) | (( gfp_t)0x08u) | (( gfp_t)0)) |
          (( gfp_t)0x40000u) | (( gfp_t)0x80000u) | (( gfp_t)0x2000u)) & ~((
          gfp_t)(0x400u|0x800u))) | (( gfp_t)0x400u)), "GFP_TRANSHUGE"}, {( unsigned
          long)((((((( gfp_t)(0x400u|0x800u)) | (( gfp_t)0x40u) | (( gfp_t)0x80u) |
          (( gfp_t)0x100000u)) | (( gfp_t)0x02u)) | (( gfp_t)0x08u) | (( gfp_t)0)) ...
      
      Where the GFP values are shown and not their names. But after the GFP
      flags were converted to use enums, it has:
      
        print fmt: "page=%p pfn=0x%lx order=%d migratetype=%d gfp_flags=%s",
          REC->pfn != -1UL ? (vmemmap + (REC->pfn)) : ((void *)0), REC->pfn != -1UL
          ? REC->pfn : 0, REC->order, REC->migratetype, (REC->gfp_flags) ?
          __print_flags(REC->gfp_flags, "|", {( unsigned long)((((((((
          gfp_t)(((((1UL))) << (___GFP_DIRECT_RECLAIM_BIT))|((((1UL))) <<
          (___GFP_KSWAPD_RECLAIM_BIT)))) | (( gfp_t)((((1UL))) << (___GFP_IO_BIT)))
          | (( gfp_t)((((1UL))) << (___GFP_FS_BIT))) | (( gfp_t)((((1UL))) <<
          (___GFP_HARDWALL_BIT)))) | (( gfp_t)((((1UL))) << (___GFP_HIGHMEM_BIT))))
          | (( gfp_t)((((1UL))) << (___GFP_MOVABLE_BIT))) | (( gfp_t)0)) | ((
          gfp_t)((((1UL))) << (___GFP_COMP_BIT))) ...
      
      Where the enums names like ___GFP_KSWAPD_RECLAIM_BIT are shown and not their
      values. User space has no way to convert these names to their values and
      the output will fail to parse. What is shown is now:
      
        mm_page_alloc:  page=0xffffffff981685f3 pfn=0x1d1ac1 order=0 migratetype=1 gfp_flags=0x140cca
      
      The TRACE_DEFINE_ENUM() macro was created to handle enums in the print fmt
      files. This causes them to be replaced at boot up with the numbers, so
      that user space tooling can parse it. By using this macro, the output is
      back to the human readable:
      
        mm_page_alloc: page=0xffffffff981685f3 pfn=0x122233 order=0 migratetype=1 gfp_flags=GFP_HIGHUSER_MOVABLE|__GFP_COMP
      
      Cc: stable@vger.kernel.org
      Cc: Masami Hiramatsu <mhiramat@kernel.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Veronika  Molnarova <vmolnaro@redhat.com>
      Cc: Suren Baghdasaryan <surenb@google.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Link: https://lore.kernel.org/20250116214438.749504792@goodmis.org
      
      
      Reported-by: default avatarMichael Petlan <mpetlan@redhat.com>
      Closes: https://lore.kernel.org/all/87be5f7c-1a0-dad-daa0-54e342efaea7@redhat.com/
      
      
      Fixes: 772dd034 ("mm: enumerate all gfp flags")
      Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      60295b94
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v6.13-rc8' of... · 07757eeb
      Linus Torvalds authored
      Merge tag 'hwmon-for-v6.13-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull hwmon fixes from Guenter Roeck:
      
       - ltc2991, tmp513: Fix problems seen when dividing negative numbers
      
       - drivetemp: Handle large timeouts observed on some drives
      
       - acpi_power_meter: Fix loading the driver on platforms without _PMD
         method
      
      * tag 'hwmon-for-v6.13-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (ltc2991) Fix mixed signed/unsigned in DIV_ROUND_CLOSEST
        hwmon: (drivetemp) Set scsi command timeout to 10s
        hwmon: (acpi_power_meter) Fix a check for the return value of read_domain_devices().
        hwmon: (tmp513) Fix division of negative numbers
      07757eeb
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 7fed891d
      Linus Torvalds authored
      Pull gpio fix from Bartosz Golaszewski:
      
       - convert regular spinlock to raw spinlock in gpio-xilinx to avoid a
         lockdep splat
      
      * tag 'gpio-fixes-for-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: xilinx: Convert gpio_lock to raw spinlock
      7fed891d
Loading