Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
c9536ff
drm/hisilicon/hibmc: add dp aux in hibmc drivers
mark1188-ui Mar 14, 2025
9185d84
drm/hisilicon/hibmc: add dp link moduel in hibmc drivers
mark1188-ui Mar 14, 2025
460e28b
drm/hisilicon/hibmc: add dp hw moduel in hibmc driver
mark1188-ui Mar 14, 2025
b0db20f
drm/hisilicon/hibmc: refactored struct hibmc_drm_private
mark1188-ui Mar 14, 2025
bbc4641
drm/hisilicon/hibmc: add dp module in hibmc
mark1188-ui Mar 14, 2025
c386f2f
drm/encoder: Introduce drmm_encoder_init
mripard Jul 11, 2022
4d7808b
soc: hisilicon: kunpeng_hccs: Add the check for obtaining complete po…
LiHuiSong1 Apr 17, 2024
7a1017e
soc: hisilicon: kunpeng_hccs: Fix a PCC typo
LiHuiSong1 Aug 28, 2024
14b5358
soc: hisilicon: kunpeng_hccs: Return failure on having not die or por…
LiHuiSong1 Aug 28, 2024
1462a40
soc: hisilicon: kunpeng_hccs: Add the check for base address and size…
LiHuiSong1 Aug 28, 2024
c332d3f
soc: hisilicon: kunpeng_hccs: Fix the 'lane_mode' field name in port …
LiHuiSong1 Aug 28, 2024
e3a3b64
doc: soc: hisilicon: Add Kunpeng HCCS driver documentation
LiHuiSong1 Aug 8, 2023
b6011c2
doc: kunpeng_hccs: Fix incorrect email domain name
LiHuiSong1 Dec 1, 2023
48bfa9f
soc: hisilicon: kunpeng_hccs: Add used HCCS types sysfs
LiHuiSong1 Aug 28, 2024
aab4d7a
soc: hisilicon: kunpeng_hccs: Support low power feature for the speci…
LiHuiSong1 Aug 28, 2024
3c471fb
soc: hisilicon: kunpeng_hccs: Fix incorrect string assembly
LiHuiSong1 Mar 14, 2025
3853a63
locking: Introduce __cleanup() based infrastructure
May 26, 2023
c97aa2c
cleanup: Add conditional guard support
Sep 17, 2023
72b9385
cleanup: Adjust scoped_guard() macros to avoid potential warning
pkitszel Oct 18, 2024
de813f7
cleanup: Remove address space of returned pointer
ubizjak Aug 19, 2024
8210010
hwtracing: hisi_ptt: Fix up for "iommu/dma: Make header private"
sfrothwell Sep 12, 2022
d842930
hwtracing: hisi_ptt: Optimize the trace data committing
Oct 10, 2023
82ff15a
perf header: Fix one memory leakage in perf_event__fprintf_event_upda…
Mar 20, 2024
39f8d8d
PCI/ASPM: Update ASPM sysfs on MFD function removal to avoid use-afte…
Jul 30, 2024
abea11f
hwtracing: hisi_ptt: Initialize the filter sysfs attribute when alloc…
Feb 15, 2025
64d505b
hwtracing: hisi_ptt: Check duplicate filters before allocation
Feb 24, 2025
4d1aaab
PCI/DPC: Ignore Surprise Down error on hot removal
skoralah Feb 7, 2024
dc06d96
perf hisi-ptt: Fix memory leak in lseek failure handling
visitorckw Dec 7, 2023
4ac70e3
Add gpio-hisi softdepend
May 8, 2025
990c6c9
i2c: hisi: Add I2C controller reset and initialization proccess in bu…
Mar 28, 2024
6284f65
i2c: hisi: Correct the description comment for PIN_MUX METHOD
Apr 28, 2024
0913305
tpm,tpm_tis: Avoid warning splat at shutdown
linosanfilippo-kunbus Feb 1, 2024
2d8bc0e
spi: hisi-kunpeng: Delete the dump interface of data registers in deb…
Apr 10, 2024
b10c26c
gpiolib: acpi: Fix failed in acpi_gpiochip_find() by adding parent no…
May 9, 2024
b02c1bc
spi: hisi-kunpeng: Add validation for the minimum value of speed_hz
Apr 11, 2024
8346483
spi: Add verification for the max_frequency provided by the firmware
Apr 11, 2024
81e1c80
Revert "spi: Add verification for the max_frequency provided by the f…
Jul 2, 2025
37095ec
spi: Add verification for the max_frequency provided by the firmware
Jul 2, 2025
e9897b6
ACPI: thermal: Move to dedicated function sysfs extra attr creation
dlezcano Apr 19, 2023
d2e87d9
drivers/perf: hisi: Add support for HiSilicon H60PA and PAv3 PMU driver
Jun 15, 2023
e50af45
drivers/perf: hisi: Add support for HiSilicon UC PMU driver
Jun 15, 2023
ea713b7
drivers/perf: hisi: Define a symbol namespace for HiSilicon Uncore PMUs
Apr 11, 2025
a58e531
drivers/perf: hisi: Don't update the associated_cpus on CPU offline
Apr 11, 2025
2d0149d
drivers/perf: hisi: Migrate to one online CPU if no associated one on…
Apr 11, 2025
6d54e54
drivers/perf: hisi: Refactor the detection of associated CPUs
Apr 11, 2025
0b73c74
drivers/perf: hisi: Extract topology information to a separate structure
Apr 11, 2025
04edc77
drivers/perf: hisi: Add a common function to retrieve topology from f…
Apr 11, 2025
407a3bf
drivers/perf: hisi: Provide a generic implementation of cpumask/ident…
Apr 11, 2025
f6c4ff6
drivers/perf: hisi: Export associated CPUs of each PMU through sysfs
Apr 11, 2025
30ba884
drivers/perf: hisi: Fix incorrect variable name "hha_pmu" in DDRC PMU…
Apr 11, 2025
7dbe8e6
drivers/perf: hisi: Delete redundant blank line of DDRC PMU
Apr 11, 2025
473ed78
drivers/perf: hisi: Add support for HiSilicon DDRC v3 PMU driver
Dec 5, 2024
fb9567b
drivers/perf: hisi: Simplify the probe process for each DDRC version
Apr 11, 2025
f95cf89
drivers/perf: hisi: Add support for HiSilicon DDRC v3 PMU driver
Apr 11, 2025
3d001fa
drivers/perf: hisi: Use ACPI driver_data to retrieve SLLC PMU informa…
Apr 11, 2025
c4a268e
drivers/perf: hisi: Add support for HiSilicon SLLC v3 PMU driver
Apr 11, 2025
c74eaec
drivers/perf: hisi: Relax the event number check of v2 PMUs
Apr 11, 2025
2f8d2e5
drivers/perf: hisi: Support PMUs with no interrupt
Apr 11, 2025
562a0b1
drivers/perf: hisi: Add support for HiSilicon NoC PMU
Apr 11, 2025
6c4557a
drivers/perf: hisi: Add support for HiSilicon MN PMU driver
Apr 11, 2025
a07d92a
drivers/perf: hisi: Relax the event ID check in the framework
Apr 16, 2025
5b52a03
drivers/perf: hisi: Export hisi_uncore_pmu_isr()
Apr 16, 2025
3beffc9
drivers/perf: hisi: Simplify the probe process of each L3C PMU version
Apr 16, 2025
831a87b
drivers/perf: hisi: Extract the event filter check of L3C PMU
Apr 16, 2025
8e4115a
drivers/perf: hisi: Extend the field of tt_core
Apr 16, 2025
6e3f380
drivers/perf: hisi: Refactor the event configuration of L3C PMU
Apr 16, 2025
a285be2
drivers/perf: hisi: Add support for L3C PMU v3
Apr 16, 2025
9366dbc
drivers/perf: hisi: Clarifying event names and fix event ID for pa_pmu
Jun 16, 2025
1cb40c3
perf: Remove unstable events for uncore L3C PMU
Jun 16, 2025
7055e9c
drivers/perf: hisi: Fixes the incorrect bitmask limit for the CPA eve…
Jun 16, 2025
65f4bb4
drivers/perf: hisi: Add events and rename event "cycle" for pa_pmu
Jun 17, 2025
4906e71
Add gpio-hisi softdepend
May 8, 2025
41055ae
i2c: hisi: Add I2C controller reset and initialization proccess in bu…
Mar 28, 2024
f67733c
i2c: hisi: Correct the description comment for PIN_MUX METHOD
Apr 28, 2024
f5d1be4
tpm,tpm_tis: Avoid warning splat at shutdown
linosanfilippo-kunbus Feb 1, 2024
6569f89
spi: hisi-kunpeng: Delete the dump interface of data registers in deb…
Apr 10, 2024
3d4046e
gpiolib: acpi: Fix failed in acpi_gpiochip_find() by adding parent no…
May 9, 2024
2855ab8
spi: hisi-kunpeng: Add validation for the minimum value of speed_hz
Apr 11, 2024
27a7f22
spi: Add verification for the max_frequency provided by the firmware
Apr 11, 2024
e1e0b06
Revert "spi: Add verification for the max_frequency provided by the f…
Jul 2, 2025
6d53a10
spi: Add verification for the max_frequency provided by the firmware
Jul 2, 2025
c7ffeb5
ACPI: thermal: Move to dedicated function sysfs extra attr creation
dlezcano Apr 19, 2023
23d2daf
Revert "ACPI: thermal: Move to dedicated function sysfs extra attr cr…
Jul 3, 2025
ba930d9
ACPI: Use acpi_fetch_acpi_dev() instead of acpi_bus_get_device()
rafaeljw Dec 3, 2021
f217cfd
hwmon: (acpi_power_meter) Fix fail to load module on platform without…
LiHuiSong1 Apr 1, 2025
8f5f533
hwmon: (acpi_power_meter) Fix uninitialized variables
LiHuiSong1 Apr 1, 2025
b2dd90e
hwmon: (acpi_power_meter) Fix update the power trip points on failure
LiHuiSong1 Apr 1, 2025
762963f
hwmon: (acpi_power_meter) Fix a check for the return value of read_do…
Kazuhiro-Abe-fj Apr 1, 2025
ed7e356
hwmon: (acpi_power_meter) Fix the fake power alarm reporting
LiHuiSong1 Apr 1, 2025
e934d19
ACPI: IPMI: Add helper to wait for when SMI is selected
khfeng Apr 15, 2025
66f1d15
hwmon: (acpi_power_meter) Ensure IPMI space handler is ready on Dell …
khfeng Apr 15, 2025
7242c9e
hwmon: Fix the missing of 'average' word in hwmon_power_attr_templates
LiHuiSong1 Apr 15, 2025
cbd840c
hwmon: (acpi_power_meter) Replace the deprecated hwmon_device_register
LiHuiSong1 Apr 15, 2025
8986c67
cpufreq: Support per-policy performance boost
Jul 3, 2025
e668982
cpufreq: Fix per-policy boost behavior on SoCs using cpufreq_boost_se…
Jul 3, 2025
2733f4a
cpufreq: Allow drivers to advertise boost enabled
superm1 Jul 3, 2025
dd1d249
cpufreq: Introduce a more generic way to set default per-policy boost…
Jul 3, 2025
5bfffb5
cpufreq: CPPC: Fix wrong max_freq in policy initialization
Jul 3, 2025
c7c8bf0
cpufreq: ACPI: Defer setting boost MSRs
stuartwhayes Jul 3, 2025
d3e33e3
cpufreq: ACPI: Only set boost MSRs on supported CPUs
stuartwhayes Jul 3, 2025
65d7c0c
cpufreq: ACPI: Mark boost policy as enabled when setting boost
superm1 Jul 3, 2025
5614364
cpufreq: ACPI: Remove set_boost in acpi_cpufreq_cpu_init()
Jul 3, 2025
2474530
cpufreq: prevent NULL dereference in cpufreq_online()
AboorvaDevarajan Jul 3, 2025
b225c0c
cpufreq: governor: Fix negative 'idle_time' handling in dbs_update()
Jul 3, 2025
c0f7750
cpufreq: Fix re-boost issue after hotplugging a CPU
Jul 3, 2025
2ea367f
Merge branch 'buweiorz:5.15-velinux' into 5.15-velinux
Lzeyan Jul 3, 2025
b931c33
Revert "gpiolib: acpi: Fix failed in acpi_gpiochip_find() by adding p…
Jul 3, 2025
6bf70f4
Revert "ACPI: Use acpi_fetch_acpi_dev() instead of acpi_bus_get_devic…
Jul 3, 2025
fbf8382
ipmi: Add erratum 162102203 config to enable workaround for SMS messa…
Oct 31, 2023
8692ac9
Merge pull request #36 from Lzeyan/5.15-velinux
buweiorz Jul 3, 2025
84a1a12
drm: Move nomodeset kernel parameter to the DRM subsystem
martinezjavier Nov 12, 2021
ecb7197
drm: Provide PCI module-init macros
tdz Dec 22, 2021
9c7f23e
drm: Provide platform module-init macro
martinezjavier Dec 22, 2021
220d1e8
drm/hisilicon/hibmc: Replace module initialization with DRM helpers
tdz Dec 22, 2021
cd24d91
drm: Remove drm_mode_config::fb_base
zackr Oct 19, 2022
12d24d8
drm/hisilicon/hibmc: Include <linux/io.h> for readl() and writel()
tdz Nov 7, 2022
154205d
drm/hisilicon/hibmc: Fix preferred depth and bpp
tdz Nov 23, 2022
9ee523c
drm: Move radeon and amdgpu Kconfig options into their directories
glneo Oct 26, 2022
571f639
drm: Only select I2C_ALGOBIT for drivers that actually need it
Dec 19, 2022
7abfc12
drm: Remove struct drm_driver.gem_prime_mmap
tdz Jun 13, 2023
d49a3ae
cpu/SMT: Provide a default topology_is_primary_thread()
Jul 3, 2025
40c299a
arch_topology: Don't set cluster identifier as physical package ident…
sudeep-holla Jul 3, 2025
f927598
arch_topology: Add support for parsing sockets in /cpu-map
sudeep-holla Jul 3, 2025
0d4d728
cpu/SMT: Move SMT prototypes into cpu_smt.h
mpe Jul 3, 2025
3d9acc1
cpu/SMT: Store the current/max number of threads
mpe Jul 3, 2025
f35ea84
cpu/SMT: Remove topology_smt_supported()
ldu4 Jul 3, 2025
ee272ec
arch_topology: Support SMT control for OF based system
Jul 3, 2025
32cfbe8
arm64: topology: Support SMT control on ACPI based system
Jul 3, 2025
75df7f0
arm64: Kconfig: Enable HOTPLUG_SMT
Jul 3, 2025
cda58d9
arm64: add HWCAP for FEAT_HBC (hinted conditional branches)
jgouly Jul 3, 2025
91f78fb
arm64: trap implementation defined functionality in userspace
kristina-martsenko Jul 3, 2025
9680226
tick/broadcast: Make takeover of broadcast hrtimer reliable
yuliao0214 Jul 3, 2025
46aa8c6
kselftest/arm64: Add a test program to exercise the syscall ABI
broonie Jul 3, 2025
c268cf0
kselftest/arm64: Add simple hwcap validation
broonie Jul 3, 2025
bee2f89
selftests/arm64: add HWCAP2_HBC test
jgouly Jul 3, 2025
b0bec81
driver core: Provide device_match_acpi_handle() helper
andy-shev Oct 14, 2021
755a4a7
gpiolib: acpi: Fix failed in acpi_gpiochip_find() by adding parent no…
May 13, 2024
d138e6c
Revert "ACPI: thermal: Move to dedicated function sysfs extra attr cr…
Jul 3, 2025
ba5f955
ACPI: Use acpi_fetch_acpi_dev() instead of acpi_bus_get_device()
rafaeljw Dec 3, 2021
bb19af8
ACPI: thermal: Use white space more consistently
rafaeljw Oct 4, 2022
8ead7d8
ACPI: thermal: Drop redundant parens from expressions
rafaeljw Oct 4, 2022
c08bc00
ACPI: thermal: Drop some redundant code
rafaeljw Oct 4, 2022
d3fe1e1
ACPI: make remove callback of ACPI driver void
Nov 13, 2022
48ec39d
ACPI: thermal: Adjust critical.flags.valid check
rafaeljw Dec 5, 2022
72d3b90
driver core: Provide device_match_acpi_handle() helper
andy-shev Oct 14, 2021
4ee3407
gpiolib: acpi: Fix failed in acpi_gpiochip_find() by adding parent no…
May 13, 2024
31f7f90
Revert "ACPI: thermal: Move to dedicated function sysfs extra attr cr…
Jul 3, 2025
bdaae6d
ACPI: Use acpi_fetch_acpi_dev() instead of acpi_bus_get_device()
rafaeljw Dec 3, 2021
aa3407a
ACPI: thermal: Use white space more consistently
rafaeljw Oct 4, 2022
f852497
ACPI: thermal: Drop redundant parens from expressions
rafaeljw Oct 4, 2022
5f0ea05
ACPI: thermal: Drop some redundant code
rafaeljw Oct 4, 2022
135fccb
ACPI: make remove callback of ACPI driver void
Nov 13, 2022
eac5ace
ACPI: thermal: Adjust critical.flags.valid check
rafaeljw Dec 5, 2022
27c4b41
Merge branch 'buweiorz:5.15-velinux' into 5.15-velinux
Lzeyan Jul 4, 2025
7bbebcc
Revert "arm64: add HWCAP for FEAT_HBC (hinted conditional branches)"
Jul 4, 2025
f18d668
arm64: trap implementation defined functionality in userspace
kristina-martsenko Jul 4, 2025
fb26945
arm64: add HWCAP for FEAT_HBC (hinted conditional branches)
jgouly Jul 4, 2025
8870088
arm64: Add feature detection for fine grained traps
broonie Jul 4, 2025
7921a3f
Merge branch 'buweiorz:5.15-velinux' into 5.15-velinux
Lzeyan Jul 4, 2025
dfe7f88
xhci: remove xhci_test_trb_in_td_math early development check
matnyman Feb 2, 2023
26318ad
xhci: Refactor interrupter code for initial multi interrupter support.
matnyman Feb 2, 2023
26e48f1
xhci: add helpers for enabling and disabling interrupters
matnyman Feb 2, 2023
76b9efb
xhci: Limit time spent with xHC interrupts disabled during bus resume
matnyman Apr 10, 2025
0965542
Merge pull request #43 from Lzeyan/5.15-velinux
buweiorz Jul 4, 2025
e60691f
arm64/sysreg: Update ID_AA64MMFR1_EL1 register
Jul 4, 2025
2df9961
arm64: setup: name 'tcr2' register
jgouly Jul 4, 2025
e6fe982
arm64/mm: Replace an open coding with ID_AA64MMFR1_EL1_HAFDBS_MASK
Jul 4, 2025
779bd69
arm64: Add support for FEAT_HAFT
Jul 4, 2025
f4e9709
arm64: Enable ARCH_HAS_NONLEAF_PMD_YOUNG
Jul 4, 2025
76d7a22
arm64: pgtable: Warn unexpected pmdp_test_and_clear_young()
Jul 4, 2025
1bafe5e
openeuler_defconfig: Add configuration to enable FEAT_HAFT
Jul 4, 2025
3263167
Revert "drm: Move nomodeset kernel parameter to the DRM subsystem"
chenyi211 Jul 4, 2025
75cb9e8
drm: Move nomodeset kernel parameter to the DRM subsystem
martinezjavier Nov 12, 2021
de8489b
drm: Call drm_atomic_helper_shutdown() at shutdown time for misc drivers
dianders Apr 16, 2025
160c2db
drm/hisilicon/hibmc: select CONFIG_DRM_DISPLAY_DP_HELPER
arndb Apr 16, 2025
0b45817
drm/hisilicon/hibmc: Restructuring the header dp_reg.h
mark1188-ui Apr 16, 2025
ed270de
drm/hisilicon/hibmc: Add dp serdes cfg to adjust serdes rate, voltage…
mark1188-ui Apr 16, 2025
60b670a
drm/hisilicon/hibmc: Add dp serdes cfg in dp process
mark1188-ui Apr 16, 2025
b7fd38a
drm/hisilicon/hibmc: Refactor the member of drm_aux in struct hibmc_dp
mark1188-ui Apr 16, 2025
67617b5
drm/hisilicon/hibmc: Getting connector info and EDID by using AUX cha…
mark1188-ui Apr 16, 2025
b4f0240
drm/hisilicon/hibmc: Add colorbar-cfg feature and its debugfs file
mark1188-ui Apr 16, 2025
167e48a
drm/hisilicon/hibmc: Enable this hot plug detect of irq feature
mark1188-ui Apr 16, 2025
04f0988
drm/hisilicon/hibmc: Add MSI irq getting and requesting for HPD
mark1188-ui Apr 16, 2025
ecad0b2
drm/hisilicon/hibmc: Add vga connector detect functions
mark1188-ui Apr 16, 2025
64633a8
drm/hisilicon/hibmc: fix HPD interrupts triggering the wrong behavior
mark1188-ui Apr 17, 2025
4d14b2e
drm/hisilicon/hibmc: fix irq_request()'s irq name variable is local
mark1188-ui Apr 17, 2025
7cbc8f2
drm/hisilicon/hibmc:fix KVM is not displaying when GRUB VGA is on
mark1188-ui May 27, 2025
59cc500
drm/hisilicon/hibmc: hibmc-drm bugfix for DP
mark1188-ui May 27, 2025
2f2b4c9
drm/edid: split drm_add_edid_modes() to two
jnikula Mar 28, 2022
bb757b2
drm/edid: add EDID block count and size helpers
jnikula Apr 11, 2022
219dea4
drm/edid: add typedef for block read function
jnikula Apr 11, 2022
ce38121
drm/probe-helper: Create a HPD IRQ event helper for a single connector
mripard Sep 14, 2021
af8a48b
drm/edid: add struct drm_edid container
jnikula May 9, 2022
1d2385b
drm: Plumb debugfs_init through to panels
dianders Feb 5, 2022
81a036d
drm/edid: add new interfaces around struct drm_edid
jnikula Jun 8, 2022
d549611
drm/edid: start propagating drm_edid to lower levels
jnikula May 9, 2022
dd585f2
drm/edid: keep propagating drm_edid to display info
jnikula May 11, 2022
501df47
drm/edid: add drm_edid helper for drm_update_tile_info()
jnikula May 9, 2022
00b8f9d
drm/edid: convert drm_edid_connector_update() to drm_edid fully
jnikula May 11, 2022
8f29461
drm/edid: move drm_connector_update_edid_property() to drm_edid.c
jnikula Jun 29, 2022
e25e82d
drm/edid: convert drm_connector_update_edid_property() to struct drm_…
jnikula Jun 29, 2022
1ace56c
drm/edid: clean up connector update error handling and debug logging
jnikula Jun 29, 2022
c348b1b
drm/edid: abstract debugfs override EDID set/reset
jnikula Jun 29, 2022
5681d34
drm/edid: add drm_edid_connector_update()
jnikula Jun 29, 2022
2204e55
drm/edid: refactor _drm_edid_connector_update() and rename
jnikula Jan 19, 2023
f81a0cb
drm/edid: add separate drm_edid_connector_add_modes()
jnikula Jan 19, 2023
a3091f3
drm/hisilicon/hibmc: convert to struct drm_edid
jnikula Mar 14, 2025
d851c67
drivers/perf: hisi_pcie: Export supported Root Ports [bdf_min, bdf_max]
Aug 29, 2024
161717e
perf stat: Enable iostat mode for HiSilicon PCIe PMU
Apr 10, 2025
9b8933b
perf stat: Display iostat headers correctly
Aug 2, 2024
a2c6fe8
perf iostat: hisi: Fix port range retrival
Jun 16, 2025
f163359
perf arm: Workaround ARM PMUs cpu maps having offline cpus
captain5050 Jun 7, 2024
9f90196
drivers: perf: arm_pmuv3: Read PMMIR_EL1 unconditionally
Sep 19, 2024
5a4665e
arm64: perf: Simplify registration boilerplate
rmurphy-arm Dec 14, 2021
44e940f
drivers: perf: arm_pmuv3: Drop some unused arguments from armv8_pmu_i…
Sep 19, 2024
84d9a55
arm: perf: Remove inlines from arm_pmuv3.c
James-A-Clark Sep 19, 2024
bd6be50
KVM/arm64: Don't emulate a PMU for 32-bit guests if feature not set
Apr 25, 2022
7101f20
Revert "tpm,tpm_tis: Avoid warning splat at shutdown"
Jul 5, 2025
b316cc8
bugfix: fix acpi_fetch_acpi_dev build failed
Jul 5, 2025
3c3e40f
Revert "drm: Move nomodeset kernel parameter to the DRM subsystem"
chenyi211 Jul 5, 2025
2436e40
drm: Move nomodeset kernel parameter to the DRM subsystem
martinezjavier Nov 12, 2021
8c1c9e8
arm64/sysreg: Introduce helpers for access to sysreg fields
broonie Nov 8, 2023
5600919
perf: Add system error and not in transaction branch types
Nov 8, 2023
6c4499d
perf: Extend branch type classification
Nov 8, 2023
c45c8a3
perf: Capture branch privilege information
Nov 8, 2023
4802390
perf: Add PERF_BR_NEW_ARCH_[N] map for BRBE on arm64 platform
Nov 8, 2023
ccde86c
perf: Consolidate branch sample filter helpers
Nov 8, 2023
26a7618
perf record: Add remaining branch filters: "no_cycles", "no_flags" & …
Nov 8, 2023
804123d
arm64/sysreg: Add BRBE registers and fields
Nov 8, 2023
417feb0
drivers: perf: arm_pmu: Add new sched_task() callback
Nov 8, 2023
9284c17
drivers: perf: arm_pmuv3: Enable branch stack sampling framework
Nov 8, 2023
de90963
drivers: perf: arm_pmuv3: Enable branch stack sampling via FEAT_BRBE
Nov 8, 2023
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
126 changes: 126 additions & 0 deletions Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
What: /sys/devices/platform/HISI04Bx:00/chipX/all_linked
What: /sys/devices/platform/HISI04Bx:00/chipX/linked_full_lane
What: /sys/devices/platform/HISI04Bx:00/chipX/crc_err_cnt
Date: November 2023
KernelVersion: 6.6
Contact: Huisong Li <lihuisong@huawei.com>
Description:
The /sys/devices/platform/HISI04Bx:00/chipX/ directory
contains read-only attributes exposing some summarization
information of all HCCS ports under a specified chip.
The X in 'chipX' indicates the Xth chip on platform.

There are following attributes in this directory:

================= ==== =========================================
all_linked: (RO) if all enabled ports on this chip are
linked (bool).
linked_full_lane: (RO) if all linked ports on this chip are full
lane (bool).
crc_err_cnt: (RO) total CRC err count for all ports on this
chip.
================= ==== =========================================

What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/all_linked
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/linked_full_lane
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/crc_err_cnt
Date: November 2023
KernelVersion: 6.6
Contact: Huisong Li <lihuisong@huawei.com>
Description:
The /sys/devices/platform/HISI04Bx:00/chipX/dieY/ directory
contains read-only attributes exposing some summarization
information of all HCCS ports under a specified die.
The Y in 'dieY' indicates the hardware id of the die on chip who
has chip id X.

There are following attributes in this directory:

================= ==== =========================================
all_linked: (RO) if all enabled ports on this die are
linked (bool).
linked_full_lane: (RO) if all linked ports on this die are full
lane (bool).
crc_err_cnt: (RO) total CRC err count for all ports on this
die.
================= ==== =========================================

What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/type
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/lane_mode
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/enable
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/cur_lane_num
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/link_fsm
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/lane_mask
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/crc_err_cnt
Date: November 2023
KernelVersion: 6.6
Contact: Huisong Li <lihuisong@huawei.com>
Description:
The /sys/devices/platform/HISI04Bx/chipX/dieX/hccsN/ directory
contains read-only attributes exposing information about
a HCCS port. The N value in 'hccsN' indicates this port id.
The X in 'chipX' indicates the ID of the chip to which the
HCCS port belongs. For example, X ranges from to 'n - 1' if the
chip number on platform is n.
The Y in 'dieY' indicates the hardware id of the die to which
the hccs port belongs.
Note: type, lane_mode and enable are fixed attributes on running
platform.

