Revert "cpufreq: amd-pstate: Fix the inconsistency in max frequency units"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

This reverts commit 82590ce3a0d0f26d06b0a70886ca2d444e64acbf which is
commit e4731baaf29438508197d3a8a6d4f5a8c51663f8 upstream.

It causes a regression in kernels older than 6.9.y, so drop it from
here.

Link: https://lore.kernel.org/r/18882bfe-4ca5-495c-ace5-b9bcab796ae5@xxxxxxx
Reported-by: Lars Wendler <wendler.lars@xxxxxx>
Cc: Dhananjay Ugwekar <Dhananjay.Ugwekar@xxxxxxx>
Cc: Mario Limonciello <mario.limonciello@xxxxxxx>
Cc: Gautham R. Shenoy <gautham.shenoy@xxxxxxx>
Cc: Peter Jung <ptr1337@xxxxxxxxxxx>
Cc: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/cpufreq/amd-pstate.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/cpufreq/amd-pstate.c
+++ b/drivers/cpufreq/amd-pstate.c
@@ -424,7 +424,7 @@ static int amd_pstate_set_boost(struct c
 	if (state)
 		policy->cpuinfo.max_freq = cpudata->max_freq;
 	else
-		policy->cpuinfo.max_freq = cpudata->nominal_freq * 1000;
+		policy->cpuinfo.max_freq = cpudata->nominal_freq;
 
 	policy->max = policy->cpuinfo.max_freq;
 


Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are

queue-6.1/ftruncate-pass-a-signed-offset.patch
queue-6.1/ocfs2-fix-dio-failure-due-to-insufficient-transaction-credits.patch
queue-6.1/usb-dwc3-core-remove-lock-of-otg-mode-during-gadget-suspend-resume-to-avoid-deadlock.patch
queue-6.1/usb-typec-ucsi-ack-also-failed-get-error-commands.patch
queue-6.1/btrfs-zoned-fix-initial-free-space-detection.patch
queue-6.1/usb-gadget-printer-fix-races-against-disable.patch
queue-6.1/mmc-sdhci-do-not-lock-spinlock-around-mmc_gpio_get_ro.patch
queue-6.1/ata-ahci-clean-up-sysfs-file-on-error.patch
queue-6.1/kbuild-install-dtb-files-as-0644-in-makefile.dtbinst.patch
queue-6.1/can-mcp251xfd-fix-infinite-loop-when-xmit-fails.patch
queue-6.1/hexagon-fix-fadvise64_64-calling-conventions.patch
queue-6.1/serial-8250_omap-implementation-of-errata-i2310.patch
queue-6.1/alsa-hda-realtek-fix-mute-micmute-leds-don-t-work-for-elitebook-645-665-g11.patch
queue-6.1/irqchip-loongson-liointc-set-different-isrs-for-different-cores.patch
queue-6.1/drm-amdgpu-atomfirmware-fix-parsing-of-vram_info.patch
queue-6.1/nfs-drop-the-incorrect-assertion-in-nfs_swap_rw.patch
queue-6.1/net-can-j1939-enhanced-error-handling-for-tightly-received-rts-messages-in-xtp_rx_rts_session_new.patch
queue-6.1/usb-atm-cxacru-fix-endpoint-checking-in-cxacru_bind.patch
queue-6.1/mmc-sdhci-do-not-invert-write-protect-twice.patch
queue-6.1/sh-rework-sync_file_range-abi.patch
queue-6.1/net-can-j1939-initialize-unused-data-in-j1939_send_one.patch
queue-6.1/tty-mcf-mcf54418-has-10-uarts.patch
queue-6.1/revert-mips-pci-lantiq-restore-reset-gpio-polarity.patch
queue-6.1/drm-amdgpu-avoid-using-null-object-of-framebuffer.patch
queue-6.1/batman-adv-don-t-accept-tt-entries-for-out-of-spec-vids.patch
queue-6.1/mmc-sdhci-pci-convert-pcibios_-return-codes-to-errnos.patch
queue-6.1/cpu-hotplug-fix-dynstate-assignment-in-__cpuhp_setup_state_cpuslocked.patch
queue-6.1/net-usb-ax88179_178a-improve-link-status-logs.patch
queue-6.1/revert-cpufreq-amd-pstate-fix-the-inconsistency-in-max-frequency-units.patch
queue-6.1/cpufreq-intel_pstate-use-hwp-to-initialize-itmt-if-cppc-is-missing.patch
queue-6.1/serial-imx-set-receiver-level-before-starting-uart.patch
queue-6.1/usb-gadget-printer-ss-support.patch
queue-6.1/iio-accel-fxls8962af-select-iio_buffer-iio_kfifo_buf.patch
queue-6.1/iio-chemical-bme680-fix-calibration-data-variable.patch
queue-6.1/iio-chemical-bme680-fix-sensor-data-read-operation.patch
queue-6.1/iio-chemical-bme680-fix-overflows-in-compensate-functions.patch
queue-6.1/drm-i915-gt-fix-potential-uaf-by-revoke-of-fence-registers.patch
queue-6.1/usb-musb-da8xx-fix-a-resource-leak-in-probe.patch
queue-6.1/iio-chemical-bme680-fix-pressure-value-output.patch
queue-6.1/iio-adc-ad7266-fix-variable-checking-bug.patch
queue-6.1/usb-typec-ucsi-never-send-a-lone-connector-change-ac.patch
queue-6.1/net-can-j1939-recover-socket-queue-on-can-bus-error-during-bam-transmission.patch
queue-6.1/mmc-sdhci-brcmstb-check-r1_status-for-erase-trim-discard.patch
queue-6.1/pinctrl-qcom-spmi-gpio-drop-broken-pm8008-support.patch
queue-6.1/ata-libata-core-fix-double-free-on-error.patch
queue-6.1/csky-hexagon-fix-broken-sys_sync_file_range.patch
queue-6.1/drm-nouveau-dispnv04-fix-null-pointer-dereference-in-nv17_tv_get_ld_modes.patch
queue-6.1/usb-gadget-aspeed_udc-fix-device-address-configuration.patch
queue-6.1/usb-ucsi-stm32-fix-command-completion-handling.patch
queue-6.1/pwm-stm32-refuse-too-small-period-requests.patch
queue-6.1/drm-nouveau-dispnv04-fix-null-pointer-dereference-in-nv17_tv_get_hd_modes.patch
queue-6.1/syscalls-fix-compat_sys_io_pgetevents_time64-usage.patch




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux