Linux/linux 19272b3. Makefile

Linux 6.16-rc1
DeltaFile
+2-2Makefile
+2-21 files

Linux/linux 939f15etools/power/x86/turbostat turbostat.c turbostat.8

Merge tag 'turbostat-2025.06.08' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux

Pull turbostat updates from Len Brown:

 - Add initial DMR support, which required smarter RAPL probe

 - Fix AMD MSR RAPL energy reporting

 - Add RAPL power limit configuration output

 - Minor fixes

* tag 'turbostat-2025.06.08' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux:
  tools/power turbostat: version 2025.06.08
  tools/power turbostat: Add initial support for BartlettLake
  tools/power turbostat: Add initial support for DMR
  tools/power turbostat: Dump RAPL sysfs info
  tools/power turbostat: Avoid probing the same perf counters
  tools/power turbostat: Allow probing RAPL with platform_features->rapl_msrs cleared

    [12 lines not shown]
DeltaFile
+360-106tools/power/x86/turbostat/turbostat.c
+3-3tools/power/x86/turbostat/turbostat.8
+363-1092 files

Linux/linux be54f8cdrivers/net/ethernet/brocade/bna bnad.c, drivers/net/hamradio scc.c

Merge tag 'timers-cleanups-2025-06-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull timer cleanup from Thomas Gleixner:
 "The delayed from_timer() API cleanup:

  The renaming to the timer_*() namespace was delayed due massive
  conflicts against Linux-next. Now that everything is upstream finish
  the conversion"

* tag 'timers-cleanups-2025-06-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  treewide, timers: Rename from_timer() to timer_container_of()
DeltaFile
+25-24net/bridge/br_multicast.c
+19-13net/sctp/sm_sideeffect.c
+10-7drivers/net/wireguard/timers.c
+10-6drivers/net/ethernet/brocade/bna/bnad.c
+9-6net/bridge/br_stp_timer.c
+7-7drivers/net/hamradio/scc.c
+80-63683 files not shown
+1,151-955689 files

Linux/linux 0529ef8arch/x86/include/asm/trace fpu.h, arch/x86/kernel ioport.c process.c

Merge tag 'x86-urgent-2025-06-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fixes from Thomas Gleixner:
 "A small set of x86 fixes:

   - Cure IO bitmap inconsistencies

     A failed fork cleans up all resources of the newly created thread
     via exit_thread(). exit_thread() invokes io_bitmap_exit() which
     does the IO bitmap cleanups, which unfortunately assume that the
     cleanup is related to the current task, which is obviously bogus.

     Make it work correctly

   - A lockdep fix in the resctrl code removed the clearing of the
     command buffer in two places, which keeps stale error messages
     around. Bring them back.

   - Remove unused trace events"

    [5 lines not shown]
DeltaFile
+0-15arch/x86/include/asm/trace/fpu.h
+9-4arch/x86/kernel/ioport.c
+6-0arch/x86/kernel/process.c
+4-0fs/resctrl/rdtgroup.c
+19-194 files

Linux/linux 4710eacinclude/linux time_namespace.h

Merge tag 'timers-urgent-2025-06-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull timer fix from Thomas Gleixner:
 "Add the missing seq_file forward declaration in the timer namespace
  header"

* tag 'timers-urgent-2025-06-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  timens: Add struct seq_file forward declaration
DeltaFile
+1-0include/linux/time_namespace.h
+1-01 files

Linux/linux 42fd37dtools/power/x86/turbostat turbostat.c

tools/power turbostat: version 2025.06.08

Add initial DMR support, which required smarter RAPL probe
Fix AMD MSR RAPL energy reporting
Add RAPL power limit configuration output
Minor fixes

Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+36-37tools/power/x86/turbostat/turbostat.c
+36-371 files

Linux/linux d8c0f5dtools/power/x86/turbostat turbostat.c

tools/power turbostat: Add initial support for BartlettLake

