From patchwork Sat Jan 27 15:50:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 193029 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp550656dyb; Sat, 27 Jan 2024 07:50:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHUaJzt1FwXHDD5yulcIkz2YLQLJu45ukaM0wUELaWNlIWY/Xz0t8tMvzTR4pwMeAKRi83z X-Received: by 2002:a05:6a20:d819:b0:19c:9ff8:cbe2 with SMTP id iv25-20020a056a20d81900b0019c9ff8cbe2mr445017pzb.46.1706370629681; Sat, 27 Jan 2024 07:50:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706370629; cv=pass; d=google.com; s=arc-20160816; b=S82ESjD2cCrI+JdGLExyhrGvA6rNodajKCOBfmXnvkXyf6goyOch0PpPlcS2tr67H0 LAg48hEGjfsi2vclO96mk+e5R6P8TcPvXEYdyCd/5FuOFJwnJoUiiIAQmn0i6veZxB02 rKLsIJtCdHMleAPAcAZIKR8aXs0udkJm6+Rp1SuiyLlaCYJHZ2e8isrf4lrM7pfhaZos hi7X2WDNe9m1lvtOlbADyPo/ANAczHahb7stL0qTUq2I5LkGJqZPkZ/tw0MpyaQwP5pY BziZb+YNh/uT80uB9ewluvUr3D+J+8aaKhgVyO+tPWaHvFlKsjcytFgJr/lMyIRi+kWo aArA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=P2NyTUKkE9da1Ima12SE8z8vDesj+rJJfrcXoSA4ZHE=; fh=spGhYuuVCMsR8mJoxEuGfGmfGyxWYyB/ttpNGmCk/PQ=; b=J0qxH2XepBhLZ9ZWZI7bFDWgURZVHanxgXvzzYYTiQ0keO2LRQ8nXyjModGOV4Ev9m IUEU6EMGbRmiMyyaHmrOYB02Z0K/lUT1MD6WWXbea3a6FZlk6msssgZZqKnmULqUv6IL 6XDOZpEZUxW80UKkoYEqZQyeovDRXAY2rNmxdLT+pvct8K00nsJkG/24mp5VRB43DHt6 LzYKmOTHvGyxSt6z5mUDWQRF/XdQah1LdOL4H+nCQEUeN3VZIxns8tpMpwzq6R9pAv6i JcoJhMQXmzWLHhmvlv05lcHK6RDeJqqviE2hPpqF2/Bew17ABHBH87RVOlPXKqOgy3aL uKIw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YTLw8YOM; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-41257-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41257-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u68-20020a637947000000b005d833363035si2447841pgc.790.2024.01.27.07.50.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:50:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41257-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YTLw8YOM; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-41257-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41257-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6C67D28400F for ; Sat, 27 Jan 2024 15:50:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 698882C190; Sat, 27 Jan 2024 15:50:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="YTLw8YOM" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D113A2576A for ; Sat, 27 Jan 2024 15:50:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706370612; cv=none; b=RtZ29nzdu2Wzmh9s4NY3OHAX7EtRs4OCiha3qUVAb9M3shTUvOIBdKaUr6NSj6afq5thmd9x0xYm3e9MyWivtqjRSnUCI1J+gekw9tMWRE19T19mo2g3CQHcJlezdb82/Zc+Xx2ecJJnFHJaIwlNJZBWJclCsNgpcxFY5o2XNYo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706370612; c=relaxed/simple; bh=OKPdxWyidDne3UMajumKxs0428TqhzDbCxV0XPkus2Y=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:Content-Type; b=tLmZ6UvHjOJKnFBhAj5FI3x3nJcJsANzLATu6MZsJnhVciicWwAgjYqnuXSnAnrmKvntpNQ6YYZ4+bO9dc8of2R8V9SO2DuRoObQ1FOoIXXAgbFX5LduZtjgqXgfDd9r9+OAGJwzn5ASB0/b0U0avwWdDBDCvhmY2rWr1fRbAEE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=YTLw8YOM; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706370608; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=P2NyTUKkE9da1Ima12SE8z8vDesj+rJJfrcXoSA4ZHE=; b=YTLw8YOMtz4tLFJOxI9iduenejHQvOzzzv3EU9DZRbEIlV4S824C/Mlt15PnrQlk5k+4LY d3w34kLmtE6lseob35Hh8wyRkN5YHzSwCrBPhm4DrJMlzgMlvQGBq0N5p0HryeDucUqg2Z eqi3++WqidZkNbWyBjCOnaqogYf2gYE= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-665-NjyK3bm-OR2RRVhkzZZFFQ-1; Sat, 27 Jan 2024 10:50:06 -0500 X-MC-Unique: NjyK3bm-OR2RRVhkzZZFFQ-1 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a318e8d31e8so58977166b.0 for ; Sat, 27 Jan 2024 07:50:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706370605; x=1706975405; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=P2NyTUKkE9da1Ima12SE8z8vDesj+rJJfrcXoSA4ZHE=; b=jM4p43SnkY54qZsdHNFBVYX2Mhw2tdWsfuxfE4nG8PhEgDNv226qhdzAHrnwvHkfzv UBLZbhxkVAvrz3z9dt06n7k4MWS0r/D9ccokoHXrVzG8Euchqbdpbsg09ULq+iueXmlq 0cfmKmdEPkz2iUk+xgC+InAKeRC5KvDl8TglAnQ5pVbp+eTrdcs+BXimAJWbGfbrw7ll 6XERprEO2UfB6HxH91gFI9laSC6DBRZC9lKAM1WdwHJN4FoLi1Secpn6Iy5RUIAJYkTV zFgjMy3pcUpb1FBA0aD5b+mDW9fmT9D2XCQoh5FnRfrmwI7YOO5Z4ngZnX4nAStCVKMy 63Zw== X-Gm-Message-State: AOJu0YzgdNz7B3PzgbKw627uJpxJvr5RRe3eDrLnQEJFgpL9AILW1JGF LS2qmHu/pDJxb7l0gcEg6neYwPnzUjxatl52jM0l37HjghgZOD0iYi/JNMyp57fN4ONjuFqtbUH fepfPouL0VYjH5+Z8dH8AiqWGr7dQEWAeMBpAB4eN9mu+EBJWRmH3sAAOhfi117YiP2wsbw== X-Received: by 2002:a17:906:4a12:b0:a31:7af3:f45d with SMTP id w18-20020a1709064a1200b00a317af3f45dmr1278051eju.28.1706370605254; Sat, 27 Jan 2024 07:50:05 -0800 (PST) X-Received: by 2002:a17:906:4a12:b0:a31:7af3:f45d with SMTP id w18-20020a1709064a1200b00a317af3f45dmr1278046eju.28.1706370604945; Sat, 27 Jan 2024 07:50:04 -0800 (PST) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id st2-20020a170907c08200b00a351537aac7sm1355226ejc.71.2024.01.27.07.50.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 27 Jan 2024 07:50:04 -0800 (PST) Message-ID: <0a9cc4d2-6adb-4f79-a559-1a57a2b72de7@redhat.com> Date: Sat, 27 Jan 2024 16:50:03 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Hans de Goede Subject: [GIT PULL] platform-drivers-x86 for 6.8-2 To: Linus Torvalds Cc: Linux Kernel Mailing List , platform-driver-x86@vger.kernel.org, =?utf-8?q?Ilpo_J=C3=A4rvinen?= Content-Language: en-US, nl X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789259289614329014 X-GMAIL-MSGID: 1789259289614329014 Hi Linus, Here is the first round of fixes for platform-drivers-x86 for 6.8. Highlights: - WMI bus driver fixes - Second attempt (previously reverted) at P2SB PCI rescan deadlock fix - AMD PMF driver improvements - MAINTAINERS updates - Misc. other small fixes and hw-id additions Regards, Hans The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d: Linux 6.8-rc1 (2024-01-21 14:11:32 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git tags/platform-drivers-x86-v6.8-2 for you to fetch changes up to 1abdf288b0ef5606f76b6e191fa6df05330e3d7e: platform/x86: touchscreen_dmi: Add info for the TECLAST X16 Plus tablet (2024-01-26 20:21:47 +0100) ---------------------------------------------------------------- platform-drivers-x86 for v6.8-2 Highlights: - WMI bus driver fixes - Second attempt (previously reverted) at P2SB PCI rescan deadlock fix - AMD PMF driver improvements - MAINTAINERS updates - Misc. other small fixes and hw-id additions The following is an automated git shortlog grouped by driver: MAINTAINERS: - remove defunct acpi4asus project info from asus notebooks section - add Luke Jones as maintainer for asus notebooks - Remove Perry Yuan as DELL WMI HARDWARE PRIVACY SUPPORT maintainer intel-uncore-freq: - Fix types in sysfs callbacks intel-wmi-sbl-fw-update: - Fix function name in error message p2sb: - Use pci_resource_n() in p2sb_read_bar0() - Allow p2sb_bar() calls during PCI device probe platform/mellanox: - mlxbf-pmc: Fix offset calculation for crspace events - mlxbf-tmfifo: Drop Tx network packet when Tx TmFIFO is full platform/x86/amd/pmf: - Fix memory leak in amd_pmf_get_pb_data() - Get ambient light information from AMD SFH driver - Get Human presence information from AMD SFH driver platform/x86/intel/ifs: - Call release_firmware() when handling errors. silicom-platform: - Add missing "Description:" for power_cycle sysfs attr touchscreen_dmi: - Add info for the TECLAST X16 Plus tablet wmi: - Fix wmi_dev_probe() - Fix notify callback locking - Decouple legacy WMI notify handlers from wmi_block_list - Return immediately if an suitable WMI event is found - Fix error handling in legacy WMI notify handler functions ---------------------------------------------------------------- Armin Wolf (5): platform/x86: wmi: Fix error handling in legacy WMI notify handler functions platform/x86: wmi: Return immediately if an suitable WMI event is found platform/x86: wmi: Decouple legacy WMI notify handlers from wmi_block_list platform/x86: wmi: Fix notify callback locking platform/x86: intel-wmi-sbl-fw-update: Fix function name in error message Cong Liu (1): platform/x86/amd/pmf: Fix memory leak in amd_pmf_get_pb_data() Dan Carpenter (1): platform/x86: wmi: Fix wmi_dev_probe() Hans de Goede (2): platform/x86: silicom-platform: Add missing "Description:" for power_cycle sysfs attr MAINTAINERS: remove defunct acpi4asus project info from asus notebooks section Heiner Kallweit (1): MAINTAINERS: Remove Perry Yuan as DELL WMI HARDWARE PRIVACY SUPPORT maintainer Jithu Joseph (1): platform/x86/intel/ifs: Call release_firmware() when handling errors. Liming Sun (1): platform/mellanox: mlxbf-tmfifo: Drop Tx network packet when Tx TmFIFO is full Luke D. Jones (1): MAINTAINERS: add Luke Jones as maintainer for asus notebooks Nathan Chancellor (1): platform/x86: intel-uncore-freq: Fix types in sysfs callbacks Phoenix Chen (1): platform/x86: touchscreen_dmi: Add info for the TECLAST X16 Plus tablet Shin'ichiro Kawasaki (2): platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe platform/x86: p2sb: Use pci_resource_n() in p2sb_read_bar0() Shravan Kumar Ramani (1): platform/mellanox: mlxbf-pmc: Fix offset calculation for crspace events Shyam Sundar S K (2): platform/x86/amd/pmf: Get Human presence information from AMD SFH driver platform/x86/amd/pmf: Get ambient light information from AMD SFH driver Documentation/ABI/testing/sysfs-platform-silicom | 1 + MAINTAINERS | 5 +- drivers/platform/mellanox/mlxbf-pmc.c | 4 +- drivers/platform/mellanox/mlxbf-tmfifo.c | 67 +++++++ drivers/platform/x86/amd/pmf/Kconfig | 1 + drivers/platform/x86/amd/pmf/spc.c | 36 ++++ drivers/platform/x86/amd/pmf/tee-if.c | 4 +- drivers/platform/x86/intel/ifs/load.c | 3 +- .../uncore-frequency/uncore-frequency-common.c | 82 ++++---- .../uncore-frequency/uncore-frequency-common.h | 32 ++-- drivers/platform/x86/intel/wmi/sbl-fw-update.c | 4 +- drivers/platform/x86/p2sb.c | 206 +++++++++++++++------ drivers/platform/x86/touchscreen_dmi.c | 35 ++++ drivers/platform/x86/wmi.c | 181 +++++++++++------- 14 files changed, 472 insertions(+), 189 deletions(-)