The HCCS port have the following attributes:

============= ==== =============================================
type: (RO) port type (string), e.g. HCCS-v1 -> H32
lane_mode: (RO) the lane mode of this port (string), e.g. x8
enable: (RO) indicate if this port is enabled (bool).
cur_lane_num: (RO) current lane number of this port.
link_fsm: (RO) link finite state machine of this port.
lane_mask: (RO) current lane mask of this port, every bit
indicates a lane.
crc_err_cnt: (RO) CRC err count on this port.
============= ==== =============================================

What: /sys/devices/platform/HISI04Bx:00/used_types
Date: August 2024
KernelVersion: 6.12
Contact: Huisong Li <lihuisong@huawei.com>
Description:
This interface is used to show all HCCS types used on the
platform, like, HCCS-v1, HCCS-v2 and so on.

What: /sys/devices/platform/HISI04Bx:00/available_inc_dec_lane_types
What: /sys/devices/platform/HISI04Bx:00/dec_lane_of_type
What: /sys/devices/platform/HISI04Bx:00/inc_lane_of_type
Date: August 2024
KernelVersion: 6.12
Contact: Huisong Li <lihuisong@huawei.com>
Description:
These interfaces under /sys/devices/platform/HISI04Bx/ are
used to support the low power consumption feature of some
HCCS types by changing the number of lanes used. The interfaces
changing the number of lanes used are 'dec_lane_of_type' and
'inc_lane_of_type' which require root privileges. These
interfaces aren't exposed if no HCCS type on platform support
this feature. Please note that decreasing lane number is only
allowed if all the specified HCCS ports are not busy.

