~vicamo/+git/ubuntu-kernel:bug-2021998/AMD-Wifi-RFI-interference-mitigation/V11/v6.5-rc5

Last commit made on 2023-10-04
Get this branch:
git clone -b bug-2021998/AMD-Wifi-RFI-interference-mitigation/V11/v6.5-rc5 https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-2021998/AMD-Wifi-RFI-interference-mitigation/V11/v6.5-rc5
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

43f8d8c... by Evan Quan <email address hidden>

UBUNTU: SAUCE: drm/amd/pm: enable Wifi RFI mitigation feature support for SMU13.0.7

BugLink: https://bugs.launchpad.net/bugs/2021998

Fulfill the SMU13.0.7 support for Wifi RFI mitigation feature.

Signed-off-by: Evan Quan <email address hidden>
Reviewed-by: Mario Limonciello <email address hidden>
--
v10->v11:
  - downgrade the prompt level on message failure(Lijo)
(cherry-picked from https://<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

43d4e34... by Evan Quan <email address hidden>

UBUNTU: SAUCE: drm/amd/pm: enable Wifi RFI mitigation feature support for SMU13.0.0

BugLink: https://bugs.launchpad.net/bugs/2021998

Fulfill the SMU13.0.0 support for Wifi RFI mitigation feature.

Signed-off-by: Evan Quan <email address hidden>
Reviewed-by: Mario Limonciello <email address hidden>
--
v10->v11:
  - downgrade the prompt level on message failure(Lijo)
(cherry-picked from https://<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

43bf6c5... by Evan Quan <email address hidden>

UBUNTU: SAUCE: drm/amd/pm: add flood detection for wbrf events

BugLink: https://bugs.launchpad.net/bugs/2021998

To protect PMFW from being overloaded.

Signed-off-by: Evan Quan <email address hidden>
Reviewed-by: Mario Limonciello <email address hidden>
(cherry-picked from https://<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

3f21e64... by Evan Quan <email address hidden>

UBUNTU: SAUCE: drm/amd/pm: setup the framework to support Wifi RFI mitigation feature

BugLink: https://bugs.launchpad.net/bugs/2021998

With WBRF feature supported, as a driver responding to the frequencies,
amdgpu driver is able to do shadow pstate switching to mitigate possible
interference(between its (G-)DDR memory clocks and local radio module
frequency bands used by Wifi 6/6e/7).

Signed-off-by: Evan Quan <email address hidden>
Reviewed-by: Mario Limonciello <email address hidden>
--
v1->v2:
  - update the prompt for feature support(Lijo)
v8->v9:
  - update parameter document for smu_wbrf_event_handler(Simon)
v9->v10:
v10->v11:
 - correct the logics for wbrf range sorting(Lijo)

(cherry-picked from https://<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

d7e1fbb... by Evan Quan <email address hidden>

UBUNTU: SAUCE: drm/amd/pm: update driver_if and ppsmc headers for coming wbrf feature

BugLink: https://bugs.launchpad.net/bugs/2021998

Add those data structures to support Wifi RFI mitigation feature.

Signed-off-by: Evan Quan <email address hidden>
Reviewed-by: Mario Limonciello <email address hidden>
(cherry-picked from https://<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

a355a34... by Evan Quan <email address hidden>

UBUNTU: SAUCE: wifi: mac80211: Add support for WBRF features

BugLink: https://bugs.launchpad.net/bugs/2021998

To support the WBRF mechanism, Wifi adapters utilized in the system must
register the frequencies in use(or unregister those frequencies no longer
used) via the dedicated calls. So that, other drivers responding to the
frequencies can take proper actions to mitigate possible interference.

Co-developed-by: Mario Limonciello <email address hidden>
Signed-off-by: Mario Limonciello <email address hidden>
Co-developed-by: Evan Quan <email address hidden>
Signed-off-by: Evan Quan <email address hidden>
--
v1->v2:
  - place the new added member(`wbrf_supported`) in
    ieee80211_local(Johannes)
  - handle chandefs change scenario properly(Johannes)
  - some minor fixes around code sharing and possible invalid input
    checks(Johannes)
v2->v3:
  - drop unnecessary input checks and intermediate APIs(Mario)
  - Separate some mac80211 common code(Mario, Johannes)
v3->v4:
  - some minor fixes around return values(Johannes)
v9->v10:
  - get ranges_in->num_of_ranges set and passed in(Johannes)

(cherry-picked from https://<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

80538ab... by Evan Quan <email address hidden>

UBUNTU: SAUCE: cfg80211: expose nl80211_chan_width_to_mhz for wide sharing

BugLink: https://bugs.launchpad.net/bugs/2021998

The newly added WBRF feature needs this interface for channel
width calculation.

Signed-off-by: Evan Quan <email address hidden>
--
v8->v9:
  - correct typo(Mhz -> MHz) (Johnson)
(cherry-picked from https://<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

b90b918... by Evan Quan <email address hidden>

UBUNTU: SAUCE: ACPI: Add support for AMD ACPI based Wifi band RFI mitigation feature

BugLink: https://bugs.launchpad.net/bugs/2021998

Due to electrical and mechanical constraints in certain platform designs
there may be likely interference of relatively high-powered harmonics of
the (G-)DDR memory clocks with local radio module frequency bands used
by Wifi 6/6e/7.

To mitigate this, AMD has introduced a mechanism that devices can use to
notify active use of particular frequencies so that other devices can make
relative internal adjustments as necessary to avoid this resonance.

Signed-off-by: Evan Quan <email address hidden>
--
v10->v11:
  - fix typo(Simon)
(cherry-picked from https://<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

52a93d3... by Linus Torvalds <email address hidden>

Linux 6.5-rc5

0108963... by Linus Torvalds <email address hidden>

Merge tag 'v6.5-rc5.vfs.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull vfs fixes from Christian Brauner:

 - Fix a wrong check for O_TMPFILE during RESOLVE_CACHED lookup

 - Clean up directory iterators and clarify file_needs_f_pos_lock()

* tag 'v6.5-rc5.vfs.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  fs: rely on ->iterate_shared to determine f_pos locking
  vfs: get rid of old '->iterate' directory operation
  proc: fix missing conversion to 'iterate_shared'
  open: make RESOLVE_CACHED correctly test for O_TMPFILE