Add initial support for BartlettLake.

Signed-off-by: Zhang Rui <rui.zhang at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+1-0tools/power/x86/turbostat/turbostat.c
+1-01 files

Linux/linux fdea6b8tools/power/x86/turbostat turbostat.c

tools/power turbostat: Always check rapl_joules flag

rapl_joules bit should always be checked even if
platform_features->rapl_msrs is not set or no_msr flag is used.

Signed-off-by: Zhang Rui <rui.zhang at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+9-3tools/power/x86/turbostat/turbostat.c
+9-31 files

Linux/linux 6907852tools/power/x86/turbostat turbostat.c

tools/power turbostat: Avoid probing the same perf counters

For the RAPL package energy status counter, Intel and AMD share the same
perf_subsys and perf_name, but with different MSR addresses.

Both rapl_counter_arch_infos[0] and rapl_counter_arch_infos[1] are
introduced to describe this counter for different Vendors.

As a result, the perf counter is probed twice, and causes a failure in
in get_rapl_counters() because expected_read_size and actual_read_size
don't match.

Fix the problem by skipping the already probed counter.

Note, this is not a perfect fix. For example, if different
vendors/platforms use the same MSR value for different purpose, the code
can be fooled when it probes a rapl_counter_arch_infos[] entry that does
not belong to the running Vendor/Platform.


    [5 lines not shown]
DeltaFile
+15-0tools/power/x86/turbostat/turbostat.c
+15-01 files

Linux/linux 5663785tools/power/x86/turbostat turbostat.c

tools/power turbostat: Add Android support for MSR device handling

It uses /dev/msrN device paths on Android instead of /dev/cpu/N/msr,
updates error messages and permission checks to reflect the Android
device path, and wraps platform-specific code with #if defined(ANDROID)
to ensure correct behavior on both Android and non-Android systems.
These changes improve compatibility and usability of turbostat on
Android devices.

Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+17-3tools/power/x86/turbostat/turbostat.c
+17-31 files

Linux/linux 3403e89tools/power/x86/turbostat turbostat.c

tools/power turbostat: Remove add_msr_perf_counter_()

As the only caller of add_msr_perf_counter_(), add_msr_perf_counter()
just gives extra debug output on top. There is no need to keep both
functions.

Remove add_msr_perf_counter_() and move all the logic to
add_msr_perf_counter().

No functional change.

Signed-off-by: Zhang Rui <rui.zhang at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+8-12tools/power/x86/turbostat/turbostat.c
+8-121 files

Linux/linux 57b5378tools/power/x86/turbostat turbostat.c

tools/power turbostat: Quit early for unsupported RAPL counters

Quit early for unsupported RAPL counters.

No functional change.

Signed-off-by: Zhang Rui <rui.zhang at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+4-1tools/power/x86/turbostat/turbostat.c
+4-11 files

Linux/linux 83075bdtools/power/x86/turbostat turbostat.c

tools/power turbostat: Add initial support for DMR

Add initial support for DMR.

Signed-off-by: Zhang Rui <rui.zhang at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+18-0tools/power/x86/turbostat/turbostat.c
+18-01 files

Linux/linux 0362337tools/power/x86/turbostat turbostat.c

tools/power turbostat: Clean up add perf/msr counter logic

Increase the code readability by moving the no_perf/no_msr flag and the
cai->perf_name/cai->msr sanity checks into the counter probe functions.

No functional change.

Signed-off-by: Zhang Rui <rui.zhang at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+18-7tools/power/x86/turbostat/turbostat.c
+18-71 files

Linux/linux c8bca95tools/power/x86/turbostat turbostat.c

tools/power turbostat: Remove add_rapl_perf_counter_()

As the only caller of add_rapl_perf_counter_(), add_rapl_perf_counter()
just gives extra debug output on top. There is no need to keep both
functions.