The low power consumption interfaces are as follows:

============================= ==== ================================
available_inc_dec_lane_types: (RO) available HCCS types (string) to
increase and decrease the number
of lane used, e.g. HCCS-v2.
dec_lane_of_type: (WO) input HCCS type supported
decreasing lane to decrease the
used lane number of all specified
HCCS type ports on platform to
the minimum.
You can query the 'cur_lane_num'
to get the minimum lane number
after executing successfully.
inc_lane_of_type: (WO) input HCCS type supported
increasing lane to increase the
used lane number of all specified
HCCS type ports on platform to
the full lane state.
============================= ==== ================================
4 changes: 3 additions & 1 deletion Documentation/admin-guide/perf/hisi-pcie-pmu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ The "identifier" sysfs file allows users to identify the version of the
PMU hardware device.

The "bus" sysfs file allows users to get the bus number of Root Ports
monitored by PMU.
monitored by PMU. Furthermore users can get the Root Ports range in
[bdf_min, bdf_max] from "bdf_min" and "bdf_max" sysfs attributes
respectively.

Example usage of perf::

Expand Down
16 changes: 15 additions & 1 deletion Documentation/admin-guide/perf/hisi-pmu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ e.g. hisi_sccl1_hha0/rx_operations is RX_OPERATIONS event of HHA index #0 in
SCCL ID #1.

The driver also provides a "cpumask" sysfs attribute, which shows the CPU core
ID used to count the uncore PMU event.
ID used to count the uncore PMU event. An "associated_cpus" sysfs attribute is
also provided to show the CPUs associated with this PMU. The "cpumask" indicates
the CPUs to open the events, usually as a hint for userspaces tools like perf.
It only contains one associated CPU from the "associated_cpus".

Example usage of perf::

Expand Down Expand Up @@ -98,6 +101,17 @@ CCL/ICL-ID. For I/O die, the ICL-ID is followed by:
5'b00011: HAC_ICL;
5'b10000: PCIe_ICL;

6. ch: NoC PMU supports filtering the event counts of certain transaction
channel with this option. The current supported channels are as follows:

- 3'b010: Request channel
- 3'b100: Snoop channel
- 3'b110: Response channel
- 3'b111: Data channel

7. tt_en: NoC PMU supports counting only transactions that have tracetag set
if this option is set. See the 2nd list for more information about tracetag.

Users could configure IDs to count data come from specific CCL/ICL, by setting
srcid_cmd & srcid_msk, and data desitined for specific CCL/ICL by setting
tgtid_cmd & tgtid_msk. A set bit in srcid_msk/tgtid_msk means the PMU will not
Expand Down
6 changes: 6 additions & 0 deletions Documentation/gpu/drm-internals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ update it, its value is mostly useless. The DRM core prints it to the
kernel log at initialization time and passes it to userspace through the
DRM_IOCTL_VERSION ioctl.

Module Initialization
---------------------

.. kernel-doc:: include/drm/drm_module.h
:doc: overview

Managing Ownership of the Framebuffer Aperture
----------------------------------------------

Expand Down
9 changes: 0 additions & 9 deletions Documentation/gpu/todo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -323,15 +323,6 @@ Contact: Daniel Vetter

Level: Starter

struct drm_gem_object_funcs
---------------------------

GEM objects can now have a function table instead of having the callbacks on the
DRM driver struct. This is now the preferred way. Callbacks in drivers have been
converted, except for struct drm_driver.gem_prime_mmap.

Level: Intermediate

Use DRM_MODESET_LOCK_ALL_* helpers instead of boilerplate
---------------------------------------------------------

Expand Down
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -8474,6 +8474,7 @@ F: drivers/i2c/busses/i2c-hisi.c
HISILICON KUNPENG SOC HCCS DRIVER
M: Huisong Li <lihuisong@huawei.com>
S: Maintained
F: Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs
F: drivers/soc/hisilicon/kunpeng_hccs.c
F: drivers/soc/hisilicon/kunpeng_hccs.h

Expand Down
18 changes: 18 additions & 0 deletions arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ config ARM64
select ARCH_HAS_KEEPINITRD
select ARCH_HAS_MEMBARRIER_SYNC_CORE
select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE
select ARCH_HAS_NONLEAF_PMD_YOUNG if ARM64_HAFT
select ARCH_HAS_PTE_DEVMAP
select ARCH_HAS_PTE_SPECIAL
select ARCH_HAS_SETUP_DMA_OPS
Expand Down Expand Up @@ -203,6 +204,7 @@ config ARM64
select HAVE_KPROBES
select HAVE_KRETPROBES
select HAVE_GENERIC_VDSO
select HOTPLUG_SMT if HOTPLUG_CPU
select IOMMU_DMA if IOMMU_SUPPORT
select IRQ_DOMAIN
select IRQ_FORCED_THREADING
Expand Down Expand Up @@ -1944,6 +1946,22 @@ config ARM64_EPAN

