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

v6.9.3-scx1 #27

Merged
merged 460 commits into from
Jun 3, 2024
Merged
Changes from 1 commit
Commits
Show all changes
460 commits
Select commit Hold shift + click to select a range
b1e86f1
drivers/perf: hisi: hns3: Actually use devm_add_action_or_reset()
Apr 25, 2024
e06cc14
net: give more chances to rcu in netdev_wait_allrefs_any()
Apr 26, 2024
2907d40
macintosh/via-macii: Fix "BUG: sleeping function called from invalid …
fthain Mar 13, 2024
0fa08a5
wifi: carl9170: add a proper sanity check for endpoints
Apr 22, 2024
c58ccdd
bpf: Fix verifier assumptions about socket->sk
Apr 27, 2024
2ee884b
selftests/bpf: Run cgroup1_hierarchy test in own mount namespace
viktormalik Apr 29, 2024
7bbf76c
wifi: ar5523: enable proper endpoint verification
Apr 8, 2024
513202b
pwm: meson: Add check for error from clk_round_rate()
geo-stark Apr 25, 2024
132fe6c
pwm: meson: Use mul_u64_u64_div_u64() for frequency calculating
geo-stark Apr 25, 2024
b34bbc7
bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK…
fomichev Apr 26, 2024
5d39204
sh: kprobes: Merge arch_copy_kprobe() into arch_prepare_kprobe()
geertu Mar 1, 2024
360a2b9
Revert "sh: Handle calling csum_partial with misaligned data"
groeck Mar 24, 2024
be7f3a0
wifi: mt76: mt7603: fix tx queue of loopback packets
nbd168 Apr 2, 2024
ef22ea3
wifi: mt76: mt7603: add wpdma tx eof flag for PSE client reset
nbd168 Apr 3, 2024
e469218
wifi: mt76: connac: check for null before dereferencing
musamaanjum Mar 1, 2024
e55e743
wifi: mt76: mt7996: fix size of txpower MCU command
cmonroe Mar 5, 2024
99e5042
wifi: mt76: mt7925: ensure 4-byte alignment for suspend & wow command
Mar 7, 2024
4bbb204
wifi: mt76: mt7996: fix uninitialized variable in mt7996_irq_tasklet()
LorenzoBianconi Mar 19, 2024
ef46dbb
wifi: mt76: mt7996: fix potential memory leakage when reading chip te…
haogroot Mar 20, 2024
11b5c4d
wifi: mt76: connac: use muar idx 0xe for non-mt799x as well
nbd168 Apr 3, 2024
e1a825c
libbpf: Fix error message in attach_kprobe_multi
olsajiri May 2, 2024
8fa4d56
wifi: nl80211: Avoid address calculations via out of bounds array ind…
kees Apr 24, 2024
ee9afd6
wifi: rtw89: wow: refine WoWLAN flows of HCI interrupts and low power…
May 2, 2024
f0e7830
selftests: ktap_helpers: Make it POSIX-compliant
nfraprado Apr 15, 2024
21ed1bb
selftests: power_supply: Make it POSIX-compliant
nfraprado Apr 15, 2024
de5f9ba
selftests/binderfs: use the Makefile's rules, not Make's implicit rules
johnhubbard May 3, 2024
28ec68c
selftests/resctrl: fix clang build failure: use LOCAL_HDRS
johnhubbard May 3, 2024
a9b783a
selftests: default to host arch for LLVM builds
Mar 29, 2024
b0b755c
kunit: Fix kthread reference
l0kod Apr 8, 2024
dfd7f89
kunit: unregister the device on error
walac Apr 19, 2024
107bbcb
kunit: bail out early in __kunit_test_suites_init() if there are no s…
scottmayhew Mar 21, 2024
6dfbf70
selftests/bpf: Fix pointer arithmetic in test_xdp_do_redirect
michich May 6, 2024
6412366
HID: intel-ish-hid: ipc: Add check for pci_alloc_irq_vectors
Apr 29, 2024
ecb7620
scsi: bfa: Ensure the copied buf is NUL terminated
minhbq-99 Apr 24, 2024
177f43c
scsi: qedf: Ensure the copied buf is NUL terminated
minhbq-99 Apr 24, 2024
ed9dc4d
scsi: qla2xxx: Fix debugfs output for fw_resource_count
hmadhani Apr 26, 2024
6408024
gpio: nuvoton: Fix sgpio irq handle error
jimliu3 May 6, 2024
b6ab028
x86/numa: Fix SRAT lookup of CFMWS ranges with numa_fill_memblks()
May 2, 2024
2abef3e
wifi: mwl8k: initialize cmd->addr[] properly
May 4, 2024
f8eadc9
HID: amd_sfh: Handle "no sensors" in PM operations
basuamd May 7, 2024
381abc4
btrfs: set start on clone before calling copy_extent_buffer_full
josefbacik Apr 14, 2024
17a562c
usb: aqc111: stop lying about skb->truesize
May 6, 2024
c21d6d2
net: usb: sr9700: stop lying about skb->truesize
May 6, 2024
95f00ca
m68k: Fix spinlock race in kernel thread creation
Apr 11, 2024
bde6383
m68k: mac: Fix reboot hang on Mac IIci
fthain May 4, 2024
0b10da6
m68k: Move ARCH_HAS_CPU_CACHE_ALIASING
geertu May 6, 2024
0317af7
selftests: Compile kselftest headers with -D_GNU_SOURCE
edliaw May 7, 2024
efc40e6
selftests/sgx: Include KHDR_INCLUDES in Makefile
edliaw May 7, 2024
d23afe0
dm-delay: fix workqueue delay_timer race
bmarzins May 7, 2024
aa9d9cb
dm-delay: fix hung task introduced by kthread mode
JoelColledge May 6, 2024
ff499d5
dm-delay: fix max_delay calculations
bmarzins May 6, 2024
c243789
ptp: ocp: fix DPLL functions
May 8, 2024
0fe61cf
net: ipv6: fix wrong start position when receive hop-by-hop fragment
Apr 22, 2024
6400d20
eth: sungem: remove .ndo_poll_controller to avoid deadlocks
kuba-moo May 8, 2024
8893b43
selftests: net: add missing config for amt.sh
kuba-moo May 9, 2024
09fb14d
selftests: net: move amt to socat for better compatibility
kuba-moo May 9, 2024
079ff14
net: ethernet: mediatek: split tx and rx fields in mtk_soc_data struct
LorenzoBianconi May 8, 2024
18523fc
net: ethernet: mediatek: use ADMAv1 instead of ADMAv2.0 on MT7981 and…
dangowrt May 8, 2024
229a944
ice: Fix package download algorithm
DanNowlin May 8, 2024
7688fc5
net: ethernet: cortina: Locking fixes
linusw May 9, 2024
a52fa2a
af_unix: Fix data races in unix_release_sock/unix_stream_sendmsg
leitao May 9, 2024
8410a1b
net: usb: smsc95xx: stop lying about skb->truesize
May 9, 2024
d73fb8b
net: openvswitch: fix overwriting ct original tuple for ICMPv6
igsilya May 9, 2024
54a6fb6
ipv6: sr: add missing seg6_local_exit
liuhangbin May 9, 2024
50e5329
ipv6: sr: fix incorrect unregister order
liuhangbin May 9, 2024
c04d6a9
ipv6: sr: fix invalid unregister error path
liuhangbin May 9, 2024
f7e6cfb
net/mlx5e: Fix netif state handling
shayshyi May 9, 2024
05d9d7b
net/mlx5: Fix peer devlink set for SF representor devlink port
shayshyi May 9, 2024
0f320f2
net/mlx5: Reload only IB representors upon lag disable/enable
msanalla May 9, 2024
9402433
net/mlx5: Add a timeout to acquire the command queue semaphore
May 9, 2024
7ac4c69
net/mlx5: Discard command completions in internal error
May 9, 2024
193377f
s390/bpf: Emit a barrier for BPF_FETCH instructions
iii-i May 7, 2024
e2707bc
riscv, bpf: make some atomic operations fully ordered
puranjaymohan May 5, 2024
130be64
inet: fix inet_fill_ifaddr() flags truncation
May 10, 2024
5954945
ax25: Use kernel universal linked list to implement ax25_dev_list
stonezdm May 9, 2024
1ea0269
ax25: Fix reference count leak issues of ax25_dev
stonezdm May 9, 2024
eef95df
ax25: Fix reference count leak issue of net_device
stonezdm May 9, 2024
0aca9ef
dpll: fix return value check for kmemdup
May 13, 2024
87bcbc9
net: fec: remove .ndo_poll_controller to avoid deadlocks
May 11, 2024
bcd9450
mptcp: SO_KEEPALIVE: fix getsockopt support
matttbe May 14, 2024
c4d5cc8
mptcp: fix full TCP keep-alive support
matttbe May 14, 2024
6f476af
net: stmmac: move the EST lock to struct stmmac_priv
xiaoleiwang123456 May 13, 2024
64a47cf
net: micrel: Fix receiving the timestamp in the frame for lan8841
HoratiuVultur May 13, 2024
0c28765
Bluetooth: compute LE flow credits based on recvbuf space
surban May 1, 2024
4a171b9
Bluetooth: qca: Fix error code in qca_read_fw_build_info()
May 4, 2024
c581c33
Bluetooth: ISO: Make iso_get_sock_listen generic
iulia-tanasescu Apr 2, 2024
af1d425
Bluetooth: HCI: Remove HCI_AMP support
Vudentz May 6, 2024
ec339f0
Bluetooth: hci_conn, hci_sync: Use __counted_by() to avoid -Wfamnae w…
GustavoARSilva Apr 26, 2024
0baa803
Bluetooth: hci_core: Fix not handling hdev->le_num_of_adv_sets=1
Vudentz May 13, 2024
9ea499a
drm/panel-edp: Add prepare_to_enable to 200ms for MNC207QS1-1
Mar 1, 2024
ceb79a4
drm/bridge: Fix improper bridge init order with pre_enable_prev_first
openedev Mar 28, 2023
c93d80c
drm/ci: update device type for volteer devices
vigneshraman Mar 7, 2024
6816044
drm/nouveau/dp: Fix incorrect return code in r535_dp_aux_xfer()
Lyude Mar 15, 2024
e669be0
drm/omapdrm: Fix console by implementing fb_dirty
tmlind Feb 28, 2024
4ca427f
drm/omapdrm: Fix console with deferred ops
tmlind Feb 28, 2024
5184e5a
printk: Let no_printk() use _printk()
geertu Feb 28, 2024
ff05993
dev_printk: Add and use dev_no_printk()
geertu Feb 28, 2024
cf26003
drm/lcdif: Do not disable clocks on already suspended hardware
Feb 26, 2024
9386206
drm/panel: atna33xc20: Fix unbalanced regulator in the case HPD doesn…
dianders Mar 13, 2024
7226ddf
drm/amd/display: Fix potential index out of bounds in color transform…
srishanm Feb 26, 2024
6a9cffd
drm/amd/display: Remove redundant condition in dcn35_calc_blocks_to_g…
srishanm Feb 24, 2024
214c70c
ASoC: Intel: Disable route checks for Skylake boards
crojewsk-intel Mar 8, 2024
308bff2
ASoC: Intel: avs: ssm4567: Do not ignore route checks
crojewsk-intel Mar 8, 2024
c2db9cb
mtd: core: Report error if first mtd_otp_size() call fails in mtd_otp…
Mar 13, 2024
0411814
mtd: rawnand: hynix: fixed typo
ProjectMutilation Mar 13, 2024
a8e0125
drm/imagination: avoid -Woverflow warning
arndb Mar 22, 2024
0c052b1
ASoC: mediatek: Assign dummy when codec not specified for a DAI link
Mar 13, 2024
6127ea0
drm/panel: ltk050h3146w: add MIPI_DSI_MODE_VIDEO to LTK050H3148W flags
Mar 20, 2024
4e8de27
drm/panel: ltk050h3146w: drop duplicate commands from LTK050H3148W init
Mar 20, 2024
5609a44
fbdev: shmobile: fix snprintf truncation
arndb Mar 26, 2024
802b49e
ASoC: kirkwood: Fix potential NULL dereference
Mar 28, 2024
ec63746
drm/meson: vclk: fix calculation of 59.94 fractional rates
chewitt Jan 9, 2024
fb4aabd
drm/mediatek: Add 0 size check to mtk_drm_gem_obj
Mar 7, 2024
9fe2cc3
drm/mediatek: Init `ddp_comp` with devm_kcalloc()
dianders Mar 28, 2024
6402834
ASoC: SOF: Intel: hda-dai: fix channel map configuration for aggregat…
plbossart Apr 2, 2024
5ef39cc
powerpc/fsl-soc: hide unused const variable
arndb Apr 3, 2024
f25539a
ASoC: SOF: Intel: mtl: Correct rom_status_reg
ujfalusi Apr 3, 2024
0f92530
ASoC: SOF: Intel: lnl: Correct rom_status_reg
ujfalusi Apr 3, 2024
f7eacef
ASoC: SOF: Intel: mtl: Disable interrupts when firmware boot failed
ujfalusi Apr 3, 2024
fae7c3d
ASoC: SOF: Intel: mtl: Implement firmware boot state check
ujfalusi Apr 3, 2024
f3a0cd9
fbdev: sisfb: hide unused variables
arndb Apr 3, 2024
0b6d0d1
selftests: cgroup: skip test_cgcore_lesser_ns_open when cgroup2 mount…
dtcccc Mar 27, 2024
b33040a
ASoC: Intel: avs: Restore stream decoupling on prepare
Apr 5, 2024
1259625
ASoC: Intel: avs: Fix debug-slot offset calculation
crojewsk-intel Apr 5, 2024
70d058d
ASoC: Intel: avs: Fix ASRC module initialization
crojewsk-intel Apr 5, 2024
3c2521a
ASoC: Intel: avs: Fix potential integer overflow
crojewsk-intel Apr 5, 2024
252c05e
ASoC: Intel: avs: Test result of avs_get_module_entry()
crojewsk-intel Apr 5, 2024
303dc93
media: ngene: Add dvb_ca_en50221_init return value check
Mar 1, 2024
c58270d
staging: media: starfive: Remove links when unregistering devices
changhuangliang Mar 11, 2024
0d27a84
media: rcar-vin: work around -Wenum-compare-conditional warning
arndb Mar 22, 2024
64dc853
media: radio-shark2: Avoid led_names truncations
ribalda Mar 25, 2024
4788971
drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference
Apr 8, 2024
88d7042
platform/x86: xiaomi-wmi: Fix race condition when reporting key events
Wer-Wolf Apr 2, 2024
01cabb4
drm/msm/dp: allow voltage swing / pre emphasis of 3
lumag Feb 3, 2024
d7ef314
drm/msm/dp: Avoid a long timeout for AUX transfer if nothing connected
dianders Mar 15, 2024
f8035d0
drm/msm/dp: Account for the timeout in wait_hpd_asserted() callback
dianders Mar 15, 2024
a58975f
media: ipu3-cio2: Request IRQ earlier
Dec 20, 2022
cea7eb9
media: dt-bindings: ovti,ov2680: Fix the power supply names
Apr 2, 2024
904db2b
media: i2c: et8ek8: Don't strip remove function when driver is builtin
Mar 24, 2024
8e4d288
media: v4l2-subdev: Fix stream handling for crop API
pinchartl Apr 1, 2024
f5ec77c
fbdev: sh7760fb: allow modular build
rddunlap Feb 10, 2024
6482c43
media: atomisp: ssh_css: Fix a null-pointer dereference in load_video…
AlexiousLu Jan 18, 2024
93f76ec
drm/arm/malidp: fix a possible null pointer dereference
Apr 7, 2024
bd7827d
drm: vc4: Fix possible null pointer dereference
Apr 9, 2024
3f05a1a
ASoC: tracing: Export SND_SOC_DAPM_DIR_OUT to its value
rostedt Apr 16, 2024
ccf8dc4
drm/bridge: anx7625: Don't log an error when DSI host can't be found
nfraprado Apr 15, 2024
4f9faca
drm/bridge: icn6211: Don't log an error when DSI host can't be found
nfraprado Apr 15, 2024
69bc77f
drm/bridge: lt8912b: Don't log an error when DSI host can't be found
nfraprado Apr 15, 2024
a86321b
drm/bridge: lt9611: Don't log an error when DSI host can't be found
nfraprado Apr 15, 2024
72ca417
drm/bridge: lt9611uxc: Don't log an error when DSI host can't be found
nfraprado Apr 15, 2024
a073e01
drm/bridge: tc358775: Don't log an error when DSI host can't be found
nfraprado Apr 15, 2024
3673f70
drm/bridge: dpc3433: Don't log an error when DSI host can't be found
nfraprado Apr 15, 2024
48de4f9
drm/panel: novatek-nt35950: Don't log an error when DSI host can't be…
nfraprado Apr 15, 2024
d8285fe
drm/bridge: anx7625: Update audio status while detecting
Apr 16, 2024
88fcce7
drm/panel: simple: Add missing Innolux G121X1-L03 format, flags, conn…
Mar 28, 2024
4a67ebe
ALSA: hda: cs35l41: Remove Speaker ID for Lenovo Legion slim 7 16ARHA7
Apr 11, 2024
8971b2d
drm/mipi-dsi: use correct return type for the DSC functions
lumag Apr 7, 2024
fd8ca99
media: uvcvideo: Add quirk for Logitech Rally Bar
ribalda Apr 4, 2024
ee4ff1b
drm/rockchip: vop2: Do not divide height twice for YUV
cazou Apr 14, 2024
65e964b
RISC-V: Fix the typo in Scountovf CSR name
atishp04 Apr 20, 2024
3092ef7
drm/edid: Parse topology block for all DispID structure v1.x
vsyrjala Apr 10, 2024
9dc1df6
media: cadence: csi2rx: configure DPHY before starting source stream
Feb 23, 2024
ae96311
power: supply: core: simplify charge_behaviour formatting
t-8ch Mar 29, 2024
bacf2b4
clk: samsung: exynosautov9: fix wrong pll clock id value
jwn0222 Mar 28, 2024
85bb348
RDMA/mlx5: Uncacheable mkey has neither rb_key or cache_ent
ohartoov Apr 3, 2024
da415a2
RDMA/mlx5: Change check for cacheable mkeys
ohartoov Apr 3, 2024
959a831
RDMA/mlx5: Adding remote atomic access flag to updatable flags
ohartoov Apr 3, 2024
d998108
clk: mediatek: pllfh: Don't log error for missing fhctl node
nfraprado Mar 8, 2024
ef9e376
iommu: Undo pasid attachment only for the devices that have succeeded
yiliu1765 Mar 28, 2024
f935def
RDMA/hns: Fix return value in hns_roce_map_mr_sg
zhengchaoshao Apr 11, 2024
28f051d
RDMA/hns: Add max_ah and cq moderation capacities in query_device()
Apr 12, 2024
d271e66
RDMA/hns: Fix deadlock on SRQ async events.
Apr 12, 2024
37a7559
RDMA/hns: Fix UAF for cq async event
Apr 12, 2024
ba8112c
RDMA/hns: Fix mismatch exception rollback
Apr 12, 2024
a217037
RDMA/hns: Fix GMV table pagesize
Apr 12, 2024
8723e8b
RDMA/hns: Use complete parentheses in macros
Apr 12, 2024
06cf121
RDMA/hns: Modify the print level of CQE error
Apr 12, 2024
524d555
clk: mediatek: mt8365-mm: fix DPI0 parent
amergnat Apr 18, 2024
9f885ce
clk: rs9: fix wrong default value for clock amplitude
catalin-popescu Apr 15, 2024
90f8528
clk: qcom: clk-alpha-pll: remove invalid Stromer register offset
juhosg Mar 11, 2024
12c46eb
clk: samsung: gs101: propagate PERIC0 USI SPI clock rate
ambarus Apr 19, 2024
7e4ff47
clk: samsung: gs101: propagate PERIC1 USI SPI clock rate
ambarus Apr 19, 2024
30df4be
RDMA/rxe: Fix seg fault in rxe_comp_queue_pkt
Mar 29, 2024
e6b04fa
RDMA/rxe: Allow good work requests to be executed
Mar 29, 2024
4fa07c3
RDMA/rxe: Fix incorrect rxe_put in error path
Mar 29, 2024
e028ff4
IB/mlx5: Use __iowrite64_copy() for write combining stores
jgunthorpe Apr 11, 2024
192dd0b
clk: renesas: r8a779a0: Fix CANFD parent clock
geertu Apr 16, 2024
8134c37
clk: renesas: r9a07g043: Add clock and reset entry for PLIC
prabhakarlad Apr 3, 2024
3b20d18
lib/test_hmm.c: handle src_pfns and dst_pfns allocation failure
stonezdm Mar 12, 2024
a08d945
mm/ksm: fix ksm exec support for prctl
tujinjiang11 Mar 28, 2024
0fc8caa
clk: qcom: dispcc-sm8450: fix DisplayPort clocks
lumag Apr 24, 2024
7e75e4c
clk: qcom: dispcc-sm6350: fix DisplayPort clocks
lumag Apr 24, 2024
da04b9a
clk: qcom: dispcc-sm8550: fix DisplayPort clocks
lumag Apr 24, 2024
37dcba7
clk: qcom: dispcc-sm8650: fix DisplayPort clocks
lumag Apr 24, 2024
98a1cfa
clk: qcom: mmcc-msm8998: fix venus clock issue
Zebra345 Apr 25, 2024
88ecd54
x86/insn: Fix PUSH instruction in x86 instruction decoder opcode map
ahunter6 May 2, 2024
83bd32a
x86/insn: Add VEX versions of VPDPBUSD, VPDPBUSDS, VPDPWSSD and VPDPW…
ahunter6 May 2, 2024
4f70272
ext4: avoid excessive credit estimate in ext4_tmpfile()
jankara Mar 7, 2024
57de310
RDMA/mana_ib: Introduce helpers to create and destroy mana queues
Mar 26, 2024
6e59dcd
RDMA/mana_ib: Use struct mana_ib_queue for CQs
Mar 26, 2024
168f6fb
RDMA/mana_ib: boundary check before installing cq callbacks
Apr 26, 2024
c38eaa9
virt: acrn: stop using follow_pfn
Mar 24, 2024
2c8d6e2
drivers/virt/acrn: fix PFNMAP PTE checks in acrn_vm_ram_map()
davidhildenbrand Apr 10, 2024
ff67c88
iommu/vt-d: Decouple igfx_off from graphic identity mapping
LuBaolu May 3, 2024
6f69d9a
iommu/amd: Enable Guest Translation after reading IOMMU feature register
hegdevasant May 6, 2024
30d91a2
sunrpc: removed redundant procp check
Mar 27, 2024
83429bf
nfsd: don't create nfsv4recoverydir in nfsdfs when not used.
neilbrown Apr 16, 2024
ca4ac88
dax/bus.c: replace WARN_ON_ONCE() with lockdep asserts
stellarhopper Apr 30, 2024
ed049a1
dax/bus.c: fix locking for unregister_dax_dev / unregister_dax_mappin…
stellarhopper Apr 30, 2024
5c7c179
dax/bus.c: don't use down_write_killable for non-user processes
stellarhopper Apr 30, 2024
76ee68d
dax/bus.c: use the right locking mode (read vs write) in size_show
stellarhopper Apr 30, 2024
4ab4224
ext4: fix potential unnitialized variable
Apr 17, 2024
ad78fd9
ext4: remove the redundant folio_wait_stable()
zhangyi089 Apr 19, 2024
939ce2f
clk: qcom: Fix SC_CAMCC_8280XP dependencies
nathanchance Mar 18, 2024
e0cfada
clk: qcom: Fix SM_GPUCC_8650 dependencies
nathanchance Mar 18, 2024
0224bf5
clk: qcom: apss-ipq-pll: fix PLL rate for IPQ5018
juhosg Mar 26, 2024
e45b693
of: module: add buffer overflow check in of_modalias()
Apr 14, 2024
8b799c0
bnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq
michich May 7, 2024
8ca1489
SUNRPC: Fix gss_free_in_token_pages()
chucklever May 7, 2024
cf640a9
selftests/damon/_damon_sysfs: check errors from nr_schemes file reads
sjp38 May 3, 2024
8ff23f8
selftests/kcmp: remove unused open mode
edliaw Apr 29, 2024
1a8c2cc
RDMA/IPoIB: Fix format truncation compilation errors
rleon May 9, 2024
b3a7fb9
RDMA/cma: Fix kmemleak in rdma_core observed during blktests nvme/rdm…
zhuyj May 10, 2024
c29a9b8
samples/landlock: Fix incorrect free in populate_ruleset_net
sm1ling-knight Mar 26, 2024
52e665d
tracing/user_events: Fix non-spaced field matching
beaubelgrave Apr 23, 2024
df003a1
modules: Drop the .export_symbol section from the final modules
AlooGS Apr 17, 2024
5b5d669
net: bridge: xmit: make sure we have at least eth header len bytes
NikAleksandrov May 13, 2024
a431a0e
selftests: net: bridge: increase IGMP/MLD exclude timeout membership …
NikAleksandrov May 13, 2024
e43dd2b
net: bridge: mst: fix vlan use-after-free
NikAleksandrov May 13, 2024
5ca5051
libbpf: fix feature detectors when using token_fd
anakryiko May 13, 2024
ebe7716
net: qrtr: ns: Fix module refcnt
quic-clew May 13, 2024
8982124
selftests/net/lib: no need to record ns name if it already exist
liuhangbin May 14, 2024
a4bb924
idpf: don't skip over ethtool tcp-data-split setting
michich May 15, 2024
5bc50a7
netrom: fix possible dead-lock in nr_rt_ioctl()
May 15, 2024
22a9f30
af_packet: do not call packet_read_pending() from tpacket_destruct_skb()
May 15, 2024
e927daa
sched/fair: Allow disabling sched_balance_newidle with sched_relax_do…
vitalyvb Apr 30, 2024
b85d872
sched/core: Fix incorrect initialization of the 'burst' parameter in …
Apr 24, 2024
20844ad
net: wangxun: fix to change Rx features
May 17, 2024
ef5b69d
net: wangxun: match VLAN CTAG and STAG features
May 17, 2024
a7d3af9
net: txgbe: fix to control VLAN strip
May 17, 2024
7207cbc
l2tp: fix ICMP error handling for UDP-encap sockets
tomparkin May 13, 2024
108fd11
Revert "selftests: Compile kselftest headers with -D_GNU_SOURCE"
shuahkh May 17, 2024
68648fe
Revert "selftests/sgx: Include KHDR_INCLUDES in Makefile"
shuahkh May 17, 2024
1b4861e
Linux 6.9.3
gregkh May 30, 2024
d80d962
Merge tag 'v6.9.3' into scx-6.9.2-scx1
Byte-Lab Jun 3, 2024
f7b8e9c
Fix typo
vax-r May 23, 2024
634097d
scx: Branchless implementation of highest_bit
vax-r May 21, 2024
8e01c54
Sync with scx repo
vax-r May 26, 2024
d16a2e4
SCX: Synchronize boot CPU's online state with SCX_RQ_ONLINE
htejun May 28, 2024
6197b79
v6.9.3-scx1
Byte-Lab Jun 3, 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: default to host arch for LLVM builds
[ Upstream commit d4e6fbd ]

