Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers/perf: apple_m1: Add mapping for branch counters #307

Closed
wants to merge 2,973 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
2973 commits
Select commit Hold shift + click to select a range
2f0ea2e
cxl/region: Move cxl_dpa_to_region() work to the region driver
AlisonSchofield Apr 30, 2024
b8a40a6
cxl/region: Avoid null pointer dereference in region lookup
AlisonSchofield Jun 4, 2024
d629560
cxl/region: check interleave capability
sailer1205 Jun 14, 2024
3473eb8
netfs: Fix netfs_page_mkwrite() to check folio->mapping is valid
dhowells Jun 25, 2024
192d463
netfs: Fix netfs_page_mkwrite() to flush conflicting data, not wait
dhowells Jun 24, 2024
f05cdbe
serial: imx: only set receiver level if it is zero
eichenberger Jul 3, 2024
8fb36f8
serial: 8250_omap: Fix Errata i2310 with RX FIFO level check
uditkumarti Jun 25, 2024
24bb80a
tracing/net_sched: NULL pointer dereference in perf_trace_qdisc_reset()
yskelg Jun 24, 2024
2106717
Linux 6.9.8
gregkh Jul 5, 2024
e8ad2e7
platform/apple: smc: Add apple_smc_read_ioft_scaled
jannau Oct 1, 2023
582e848
hwmon: add macsmc-hwmon driver
chadmed Apr 26, 2024
caa3353
fixup! hwmon: add macsmc-hwmon driver
jannau Jul 7, 2024
62b39e7
hwmon: macsmc: Avoid global writable hwmon_chip_info
jannau Jun 23, 2024
d30481b
selftests/resctrl: Fix non-contiguous CBM for AMD
babumoger Jun 11, 2024
f6828e4
locking/mutex: Introduce devm_mutex_init()
geo-stark Apr 11, 2024
3b62888
leds: mlxreg: Use devm_mutex_init() for mutex initialization
geo-stark Apr 11, 2024
9dba444
leds: an30259a: Use devm_mutex_init() for mutex initialization
geo-stark Apr 11, 2024
e0a2d2d
crypto: hisilicon/debugfs - Fix debugfs uninit process issue
Apr 7, 2024
b5daf92
drm/lima: fix shared irq handling on driver remove
enunes Apr 1, 2024
2c78c94
powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.
maheshsal Apr 10, 2024
f8edee1
media: dvb: as102-fe: Fix as10x_register_addr packing
ribalda Apr 10, 2024
72c1818
media: dvb-usb: dib0700_devices: Add missing release_firmware()
ribalda Apr 11, 2024
6393ffc
net: dql: Avoid calling BUG() when WARN() is enough
leitao Apr 11, 2024
ce4ba62
wifi: rtw89: fw: scan offload prohibit all 6 GHz channel if no 6 GHz …
Apr 12, 2024
0888d15
drm/xe: Add outer runtime_pm protection to xe_live_ktest@xe_dma_buf
rodrigovivi Apr 17, 2024
a6627fb
IB/core: Implement a limit on UMAD receive List
mikijoy Apr 16, 2024
2b9c778
scsi: qedf: Make qedf_execute_tmf() non-preemptible
johnmeneghini Apr 3, 2024
7f79097
bpf: mark bpf_dummy_struct_ops.test_1 parameter as nullable
eddyz87 Apr 24, 2024
966f97a
selftests/bpf: adjust dummy_st_ops_success to detect additional error
eddyz87 Apr 24, 2024
231791c
selftests/bpf: do not pass NULL for non-nullable params in dummy_st_ops
eddyz87 Apr 24, 2024
c66ef77
bpf: check bpf_dummy_struct_ops program params for test runs
eddyz87 Apr 24, 2024
7f49350
selftests/bpf: dummy_st_ops should reject 0 for non-nullable params
eddyz87 Apr 24, 2024
23d8d5c
RISC-V: KVM: Fix the initial sample period value
atishp04 Apr 20, 2024
f586799
crypto: aead,cipher - zeroize key buffer after use
hailmo-amzn Apr 15, 2024
303d010
media: mediatek: vcodec: Only free buffer VA that is not NULL
Dec 21, 2023
4874f85
drm/amdgpu: Fix uninitialized variable warnings
Apr 22, 2024
f8f120b
drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_c…
Jie1zhang Apr 24, 2024
89dc294
drm/amdgpu: Initialize timestamp for some legacy SOCs
Apr 22, 2024
8e24beb
drm/amdgpu: fix double free err_addr pointer warnings
Apr 23, 2024
062edd6
drm/amd/display: Add NULL pointer check for kzalloc
Apr 22, 2024
a31ea49
drm/amd/display: Check index msg_id before read or write
Apr 18, 2024
c5ec2af
drm/amd/display: Check pipe offset before setting vblank
Apr 23, 2024
881fb6a
drm/amd/display: Skip finding free audio for unknown engine_id
Apr 22, 2024
9342da1
drm/amd/display: Fix overlapping copy within dml_core_mode_programming
Apr 23, 2024
8ed4380
drm/amd/display: update pipe topology log to support subvp
Mar 19, 2024
a76fa9c
drm/amd/display: Do not return negative stream id for array
Apr 22, 2024
a9c047a
drm/amd/display: ASSERT when failing to find index by plane/stream id
Apr 22, 2024
be8c1cf
drm/amd/display: Fix uninitialized variables in DM
Apr 16, 2024
b1656d8
drm/amdgpu: fix uninitialized scalar variable warning
Apr 23, 2024
803b30c
drm/amdgpu: fix the warning about the expression (int)size - len
Jie1zhang Apr 25, 2024
dc56b1d
media: dw2102: Don't translate i2c read into write
micha137 Jan 16, 2022
e3117cf
riscv: Apply SiFive CIP-1200 workaround to single-ASID sfence.vma
SiFiveHolland Mar 27, 2024
dd467e2
media: dw2102: fix a potential buffer overflow
mchehab Apr 29, 2024
14c177d
sctp: prefer struct_size over open coded arithmetic
Apr 27, 2024
d9de710
firmware: dmi: Stop decoding on broken entry
jdelvare Apr 30, 2024
4248888
kunit/fortify: Do not spam logs with fortify WARNs
kees Apr 29, 2024
12d23e1
Input: ff-core - prefer struct_size over open coded arithmetic
Apr 27, 2024
c0ee01e
usb: xhci: prevent potential failure in handle_tx_event() for Transfe…
Epicurius Apr 29, 2024
64f8633
wifi: mt76: replace skb_put with skb_put_zero
nbd168 Mar 14, 2024
030077c
wifi: mt76: mt7996: add sanity checks for background radar trigger
Mar 20, 2024
fd7ae1c
thermal/drivers/mediatek/lvts_thermal: Check NULL ptr on lvts_data
jpanisbl May 2, 2024
f75625d
net: dsa: mv88e6xxx: Correct check for empty list
horms Apr 30, 2024
2d85c12
media: dvb-frontends: tda18271c2dd: Remove casting during div
ribalda Apr 29, 2024
7cd3d74
media: s2255: Use refcount_t instead of atomic_t for num_channels
ribalda Apr 29, 2024
0ce281c
media: i2c: st-mipid02: Use the correct div function
ribalda Apr 29, 2024
7ee3f85
media: tc358746: Use the correct div_ function
ribalda Apr 29, 2024
1121d8a
media: dvb-frontends: tda10048: Fix integer overflow
ribalda Apr 29, 2024
7c2fe78
crypto: hisilicon/sec2 - fix for register offset
Apr 23, 2024
32675d8
gve: Account for stopped queues when reading NIC stats
shailend-g May 1, 2024
12316f9
i2c: i801: Annotate apanel_addr as __ro_after_init
hkallweit Apr 12, 2024
76e03ee
powerpc/64: Set _IO_BASE to POISON_POINTER_DELTA not 0 for CONFIG_PCI=n
mpe May 3, 2024
de8a5f7
orangefs: fix out-of-bounds fsid access
hubcapsc May 1, 2024
ce78b42
kunit: Fix timeout message
l0kod Apr 8, 2024
bfd0c0d
powerpc/xmon: Check cpu id in commands "c#", "dp#" and "dx#"
gkurz Mar 9, 2021
92de3e9
selftests/net: fix uninitialized variables
johnhubbard May 6, 2024
69bc5f5
igc: fix a log entry using uninitialized netdev
github-cygwin Apr 23, 2024
ff941a8
bpf: Avoid uninitialized value in BPF_CORE_READ_BITFIELD
jemarch May 8, 2024
ecb641f
f2fs: check validation of fault attrs in f2fs_build_fault_attr()
chaseyu May 7, 2024
c870790
scsi: mpi3mr: Sanitise num_phys
thenzl Feb 26, 2024
9377188
serial: imx: Raise TX trigger level to 8
tq-schifferm May 8, 2024
05fc1ef
jffs2: Fix potential illegal address access in jffs2_free_inode
May 7, 2024
e9e88b1
s390: Mark psw in __load_psw_mask() as __unitialized
svens-s390 Apr 30, 2024
62151a0
s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings
irenge May 7, 2024
c44a215
s390/pkey: Wipe sensitive data on failure
holger-dengler May 7, 2024
7f6243e
s390/pkey: Wipe copies of clear-key structures on failure
holger-dengler May 7, 2024
c746f7c
s390/pkey: Wipe copies of protected- and secure-keys
holger-dengler May 7, 2024
f3a3950
btrfs: scrub: initialize ret in scrub_simple_mirror() to fix compilat…
May 7, 2024
e809bc1
cdrom: rearrange last_media_change check to avoid unintentional overflow
JustinStitt May 7, 2024
902ceb5
tools/power turbostat: Remember global max_die_id
lenb Apr 21, 2024
44d0dc6
tools/power turbostat: Avoid possible memory corruption due to sparse…
May 6, 2024
9c44667
vhost: Use virtqueue mutex for swapping worker
mikechristie Mar 16, 2024
86d615f
vhost: Release worker mutex during flushes
mikechristie Mar 16, 2024
dec987f
vhost_task: Handle SIGKILL by flushing work and exiting
mikechristie Mar 16, 2024
5e2024b
virtio-pci: Check if is_avq is NULL
zhanglikernel Mar 16, 2024
18128a9
mac802154: fix time calculation in ieee802154_configure_durations()
dmantipov May 8, 2024
e87c2f0
wifi: cfg80211: restrict NL80211_ATTR_TXQ_QUANTUM values
Jun 15, 2024
03a4207
net: phy: phy_device: Fix PHY LED blinking code comment
Jun 26, 2024
aba3b7c
wifi: mac80211: fix BSS_CHANGED_UNSOL_BCAST_PROBE_RESP
jmberg-intel Jun 27, 2024
5680bb0
UPSTREAM: tcp: fix DSACK undo in fast recovery to call tcp_try_to_open()
nealcardwell Jun 27, 2024
83bc1a1
net/mlx5: E-switch, Create ingress ACL when needed
Jun 27, 2024
5ebf5fe
net/mlx5e: Add mqprio_rl cleanup and free in mlx5e_priv_cleanup()
Jun 27, 2024
22e5b75
net/mlx5e: Present succeeded IPsec SA bytes and packet
rleon Jun 27, 2024
05b7c38
net/mlx5e: Approximate IPsec per-SA payload data bytes count
rleon Jun 27, 2024
ef890df
Bluetooth: hci_event: Fix setting of unicast qos interval
Vudentz Jun 6, 2024
dad0003
Bluetooth: Ignore too large handle values in BIG
ea1davis Jun 17, 2024
33fabef
Bluetooth: ISO: Check socket flag instead of hcon
iulia-tanasescu Jun 18, 2024
d311036
bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX
pskrgag Jun 20, 2024
3d550dd
tcp_metrics: validate source addr length
kuba-moo Jun 27, 2024
d42aef1
KVM: s390: fix LPSWEY handling
borntraeger Jun 28, 2024
2704431
e1000e: Fix S0ix residency on corporate systems
dimaruinskiy-intel Jun 28, 2024
ef78197
gpiolib: of: fix lookup quirk for MIPS Lantiq
dtor Jul 1, 2024
f16b32c
net: allow skb_datagram_iter to be called from any context
sagigrimberg Jun 26, 2024
c989692
net: txgbe: initialize num_q_vectors for MSI/INTx interrupts
Jul 1, 2024
850103e
net: txgbe: remove separate irq request for MSI and INTx
Jul 1, 2024
3e2c12a
net: txgbe: add extra handle for MSI/INTx into thread irq handle
Jul 1, 2024
efdc3f5
net: txgbe: free isb resources at the right time
Jul 1, 2024
ebe5ea0
btrfs: always do the basic checks for btrfs_qgroup_inherit structure
adam900710 Jun 24, 2024
566a2f4
net: phy: aquantia: add missing include guards
Jul 1, 2024
858ae09
net: ntb_netdev: Move ntb_netdev_rx_handler() to call netif_rx() from…
davejiang Jul 1, 2024
39722d3
drm/fbdev-generic: Fix framebuffer on big endian devices
huth Jun 27, 2024
1d59899
net: stmmac: enable HW-accelerated VLAN stripping for gmac4 only
Jul 1, 2024
2fc99ad
s390/vfio_ccw: Fix target addresses of TIC CCWs
efarman Jun 28, 2024
33559d6
gpio: mmio: do not calculate bgpio_bits via "ngpios"
DragonBluep Jun 25, 2024
44f98ae
wifi: wilc1000: fix ies_len type in connect path
Jul 1, 2024
484dd54
riscv: kexec: Avoid deadlock in kexec crash path
Jun 26, 2024
09e650c
netfilter: nf_tables: unconditionally flush pending work before notifier
Jul 2, 2024
92cbbe7
net: rswitch: Avoid use-after-free in rswitch_poll()
rrendec Jul 2, 2024
9f835e4
bonding: Fix out-of-bounds read in bond_option_arp_ip_targets_set()
Symatrix6 Jul 2, 2024
9f69b31
ice: Fix improper extts handling
mwolech Jul 2, 2024
1c4e524
ice: Don't process extts if PTP is disabled
jacob-keller Jul 2, 2024
cf41354
ice: Reject pin requests with unsupported flags
jacob-keller Jul 2, 2024
da20241
ice: use proper macro for testing bit
orosp Jul 2, 2024
8345d94
selftests: fix OOM in msg_zerocopy selftest
Jul 1, 2024
ce78e1e
selftests: make order checking verbose in msg_zerocopy selftest
Jul 1, 2024
785c871
drm/xe/mcr: Avoid clobbering DSS steering
mattrope Jun 26, 2024
7916b33
tcp: Don't flag tcp_sk(sk)->rx_opt.saw_unknown for TCP AO.
q2ven Jul 3, 2024
f9b2010
inet_diag: Initialize pad field in struct inet_diag_req_v2
Jul 3, 2024
9af7437
mlxsw: core_linecards: Fix double memory deallocation in case of inva…
Jul 3, 2024
9ce699e
bnxt_en: Fix the resource check condition for RSS contexts
Jul 3, 2024
866e028
gpiolib: of: add polarity quirk for TSC2005
dtor Jul 3, 2024
65bd080
platform/x86: toshiba_acpi: Fix quickstart quirk handling
Wer-Wolf Jul 1, 2024
d478ec8
Revert "igc: fix a log entry using uninitialized netdev"
aneftin Jun 11, 2024
1c91058
nilfs2: fix inode number range checks
konis Jun 23, 2024
265fff1
nilfs2: add missing check for inode numbers on directory entries
konis Jun 23, 2024
5f56fb1
nilfs2: fix incorrect inode allocation from reserved inodes
konis Jun 23, 2024
8aefb73
mm: optimize the redundant loop of mm_update_owner_next()
fatherMatrix Jun 20, 2024
8e0b5e7
mm: avoid overflows in dirty throttling logic
jankara Jun 21, 2024
8548903
btrfs: zoned: fix calc_available_free_space() for zoned mode
naota Jun 20, 2024
326fa14
btrfs: fix adding block group to a reclaim list and the unused list d…
naota Jun 28, 2024
de95dd6
btrfs: fix folio refcount in __alloc_dummy_extent_buffer()
boryas Jul 2, 2024
72d0e1d
f2fs: Add inline to f2fs_build_fault_attr() stub
nathanchance May 13, 2024
f57a765
scsi: mpi3mr: Use proper format specifier in mpi3mr_sas_port_add()
nathanchance May 14, 2024
ac2db4d
Bluetooth: hci_bcm4377: Fix msgid release
marcan May 15, 2024
00fb0a0
Bluetooth: Add quirk to ignore reserved PHY bits in LE Extended Adv R…
svenpeter42 May 15, 2024
977b9dc
Bluetooth: qca: Fix BT enable failure again for QCA6390 after warm re…
zijun-hu May 16, 2024
0ba4829
can: kvaser_usb: Explicitly initialize family in leafimx driver_info …
Jun 28, 2024
59e914c
fsnotify: Do not generate events for O_PATH file descriptors
jankara Jun 17, 2024
000099d
Revert "mm/writeback: fix possible divide-by-zero in wb_dirty_limits(…
jankara Jun 21, 2024
704c9b5
drm/xe: fix error handling in xe_migrate_update_pgtables
matt-auld Jun 20, 2024
79223ce
drm/ttm: Always take the bo delayed cleanup path for imported bos
Jun 28, 2024
7db5411
drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes
Jun 27, 2024
2c72cc1
drm/amdgpu/atomfirmware: silence UBSAN warning
alexdeucher Jul 1, 2024
e2779ae
drm: panel-orientation-quirks: Add quirk for Valve Galileo
Nephyrin Jun 28, 2024
31e370e
clk: qcom: gcc-ipq9574: Add BRANCH_HALT_VOTED flag
May 9, 2024
7a0e273
clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common
Jun 23, 2024
8c65066
powerpc/pseries: Fix scv instruction crash with kexec
npiggin Jun 25, 2024
8c4100b
powerpc/64s: Fix unnecessary copy to 0 when kernel is booted at addre…
hx-wenjinglin Jun 20, 2024
a5a5470
firmware: sysfb: Fix reference count of sysfb parent device
Jun 25, 2024
b6d2239
filelock: Remove locks reliably when fcntl/close race is detected
thejh Jul 2, 2024
811db83
mtd: rawnand: Ensure ECC configuration is propagated to upper layers
miquelraynal May 7, 2024
b998a65
mtd: rawnand: Fix the nand_read_data_op() early check
miquelraynal May 16, 2024
375ab23
mtd: rawnand: Bypass a couple of sanity checks during NAND identifica…
miquelraynal May 16, 2024
d45b526
mtd: rawnand: rockchip: ensure NVDDR timings are rejected
valpackett May 19, 2024
25b1e39
fs: don't misleadingly warn during thaw operations
brauner Jun 13, 2024
544c404
net: stmmac: dwmac-qcom-ethqos: fix error array size
yijiyang Jul 1, 2024
b9ea38e
bnx2x: Fix multiple UBSAN array-index-out-of-bounds
ghadi-rahme Jun 27, 2024
c116475
s390/dasd: Fix invalid dereferencing of indirect CCW data pointer
Jul 3, 2024
19ad209
selftests/harness: Fix tests timeout and race condition
l0kod Jun 21, 2024
9357ad8
arm64: dts: rockchip: Fix the DCDC_REG2 minimum voltage on Quartz64 M…
May 20, 2024
1910c7c
clk: qcom: gcc-sm6350: Fix gpll6* & gpll7 parents
lweiss-fairphone May 8, 2024
39a609b
clk: qcom: clk-alpha-pll: set ALPHA_EN bit for Stromer Plus PLLs
juhosg May 8, 2024
7c73459
clk: mediatek: mt8183: Only enable runtime PM on mt8183-mfgcfg
Jun 13, 2024
27cd387
i2c: pnx: Fix potential deadlock warning from del_timer_sync() call i…
pwojtaszczyk-ts Jun 28, 2024
d7aeca6
fs/ntfs3: Mark volume as dirty if xattr is broken
aalexandrovich Apr 22, 2024
8d656c7
drm/amdkfd: Let VRAM allocations go to GTT domain on small APUs
Apr 26, 2024
53d5ac2
ALSA: hda/realtek: Enable headset mic of JP-IK LEAP W502 with ALC897
starnight May 20, 2024
36e493d
vhost-scsi: Handle vhost_vq_work_queue failures for events
mikechristie Mar 16, 2024
f7b2027
nvme-multipath: find NUMA path only for online numa-node
shroffni May 16, 2024
8108b17
dma-mapping: benchmark: avoid needless copy_to_user if benchmark fails
May 4, 2024
ad7c0bc
drm/amdgpu: correct hbm field in boot status
May 21, 2024
af22194
connector: Fix invalid conversion in cn_proc.h
zoo868e May 14, 2024
d143321
swap: yield device immediately
brauner May 21, 2024
9205fa2
nvme: adjust multiples of NVME_CTRL_PAGE_SIZE in offset
May 23, 2024
fd04704
libbpf: detect broken PID filtering logic for multi-uprobe
anakryiko May 21, 2024
010c0de
regmap-i2c: Subtract reg size from max_write
May 23, 2024
ed4daf6
platform/x86: touchscreen_dmi: Add info for GlobalSpace SolT IVW 11.6…
hmtheboy154 May 27, 2024
946cbb3
platform/x86: touchscreen_dmi: Add info for the EZpad 6s Pro
hmtheboy154 May 27, 2024
4734b5d
block: check for max_hw_sectors underflow
May 24, 2024
818004f
nvmet: fix a possible leak when destroy a ctrl during qp establishment
sagigrimberg May 27, 2024
ca2b835
kbuild: fix short log for AS in link-vmlinux.sh
masahir0y May 20, 2024
22a72c1
nfc/nci: Add the inconsistency check between the input data length an…
ea1davis May 28, 2024
ae5db98
spi: cadence: Ensure data lines set to low during dummy-cycle period
May 29, 2024
7fd41a2
ALSA: ump: Set default protocol when not given explicitly
tiwai May 29, 2024
fccdf39
drm/amdgpu: silence UBSAN warning
alexdeucher May 16, 2024
c4fa046
hwmon: (dell-smm) Add Dell G15 5511 to fan control whitelist
Wer-Wolf May 22, 2024
165634c
null_blk: Do not allow runt zone with zone capacity smaller then zone…
damien-lemoal May 30, 2024
e0f557a
libbpf: don't close(-1) in multi-uprobe feature detector
anakryiko May 29, 2024
28fdf45
Linux 6.9.9
gregkh Jul 11, 2024
d85ac21
fixup! rust: dma_fence: Add DMA Fence abstraction
asahilina Jul 11, 2024
643c2f6
fixup! drm/asahi: Add the Asahi driver for Apple AGX GPUs
asahilina Jul 11, 2024
e634079
Bluetooth: hci_bcm4377: Use correct unit for timeouts
svenpeter42 May 15, 2024
b51bc97
Bluetooth: hci_bcm4377: Increase boot timeout
marcan May 15, 2024
50771d6
Bluetooth: hci_bcm4377: Add BCM4388 support
marcan Oct 5, 2023
15339b8
Merge branch 'bits/000-devicetree' into asahi-wip
jannau Jul 11, 2024
1fe13ff
Merge branch 'bits/005-maintainers' into asahi-wip
jannau Jul 11, 2024
396239d
Merge branch 'bits/010-soc' into asahi-wip
jannau Jul 11, 2024
05e1011
Merge branch 'bits/020-dart' into asahi-wip
jannau Jul 11, 2024
4d01470
Merge branch 'bits/030-misc' into asahi-wip
jannau Jul 11, 2024
efde733
Merge branch 'bits/040-dwc3' into asahi-wip
jannau Jul 11, 2024
c8391bc
Merge branch 'bits/050-nvme' into asahi-wip
jannau Jul 11, 2024
7ea5f2c
Merge branch 'bits/060-spi' into asahi-wip
jannau Jul 11, 2024
577bc0a
Merge branch 'bits/070-audio' into asahi-wip
jannau Jul 11, 2024
ee9bb5f
Merge branch 'bits/080-wifi' into asahi-wip
jannau Jul 11, 2024
1f8d968
Merge branch 'bits/090-spi-hid' into asahi-wip
jannau Jul 11, 2024
70e87dc
Merge branch 'bits/100-bluetooth' into asahi-wip
jannau Jul 11, 2024
5ce706a
Merge branch 'bits/110-smc' into asahi-wip
jannau Jul 11, 2024
349fb21
Merge branch 'bits/120-spmi' into asahi-wip
jannau Jul 11, 2024
ee1422c
Merge branch 'bits/130-cpufreq' into asahi-wip
jannau Jul 11, 2024
d719933
Merge branch 'bits/140-pci' into asahi-wip
jannau Jul 11, 2024
b26104e
Merge branch 'bits/150-xhci-firmware' into asahi-wip
jannau Jul 11, 2024
9e4ae54
Merge branch 'bits/170-atcphy' into asahi-wip
jannau Jul 11, 2024
ff2f04e
Merge branch 'bits/180-sio' into asahi-wip
jannau Jul 11, 2024
a8d3834
Merge branch 'bits/200-dcp' into asahi-wip
jannau Jul 11, 2024
22f0015
Merge branch 'bits/210-gpu' into asahi-wip
jannau Jul 11, 2024
5521a2f
Merge branch 'bits/220-tso' into asahi-wip
jannau Jul 11, 2024
f16fb39
Merge branch 'bits/230-touchbar' into asahi-wip
jannau Jul 11, 2024
6ffee5a
Merge branch 'bits/240-isp' into asahi-wip
jannau Jul 11, 2024
3b4f66d
arm64: dts: apple: add common hwmon keys and fans
chadmed Jul 1, 2024
a4c095d
arm64: dts: apple: t8103: Add SMC hwmon sensors
jannau Jul 11, 2024
204119e
arm64: dts: apple: t8112: Add SMC hwmon sensors
jannau Jul 11, 2024
c901ce2
arm64: dts: apple: t600x-j3xx: Add SMC hwmon sensors
jannau Jul 11, 2024
db6542f
arm64: dts: apple: t602x-j4xx: Add SMC hwmon sensors
jannau Jul 11, 2024
e46da21
fixup! platform/apple: Add new Apple Mac SMC driver
jannau Jul 11, 2024
749225c
fixup! hwmon: add macsmc-hwmon driver
jannau Jul 11, 2024
981a897
fixup! hwmon: macsmc: Avoid global writable hwmon_chip_info
jannau Jul 12, 2024
a145f72
fixup! rust: drm: sched: Add GPU scheduler abstraction
asahilina Jul 11, 2024
4b9ba9c
drm/asahi: queue: Split into Queue and QueueInner
asahilina Jul 11, 2024
4506bc5
fixup! drm/apple: Add support for the macOS 13.2 DCP firmware
jannau Jul 13, 2024
ceb4e0a
drm: apple: iomfb: Align buffer size on unmap/free as well
jannau Jul 13, 2024
50e9947
drivers/perf: apple_m1: Add mapping for branch counters
jiegec Jul 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
selftests/resctrl: Fix non-contiguous CBM for AMD
[ Upstream commit 4823696 ]