The feature is detected at runtime, and will remain disabled
if the cpu does not implement the feature.

config ARM64_HAFT
bool "Support for Hardware managed Access Flag for Table Descriptors"
depends on ARM64_HW_AFDBM
default y
help
The ARMv8.9/ARMv9.5 introduces the feature Hardware managed Access
Flag for Table descriptors. When enabled an architectural executed
memory access will update the Access Flag in each Table descriptor
which is accessed during the translation table walk and for which
the Access Flag is 0. The Access Flag of the Table descriptor use
the same bit of PTE_AF.

The feature will only be enabled if all the CPUs in the system
support this feature. If unsure, say Y.

endmenu

config ARM64_SVE
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_CHACHA20_NEON=m
CONFIG_CRYPTO_AES_ARM64_BS=m
CONFIG_HISILICON_ERRATUM_162100125=y
CONFIG_HISILICON_ERRATUM_162102203=y
CONFIG_JUMP_LABEL=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/include/asm/cpufeature.h
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,12 @@ static inline bool system_supports_tlb_range(void)
cpus_have_const_cap(ARM64_HAS_TLB_RANGE);
}

static inline bool system_supports_haft(void)
{
return IS_ENABLED(CONFIG_ARM64_HAFT) &&
cpus_have_final_cap(ARM64_HAFT);
}