Align the behavior for gcc and clang builds by interpreting unset
`ARCH` and `CROSS_COMPILE` variables in `LLVM` builds as a sign that the
user wants to build for the host architecture.

This patch preserves the properties that setting the `ARCH` variable to an
unknown value will trigger an error that complains about insufficient
information, and that a set `CROSS_COMPILE` variable will override the
target triple that is determined based on presence/absence of `ARCH`.

When compiling with clang, i.e., `LLVM` is set, an unset `ARCH` variable in
combination with an unset `CROSS_COMPILE` variable, i.e., compiling for
the host architecture, leads to compilation failures since `lib.mk` can
not determine the clang target triple. In this case, the following error
message is displayed for each subsystem that does not set `ARCH` in its
own Makefile before including `lib.mk` (lines wrapped at 75 chrs):

  make[1]: Entering directory '/mnt/build/linux/tools/testing/selftests/
   sysctl'
  ../lib.mk:33: *** Specify CROSS_COMPILE or add '--target=' option to
   lib.mk.  Stop.
  make[1]: Leaving directory '/mnt/build/linux/tools/testing/selftests/
   sysctl'

In the same scenario a gcc build would default to the host architecture,
i.e., it would use plain `gcc`.

Fixes: 795285e ("selftests: Fix clang cross compilation")
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Valentin Obst <kernel@valentinobst.de>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Valentin Obst authored and gregkh committed May 30, 2024
commit a9b783a886c71db86aa051e2ee164340db026355
12 changes: 10 additions & 2 deletions tools/testing/selftests/lib.mk
Original file line number Diff line number Diff line change
@@ -7,6 +7,8 @@ else ifneq ($(filter -%,$(LLVM)),)
LLVM_SUFFIX := $(LLVM)
endif