Remove add_rapl_perf_counter_() and move all the logic to
add_rapl_perf_counter().

No functional change.

Signed-off-by: Zhang Rui <rui.zhang at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+10-15tools/power/x86/turbostat/turbostat.c
+10-151 files

Linux/linux b4a734dtools/power/x86/turbostat turbostat.c

tools/power turbostat: Fix RAPL_GFX_ALL typo

Fix typo in the currently unused RAPL_GFX_ALL macro definition.

Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+1-1tools/power/x86/turbostat/turbostat.c
+1-11 files

Linux/linux ff3d019tools/power/x86/turbostat turbostat.c

tools/power turbostat: Allow probing RAPL with platform_features->rapl_msrs cleared

platform_features->rapl_msrs describes the RAPL MSRs supported. While
RAPL Perf counters can be exposed from different kernel backend drivers,
e.g. RAPL MSR I/F driver, or RAPL TPMI I/F driver.

Thus, turbostat should first blindly probe all the available RAPL Perf
counters, and falls back to the RAPL MSR counters if they are listed in
platform_features->rapl_msrs.

With this, platforms that don't have RAPL MSRs can clear the
platform_features->rapl_msrs bits and use RAPL Perf counters only.

Signed-off-by: Zhang Rui <rui.zhang at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+23-24tools/power/x86/turbostat/turbostat.c
+23-241 files

Linux/linux 1ab2e19tools/power/x86/turbostat turbostat.c

tools/power turbostat: Introduce add_msr_counter()

probe_rapl_msr() is reused for probing RAPL MSR counters, cstate MSR
counters and MPERF/APERF/SMI MSR counters, thus its name is misleading.

Similar to add_perf_counter(), introduce add_msr_counter() to probe a
counter via MSR. Introduce wrapper function add_rapl_msr_counter() at
the same time to add extra check for Zero return value for specified
RAPL counters.

No functional change intended.

Signed-off-by: Zhang Rui <rui.zhang at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+23-9tools/power/x86/turbostat/turbostat.c
+23-91 files

Linux/linux c967900tools/power/x86/turbostat turbostat.8

tools/power turbostat.8: pm_domain wording fix

turbostat.8: clarify that uncore "domains" are Power Management domains,
aka pm_domains.

Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+2-2tools/power/x86/turbostat/turbostat.8
+2-21 files

Linux/linux 2a535d6tools/power/x86/turbostat turbostat.c

tools/power turbostat: Dump RAPL sysfs info

for example:

intel-rapl:1: psys 28.0s:100W 976.0us:100W
intel-rapl:0: package-0 28.0s:57W,max:15W 2.4ms:57W
intel-rapl:0/intel-rapl:0:0: core disabled
intel-rapl:0/intel-rapl:0:1: uncore disabled
intel-rapl-mmio:0: package-0 28.0s:28W,max:15W 2.4ms:57W

[lenb: simplified format]

Signed-off-by: Zhang Rui <rui.zhang at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>

squish me

Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+156-0tools/power/x86/turbostat/turbostat.c
+156-01 files

Linux/linux 4d6ced7tools/power/x86/turbostat turbostat.c

tools/power turbostat: Remove add_cstate_perf_counter_()

As the only caller of add_cstate_perf_counter_(),
add_cstate_perf_counter() just gives extra debug output on top. There is
no need to keep both functions.

Remove add_cstate_perf_counter_() and move all the logic to
add_cstate_perf_counter().

No functional change.

Signed-off-by: Zhang Rui <rui.zhang at intel.com>
Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+9-13tools/power/x86/turbostat/turbostat.c
+9-131 files

Linux/linux adb4973tools/power/x86/turbostat turbostat.c

tools/power turbostat: Fix AMD package-energy reporting