int do_emulate_mrs(struct pt_regs *regs, u32 sys_reg, u32 rt);
bool try_emulate_mrs(struct pt_regs *regs, u32 isn);

Expand Down
49 changes: 49 additions & 0 deletions arch/arm64/include/asm/el2_setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,52 @@
msr spsr_el2, x0
.endm

#ifdef CONFIG_ARM64_BRBE
/*
* Enable BRBE cycle count
*
* BRBE requires both BRBCR_EL1.CC and BRBCR_EL2.CC fields, be set
* for the cycle counts to be available in BRBINF<N>_EL1.CC during
* branch record processing after a PMU interrupt. This enables CC
* field on both these registers while still executing inside EL2.
*
* BRBE driver would still be able to toggle branch records cycle
* count support via BRBCR_EL1.CC field regardless of whether the
* kernel ends up executing in EL1 or EL2.
*/
.macro __init_el2_brbe
mrs x1, id_aa64dfr0_el1
ubfx x1, x1, #ID_AA64DFR0_EL1_BRBE_SHIFT, #4
cbz x1, .Lskip_brbe_cc_\@

mrs_s x0, SYS_BRBCR_EL2
orr x0, x0, BRBCR_ELx_CC
msr_s SYS_BRBCR_EL2, x0

/*
* Accessing BRBCR_EL1 register here does not require
* BRBCR_EL12 addressing mode as HCR_EL2.E2H is still
* clear. Regardless, check for HCR_E2H and be on the
* safer side.
*/
mrs x1, hcr_el2
and x1, x1, #HCR_E2H
cbz x1, .Lset_brbe_el1_direct_\@

mrs_s x0, SYS_BRBCR_EL12
orr x0, x0, BRBCR_ELx_CC
msr_s SYS_BRBCR_EL12, x0
b .Lskip_brbe_cc_\@

.Lset_brbe_el1_direct_\@:
mrs_s x0, SYS_BRBCR_EL1
orr x0, x0, BRBCR_ELx_CC
msr_s SYS_BRBCR_EL1, x0
.Lskip_brbe_cc_\@:
.endm

#endif

/**
* Initialize EL2 registers to sane values. This should be called early on all
* cores that were booted in EL2. Note that everything gets initialised as
Expand All @@ -197,6 +243,9 @@
__init_el2_nvhe_cptr
__init_el2_nvhe_sve
__init_el2_fgt
#ifdef CONFIG_ARM64_BRBE
__init_el2_brbe
#endif
__init_el2_nvhe_prepare_eret
.endm

Expand Down
1 change: 1 addition & 0 deletions arch/arm64/include/asm/hwcap.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
#define KERNEL_HWCAP_ECV __khwcap2_feature(ECV)
#define KERNEL_HWCAP_AFP __khwcap2_feature(AFP)
#define KERNEL_HWCAP_RPRES __khwcap2_feature(RPRES)
#define KERNEL_HWCAP_HBC __khwcap2_feature(HBC)

/*
* This yields a mask that user programs can use to figure out what
Expand Down
Loading