CLANG := $(LLVM_PREFIX)clang$(LLVM_SUFFIX)

CLANG_TARGET_FLAGS_arm := arm-linux-gnueabi
CLANG_TARGET_FLAGS_arm64 := aarch64-linux-gnu
CLANG_TARGET_FLAGS_hexagon := hexagon-linux-musl
@@ -18,7 +20,13 @@ CLANG_TARGET_FLAGS_riscv := riscv64-linux-gnu
CLANG_TARGET_FLAGS_s390 := s390x-linux-gnu
CLANG_TARGET_FLAGS_x86 := x86_64-linux-gnu
CLANG_TARGET_FLAGS_x86_64 := x86_64-linux-gnu
CLANG_TARGET_FLAGS := $(CLANG_TARGET_FLAGS_$(ARCH))

# Default to host architecture if ARCH is not explicitly given.
ifeq ($(ARCH),)
CLANG_TARGET_FLAGS := $(shell $(CLANG) -print-target-triple)
else
CLANG_TARGET_FLAGS := $(CLANG_TARGET_FLAGS_$(ARCH))
endif

ifeq ($(CROSS_COMPILE),)
ifeq ($(CLANG_TARGET_FLAGS),)
@@ -30,7 +38,7 @@ else
CLANG_FLAGS += --target=$(notdir $(CROSS_COMPILE:%-=%))
endif # CROSS_COMPILE

CC := $(LLVM_PREFIX)clang$(LLVM_SUFFIX) $(CLANG_FLAGS) -fintegrated-as
CC := $(CLANG) $(CLANG_FLAGS) -fintegrated-as
else
CC := $(CROSS_COMPILE)gcc
endif # LLVM