The non-contiguous CBM test fails on AMD with:
Starting L3_NONCONT_CAT test ...
Mounting resctrl to "/sys/fs/resctrl"
CPUID output doesn't match 'sparse_masks' file content!
not ok 5 L3_NONCONT_CAT: test

AMD always supports non-contiguous CBM but does not report it via CPUID.

Fix the non-contiguous CBM test to use CPUID to discover non-contiguous
CBM support only on Intel.

Fixes: ae63855 ("selftests/resctrl: Add non-contiguous CBMs CAT test")
Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
babumoger authored and gregkh committed Jul 11, 2024
commit d30481b7c100d44782dbf30ad66e40dda05619eb
32 changes: 22 additions & 10 deletions tools/testing/selftests/resctrl/cat_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,30 @@ static int cat_run_test(const struct resctrl_test *test, const struct user_param
return ret;
}

static bool arch_supports_noncont_cat(const struct resctrl_test *test)
{
unsigned int eax, ebx, ecx, edx;

/* AMD always supports non-contiguous CBM. */
if (get_vendor() == ARCH_AMD)
return true;

/* Intel support for non-contiguous CBM needs to be discovered. */
if (!strcmp(test->resource, "L3"))
__cpuid_count(0x10, 1, eax, ebx, ecx, edx);
else if (!strcmp(test->resource, "L2"))
__cpuid_count(0x10, 2, eax, ebx, ecx, edx);
else
return false;

return ((ecx >> 3) & 1);
}

static int noncont_cat_run_test(const struct resctrl_test *test,
const struct user_params *uparams)
{
unsigned long full_cache_mask, cont_mask, noncont_mask;
unsigned int eax, ebx, ecx, edx, sparse_masks;
unsigned int sparse_masks;
int bit_center, ret;
char schemata[64];

Expand All @@ -307,15 +326,8 @@ static int noncont_cat_run_test(const struct resctrl_test *test,
if (ret)
return ret;

if (!strcmp(test->resource, "L3"))
__cpuid_count(0x10, 1, eax, ebx, ecx, edx);
else if (!strcmp(test->resource, "L2"))
__cpuid_count(0x10, 2, eax, ebx, ecx, edx);
else
return -EINVAL;

if (sparse_masks != ((ecx >> 3) & 1)) {
ksft_print_msg("CPUID output doesn't match 'sparse_masks' file content!\n");
if (arch_supports_noncont_cat(test) != sparse_masks) {
ksft_print_msg("Hardware and kernel differ on non-contiguous CBM support!\n");
return 1;
}

Expand Down