linux-stable/drivers
Hans de Goede 5f784b8d65 thermal/intel/intel_soc_dts_iosf: Fix reporting wrong temperatures
commit 0bb619f922 upstream.

Since commit 955fb8719e ("thermal/intel/intel_soc_dts_iosf: Use Intel
TCC library") intel_soc_dts_iosf is reporting the wrong temperature.

The driver expects tj_max to be in milli-degrees-celcius but after
the switch to the TCC library this is now in degrees celcius so
instead of e.g. 90000 it is set to 90 causing a temperature 45
degrees below tj_max to be reported as -44910 milli-degrees
instead of as 45000 milli-degrees.

Fix this by adding back the lost factor of 1000.

Fixes: 955fb8719e ("thermal/intel/intel_soc_dts_iosf: Use Intel TCC library")
Reported-by: Bernhard Krug <b.krug@elektronenpumpe.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Cc: 6.3+ <stable@vger.kernel.org> # 6.3+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-28 11:14:05 +02:00
..
accel accel/ivpu: Fix sporadic VPU boot failure 2023-06-14 11:16:57 +02:00
accessibility
acpi ACPI: sleep: Avoid breaking S3 wakeup due to might_sleep() 2023-06-28 11:14:04 +02:00
amba
android binder: fix UAF of alloc->vma in race with munmap() 2023-05-30 14:17:23 +01:00
ata ata: libata-scsi: Avoid deadlock on rescan after device resume 2023-06-28 11:13:57 +02:00
atm atm: idt77252: fix kmemleak when rmmod idt77252 2023-03-21 20:19:28 -07:00
auxdisplay
base regmap: Account for register length when chunking 2023-06-09 10:48:25 +02:00
bcma
block Revert "virtio-blk: support completion batching for the IRQ path" 2023-06-28 11:13:59 +02:00
bluetooth Bluetooth: hci_qca: fix debugfs registration 2023-06-14 11:16:58 +02:00
bus bus: mhi: host: Range check CHDBOFF and ERDBOFF 2023-05-11 23:16:54 +09:00
cdrom
char tpm, tpm_tis: Claim locality in interrupt handler 2023-06-28 11:13:57 +02:00
clk clk: pxa: fix NULL pointer dereference in pxa3xx_clk_update_accr 2023-06-21 16:02:12 +02:00
clocksource clocksource/drivers/davinci: Fix memory leak in davinci_timer_register when init fails 2023-05-11 23:17:33 +09:00
comedi
connector
counter counter: 104-quad-8: Fix Synapse action reported for Index signals 2023-03-18 09:26:40 -04:00
cpufreq cpufreq: amd-pstate: Add ->fast_switch() callback 2023-06-05 09:29:46 +02:00
cpuidle RISC-V: Align SBI probe implementation with spec 2023-05-11 23:16:53 +09:00
crypto crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs() 2023-05-17 14:01:50 +02:00
cxl cxl/port: Fix NULL pointer access in devm_cxl_add_port() 2023-06-05 09:29:35 +02:00
dax cxl for v6.3 2023-02-25 09:19:23 -08:00
dca
devfreq
dio
dma dmaengine: at_hdmac: Extend the Flow Controller bitfield to three bits 2023-06-09 10:48:19 +02:00
dma-buf udmabuf: revert 'Add support for mapping hugepages (v4)' 2023-06-28 11:13:58 +02:00
edac EDAC/qcom: Get rid of hardcoded register offsets 2023-06-21 16:02:05 +02:00
eisa
extcon
firewire firewire: net: fix unexpected release of object for asynchronous request packet 2023-05-17 14:02:03 +02:00
firmware Revert "efi: random: refresh non-volatile random seed when RNG is initialized" 2023-06-28 11:13:58 +02:00
fpga fpga: bridge: fix kernel-doc parameter description 2023-05-11 23:17:23 +09:00
fsi
gnss
gpio gpio: sim: fix memory corruption when adding named lines and unnamed hogs 2023-06-14 11:17:02 +02:00
gpu drm/amd/display: fix the system hang while disable PSR 2023-06-28 11:13:57 +02:00
greybus
hid HID: hidpp: terminate retry loop on success 2023-06-09 10:48:19 +02:00
hsi Driver core changes for 6.3-rc1 2023-02-24 12:58:55 -08:00
hte hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id() 2023-05-11 23:17:36 +09:00
hv Drivers: vmbus: Check for channel allocation before looking up relids 2023-03-06 15:28:03 +00:00
hwmon hwmon: (k10temp) Add PCI ID for family 19, model 78h 2023-06-09 10:48:00 +02:00
hwspinlock
hwtracing coresight: perf: Release Coresight path when alloc trace id failed 2023-06-05 09:29:29 +02:00
i2c i2c: sprd: Delete i2c adapter in .remove's error path 2023-06-14 11:17:03 +02:00
i3c I3C for 6.3 2023-02-28 16:05:01 -08:00
idle Power management updates for 6.3-rc1 2023-02-21 12:13:58 -08:00
iio iio: dac: build ad5758 driver when AD5758 is selected 2023-06-09 10:48:15 +02:00
infiniband RDMA/rxe: Fix rxe_cq_post 2023-06-21 16:02:17 +02:00
input Input: fix open count when closing inhibited device 2023-06-14 11:16:53 +02:00
interconnect interconnect: qcom: rpm: drop bogus pm domain attach 2023-05-11 23:17:25 +09:00
iommu iommu/amd/pgtbl_v2: Fix domain max address 2023-06-09 10:48:25 +02:00
ipack Driver core changes for 6.3-rc1 2023-02-24 12:58:55 -08:00
irqchip irqchip/gic: Correctly validate OF quirk descriptors 2023-06-21 16:02:08 +02:00
isdn
leds leds: tca6507: Fix error handling of using fwnode_property_read_string 2023-05-11 23:17:35 +09:00
macintosh macintosh: via-pmu-led: requires ATA to be set 2023-05-11 23:17:29 +09:00
mailbox mailbox: mailbox-test: fix a locking issue in mbox_test_message_write() 2023-06-09 10:48:11 +02:00
mcb mcb-pci: Reallocate memory region to avoid memory overlapping 2023-05-24 17:30:10 +01:00
md dm: don't lock fs when the map is NULL during suspend or resume 2023-06-21 16:02:18 +02:00
media Revert "media: dvb-core: Fix use-after-free on race condition at dvb_frontend" 2023-06-21 16:02:17 +02:00
memory memory: tegra30-emc: fix interconnect registration race 2023-03-13 21:13:49 +02:00
memstick memstick: r592: Fix UAF bug in r592_remove due to race condition 2023-05-24 17:30:02 +01:00
message scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition 2023-05-24 17:30:05 +01:00
mfd mfd: intel-lpss: Add Intel Meteor Lake PCH-S LPSS PCI IDs 2023-05-24 17:30:12 +01:00
misc eeprom: at24: also select REGMAP 2023-06-14 11:17:03 +02:00
mmc mmc: pwrseq: sd8787: Fix WILC CHIP_EN and RESETN toggling order 2023-06-09 10:48:17 +02:00
most
mtd mtdchar: mark bits of ioctl handler noinline 2023-06-09 10:48:20 +02:00
mux
net octeon_ep: Add missing check for ioremap 2023-06-21 16:02:18 +02:00
nfc nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition 2023-03-15 00:28:23 -07:00
ntb
nubus
nvdimm virtio,vhost,vdpa: features, fixes 2023-02-25 11:48:02 -08:00
nvme NVMe: Add MAXIO 1602 to bogus nid list. 2023-06-21 16:02:08 +02:00
nvmem nvmem: core: return -ENOENT if nvmem cell is not found 2023-03-10 10:55:49 +01:00
of of: overlay: Fix missing of_node_put() in error case of init_overlay_changeset() 2023-06-21 16:02:05 +02:00
opp OPP: fix error checking in opp_migrate_dentry() 2023-02-16 13:48:53 +01:00
parisc parisc: Replace regular spinlock with spin_trylock on panic path 2023-05-24 17:30:12 +01:00
parport Char/Misc and other driver subsystem changes for 6.3-rc1 2023-02-24 12:47:33 -08:00
pci PCI/DPC: Quirk PIO log size for Intel Ice Lake Root Ports 2023-06-21 16:02:06 +02:00
pcmcia Driver core changes for 6.3-rc1 2023-02-24 12:58:55 -08:00
peci
perf perf/arm-cmn: Fix port detection for CMN-700 2023-05-11 23:17:09 +09:00
phy phy: qcom-qmp-pcie-msm8996: fix init-count imbalance 2023-06-09 10:48:18 +02:00
pinctrl pinctrl: meson-axg: add missing GPIOA_18 gpio group 2023-06-14 11:16:59 +02:00
platform platform/x86: asus-wmi: Ignore WMI events with codes 0x7B, 0xC0 2023-06-21 16:02:06 +02:00
pnp
power power: supply: Fix logic checking if system is running from battery 2023-06-21 16:02:06 +02:00
powercap More power management updates for 6.3-rc1 2023-03-03 10:30:58 -08:00
pps
ps3
ptp ptp_qoriq: fix memory leak in probe() 2023-03-24 19:17:22 -07:00
pwm pwm: mtk-disp: Configure double buffering before reading in .get_state() 2023-05-11 23:17:35 +09:00
rapidio
ras
regulator regulator: qcom-rpmh: Fix regulators for PM8550 2023-06-21 16:02:13 +02:00
remoteproc firmware: qcom_scm: Use fixed width src vm bitmap 2023-06-09 10:48:18 +02:00
reset
rpmsg rpmsg: glink: Propagate TX failures in intentless mode as well 2023-05-11 23:17:10 +09:00
rtc rtc: jz4740: Make sure clock provider gets removed 2023-05-11 23:17:34 +09:00
s390 s390/ism: Fix trying to free already-freed IRQ by repeated ism_dev_exit() 2023-06-21 16:02:10 +02:00
sbus mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
scsi scsi: stex: Fix gcc 13 warnings 2023-06-09 10:48:16 +02:00
sh sh updates for v6.3 2023-03-01 09:44:22 -08:00
siox
slimbus
soc qcom: llcc/edac: Fix the base address used for accessing LLCC banks 2023-06-21 16:02:05 +02:00
soundwire soundwire: stream: Add missing clear of alloc_slave_rt 2023-06-14 11:17:03 +02:00
spi spi: fsl-dspi: avoid SCK glitches with continuous transfers 2023-06-21 16:02:13 +02:00
spmi spmi: Add a check for remove callback when removing a SPMI driver 2023-05-11 23:17:28 +09:00
ssb
staging Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE" 2023-06-14 11:17:05 +02:00
target scsi: target: core: Fix error path in target_setup_session() 2023-06-21 16:02:18 +02:00
tc
tee tee: amdtee: Add return_origin to 'struct tee_cmd_load_ta' 2023-06-14 11:16:58 +02:00
thermal thermal/intel/intel_soc_dts_iosf: Fix reporting wrong temperatures 2023-06-28 11:14:05 +02:00
thunderbolt thunderbolt: Mask ring interrupt on Intel hardware as well 2023-06-21 16:02:11 +02:00
tty tty: serial: fsl_lpuart: reduce RX watermark to 0 on LS1028A 2023-06-21 16:02:12 +02:00
ufs scsi: ufs: core: Fix MCQ nr_hw_queues 2023-06-09 10:48:08 +02:00
uio - Daniel Verkamp has contributed a memfd series ("mm/memfd: add 2023-02-23 17:09:35 -08:00
usb usb: dwc3: gadget: Reset num TRBs before giving back the request 2023-06-21 16:02:12 +02:00
vdpa vdpa/mlx5: Fix hang when cvq commands are triggered during device unregister 2023-06-14 11:17:03 +02:00
vfio vfio/type1: check pfn valid before converting to struct page 2023-06-05 09:29:44 +02:00
vhost vhost_vdpa: support PACKED when setting-getting vring_base 2023-06-14 11:17:04 +02:00
video fbcon: Fix null-ptr-deref in soft_cursor 2023-06-09 10:48:22 +02:00
virt virt/coco/sev-guest: Double-buffer messages 2023-05-11 23:17:03 +09:00
virtio virtio_ring: don't update event idx on get_buf 2023-05-11 23:17:28 +09:00
vlynq
w1 w1: ds2482: Convert to i2c's .probe_new() 2023-03-09 21:58:57 +01:00
watchdog watchdog: menz069_wdt: fix watchdog initialisation 2023-06-09 10:47:58 +02:00
xen xen/pvcalls-back: fix double frees with pvcalls_new_active_socket() 2023-05-30 14:17:26 +01:00
zorro
Kconfig
Makefile Kbuild updates for v6.3 2023-02-26 11:53:25 -08:00