lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230630053552.976579-1-luke@ljones.dev>
Date:   Fri, 30 Jun 2023 17:35:44 +1200
From:   "Luke D. Jones" <luke@...nes.dev>
To:     hdegoede@...hat.com
Cc:     corentin.chary@...il.com, acpi4asus-user@...ts.sourceforge.net,
        platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-hwmon@...r.kernel.org, markgross@...nel.org,
        jdelvare@...e.com, linux@...ck-us.net,
        "Luke D. Jones" <luke@...nes.dev>
Subject: [PATCH v2 0/8] platform/x86: asus-wmi:

This patch series adds or exposes more features that are available in the ROG
laptop series.

- expose dGPU and CPU tunables for ROG
  - These are things like GPU boost, CPU Pl1 and PL2, package power limits
- support setting mini-LED mode
  - Some newer laptops have a screen that can toggle between regular style
    backlight and using mini-LED backlight
- add WMI method to show if egpu connected
  - This WMI method can be monitored/queried to see if it is possible to begin
    the change-over to eGPU
- support middle fan custom curves
  - Some newer laptops have a center/middle fan which blows across the CPU and GPU
- add support for showing middle fan RPM
- add support for showing charger mode (AC, USB-C, both plugged)
- add additional checks to GPU switching code
  - These try to prevent a sceanrio such as the user disabling the dGPU while it
    is driving the internal panel via MUX, resulting in no output at all.
    There are no checks in the ACPI code for this, but on some newer models ASUS
    did finally add a switch in the BIOS menu. It is best to try and prevent this
    at the kernel level rather than userland level.

All patches pass ./scripts/checkpatch.pl

Changelog:
- v2-0008-platform-x86-asus-wmi-expose-dGPU-and-CPU-tunable.patch
	- Rename the WMI defs to match what ASUS supplied as names
	- Remove EDC and TDC exposure (unsafe)
	- Slight change to formatting
	- Add better notes to documentation
		

Luke D. Jones (8):
  platform/x86: asus-wmi: add support for showing charger mode
  platform/x86: asus-wmi: add support for showing middle fan RPM
  platform/x86: asus-wmi: support middle fan custom curves
  platform/x86: asus-wmi: add WMI method to show if egpu connected
  platform/x86: asus-wmi: don't allow eGPU switching if eGPU not
    connected
  platform/x86: asus-wmi: add safety checks to gpu switching
  platform/x86: asus-wmi: support setting mini-LED mode
  platform/x86: asus-wmi: expose dGPU and CPU tunables for ROG

 .../ABI/testing/sysfs-platform-asus-wmi       |  86 +++
 drivers/platform/x86/asus-wmi.c               | 605 +++++++++++++++++-
 include/linux/platform_data/x86/asus-wmi.h    |  19 +-
 3 files changed, 707 insertions(+), 3 deletions(-)

-- 
2.41.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