commit 05a2f07db888 ("tools/power turbostat: read RAPL counters via
perf") that adds support to read RAPL counters via perf defines the
notion of a RAPL domain_id which is set to physical_core_id on
platforms which support per_core_rapl counters (Eg: AMD processors
Family 17h onwards) and is set to the physical_package_id on all the
other platforms.

However, the physical_core_id is only unique within a package and on
platforms with multiple packages more than one core can have the same
physical_core_id and thus the same domain_id. (For eg, the first cores
of each package have the physical_core_id = 0). This results in all
these cores with the same physical_core_id using the same entry in the
rapl_counter_info_perdomain[]. Since rapl_perf_init() skips the
perf-initialization for cores whose domain_ids have already been
visited, cores that have the same physical_core_id always read the
perf file corresponding to the physical_core_id of the first package
and thus the package-energy is incorrectly reported to be the same

    [12 lines not shown]
DeltaFile
+36-5tools/power/x86/turbostat/turbostat.c
+36-51 files

Linux/linux 394c112tools/power/x86/turbostat turbostat.8

tools/power turbostat.8: fix typo: idle_pct should be pct_idle

idle_pct should be pct_idle

Signed-off-by: Len Brown <len.brown at intel.com>
DeltaFile
+1-1tools/power/x86/turbostat/turbostat.8
+1-11 files

Linux/linux d9864e7arch/x86/events/intel core.c

Merge tag 'perf-urgent-2025-06-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 perf fix from Thomas Gleixner:
 "A single fix for the x86 performance counters on Intel CPUs:

  The MSR offset calculations for fixed performance counters are stored
  at the wrong index in the configuration array causing the general
  purpose counter MSR offset to be overwritten, so both the general
  purpose and the fixed counters offsets are incorrect.

  Correct the array index calculation to fix that"

* tag 'perf-urgent-2025-06-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf/x86/intel: Fix incorrect MSR index calculations in intel_pmu_config_acr()
DeltaFile
+5-3arch/x86/events/intel/core.c
+5-31 files

Linux/linux 70b7d65drivers/pci/msi msi.c irqdomain.c

Merge tag 'irq-urgent-2025-06-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull irq fix from Thomas Gleixner:
 "A single fix for the PCI/MSI code:

  The conversion to per device MSI domains created a MSI domain with
  size 1 instead of sizing it to the maximum possible number of MSI
  interrupts for the device. This "worked" as the subsequent allocations
  resized the domain, but the recent change to move the prepare() call
  into the domain creation path broke this works by chance mechanism.

  Size the domain properly at creation time"

* tag 'irq-urgent-2025-06-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  PCI/MSI: Size device MSI domain with the maximum number of vectors
DeltaFile
+4-4drivers/pci/msi/msi.c
+3-2drivers/pci/msi/irqdomain.c
+1-1drivers/pci/msi/msi.h
+8-73 files

Linux/linux 35b574afs namespace.c, include/linux mount.h

Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs

Pull mount fixes from Al Viro:
 "Various mount-related bugfixes:

   - split the do_move_mount() checks in subtree-of-our-ns and
     entire-anon cases and adapt detached mount propagation selftest for
     mount_setattr

   - allow clone_private_mount() for a path on real rootfs

   - fix a race in call of has_locked_children()

   - fix move_mount propagation graph breakage by MOVE_MOUNT_SET_GROUP

   - make sure clone_private_mnt() caller has CAP_SYS_ADMIN in the right
     userns

   - avoid false negatives in path_overmount()

    [15 lines not shown]
DeltaFile
+71-42fs/namespace.c
+1-16tools/testing/selftests/mount_setattr/mount_setattr_test.c
+2-1include/linux/mount.h
+74-593 files

Linux/linux 522cd6aDocumentation/filesystems/smb smbdirect.rst, fs/smb/client smbdirect.c smbdirect.h

Merge tag '6.16-rc-part2-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6

Pull more smb client updates from Steve French:

 - multichannel/reconnect fixes

 - move smbdirect (smb over RDMA) defines to fs/smb/common so they will
   be able to be used in the future more broadly, and a documentation
   update explaining setting up smbdirect mounts

 - update email address for Paulo

* tag '6.16-rc-part2-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
  cifs: update internal version number
  MAINTAINERS, mailmap: Update Paulo Alcantara's email address
  cifs: add documentation for smbdirect setup
  cifs: do not disable interface polling on failure
  cifs: serialize other channels when query server interfaces is pending
  cifs: deal with the channel loading lag while picking channels

    [8 lines not shown]
DeltaFile
+213-176fs/smb/client/smbdirect.c
+103-0Documentation/filesystems/smb/smbdirect.rst
+5-64fs/smb/client/smbdirect.h
+55-0fs/smb/common/smbdirect/smbdirect_pdu.h
+32-18fs/smb/client/smb2pdu.c
+43-0fs/smb/common/smbdirect/smbdirect_socket.h
+451-25810 files not shown
+532-28716 files

Linux/linux 538c429include/trace/events power.h, kernel/trace trace_events_filter.c ring_buffer.c

Merge tag 'trace-v6.16-3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull more tracing fixes from Steven Rostedt:

 - Fix regression of waiting a long time on updating trace event filters

   When the faultable trace points were added, it needed task trace RCU
   synchronization.

   This was added to the tracepoint_synchronize_unregister() function.
   The filter logic always called this function whenever it updated the
   trace event filters before freeing the old filters. This increased
   the time of "trace-cmd record" from taking 13 seconds to running over
   2 minutes to complete.

   Move the freeing of the filters to call_rcu*() logic, which brings
   the time back down to 13 seconds.

 - Fix ring_buffer_subbuf_order_set() error path lock protection

    [28 lines not shown]
DeltaFile
+142-50kernel/trace/trace_events_filter.c
+0-47include/trace/events/power.h
+1-3kernel/trace/ring_buffer.c
+143-1003 files

Linux/linux 41cb085drivers/net/ethernet/brocade/bna bnad.c, drivers/net/hamradio scc.c

treewide, timers: Rename from_timer() to timer_container_of()

Move this API to the canonical timer_*() namespace.

[ tglx: Redone against pre rc1 ]

Signed-off-by: Ingo Molnar <mingo at kernel.org>
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Link: https://lore.kernel.org/all/aB2X0jCKQO56WdMt@gmail.com

DeltaFile
+25-24net/bridge/br_multicast.c
+19-13net/sctp/sm_sideeffect.c
+10-7drivers/net/wireguard/timers.c
+10-6drivers/net/ethernet/brocade/bna/bnad.c
+9-6net/bridge/br_stp_timer.c
+7-7drivers/net/hamradio/scc.c
+80-63683 files not shown
+1,151-955689 files

Linux/linux 8630c59Documentation/kbuild gendwarfksyms.rst, kernel/module main.c

Merge tag 'kbuild-v6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild

Pull Kbuild updates from Masahiro Yamada:

 - Add support for the EXPORT_SYMBOL_GPL_FOR_MODULES() macro, which
   exports a symbol only to specified modules

 - Improve ABI handling in gendwarfksyms

 - Forcibly link lib-y objects to vmlinux even if CONFIG_MODULES=n

 - Add checkers for redundant or missing <linux/export.h> inclusion

 - Deprecate the extra-y syntax

 - Fix a genksyms bug when including enum constants from *.symref files

* tag 'kbuild-v6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (28 commits)
  genksyms: Fix enum consts from a reference affecting new values

    [20 lines not shown]
DeltaFile
+99-62scripts/gendwarfksyms/kabi.c
+114-27Documentation/kbuild/gendwarfksyms.rst
+126-14scripts/gendwarfksyms/types.c
+99-2scripts/gendwarfksyms/examples/kabi_ex.h
+87-2kernel/module/main.c
+84-0scripts/Makefile.build
+609-10743 files not shown
+919-33549 files