From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD1CF302CD5 for ; Mon, 18 May 2026 23:07:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779145672; cv=none; b=BtC8r5u3jLMqv4OV56zmDKDrdmMJVZ8BTGtlyKpKqT7h2VFxYci0ySSlFWKF6PRaUVtVLcgYnZPKsPXpgWWrzhMUPg8eUnHv6iBewGOPMAElry1dPpchAv9mKyNlPRbVBIsqVkZX69b0DGfBIS3z/EuMTk0auDQRqGSrdUu1Vx4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779145672; c=relaxed/simple; bh=IQSkyfVnVv6hMYJ0XzeA/W2XMI6fDtbK2L0AxxeJkSc=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=r3z+XKXI4/izZHxWg4CnjbjkWh23i9wAe4sR8NlDUSOChFSn2uhuPjGe0yyvZbOnRak2lMoxqFlgg3Fk7QHhZSJowrxZbJJKmsV46z4h0av1t8g3JT4k3K5opmMldwqSoAmFOvHH9f2p3EOqeuwPeDFJnD6DOzGuwf0vHF076pw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DzhwPjMl; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DzhwPjMl" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2b45cb89f7eso18341825ad.0 for ; Mon, 18 May 2026 16:07:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779145670; x=1779750470; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=IQSkyfVnVv6hMYJ0XzeA/W2XMI6fDtbK2L0AxxeJkSc=; b=DzhwPjMlWqz5efX1sMgxb2Vls98hT8VhyyClZRBRC3M4GT5mFpkf/w2LTj2j6/MAWD pmSLpJ33QG2EhmIgJa3fryQYzxq5ibxUVGjsaVVtIcyghjY1aojLp1duJynZFN8U/8CZ Fu68HuJ8BJ1NF7RJmXynB7c78S1gvClezbHO05wrBtmmdToLYbpZuTgNA7sSQuDKs89L 30HFk0ZN0qyNJdbWTkbWmUEPxcJjo5vE0GNulDFSVKOsvcmcte6fYTR/9U+PKyjPjSNP CN1VvZkHYgB5fiyQwvSzQXCwVpH5nez3FB3sEXqPZ876Gxm/PXfbqj7jSlFXrDAa5jSb 14UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779145670; x=1779750470; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IQSkyfVnVv6hMYJ0XzeA/W2XMI6fDtbK2L0AxxeJkSc=; b=KUuyWXOs0sgv6TsmDYxgYltuBSNW4pVjv4IjWtfnpS0Gqab/IstqEbwEFId++e0YNa pGwRo38bAsxCPQRa2hS26Y+LXnOtwD8CxUhuOSIBv2A7b4O6D+j4vcuB3ABaFbYd5PLk nBPjedfvuKMGcG6Ze5Lx2JsMNIUZaueI1hHkUFIPd5Mt9ybpIw3QnngB9neoha2ZZg/q uUOmT2z51NCTOFAh1WL+lLbp7bMUE40NEr7yK6HJm02ty3JJxakSwc56PYB1K/ab34ZS mbPx+2zwB4GbR1N7xR2FWoZOo9uv2/QPUvqjEglyutQjkpPN7HFzYXSsHrbMRcCZ1Wpr X3ZQ== X-Forwarded-Encrypted: i=1; AFNElJ9aQwN5+DYljmqFbmjWR0icXzq5FYWcgx0Dm99bVVu3kfQ/yp/xiy3S5oQzFgDTsFTnyViD4/MM4N0=@vger.kernel.org X-Gm-Message-State: AOJu0YylmhSF/C/lzeH1yhzkMTHVLlWO/bYLQT9OUzMfJj5f0c6Jdnp6 xA/iA+5lUZSehZckSIFA75sUaSV0z/iWRPA3lx36jCnifQm5FI00SW/Z X-Gm-Gg: Acq92OGYoC6cCNWKWz2uaiWgRBOlV3MXwugt0SIX9Wu4+HlBu4dQ8ljr3WXn1qd55Ea QwY3ERme9cnqleD8dPXwSSIb7nisKzsd3ZubvqvAcPN8CAq7mzEvou7r6CREXAKFxPc47stUkb7 h5axc9qzokZaM/SxW4lHHhLVfbuez+d8vGcjXwcKWtKy3wW9CyaNUoX0POrONLn3NdGffS/4+PR ORdOjWpUuc9Sub3+yg43fnyYllfBqlzwFoppkn2+Z6lVLpgDEA4U7hblbzBdq+1+oFS/W90MgIc rafLb0s76TF96AJMj1AjUuXubIxPibqTj7XYQAm2ztqbDSTpkUP7r9Eh07N0VUwLWfgPEG8+vad +S8RuxTBujz3boB5GYzco8bYPpJ4d/tD5nePuL7wThdxqvsqejRR5A6buDiXLKBluAHsfwH4MG2 4qEuzcSrfbbeTf/9JbCnTubTs+enWq9NlBe3bQHyyy+mGp31se8C74 X-Received: by 2002:a17:902:ef11:b0:2be:1eb1:eaf7 with SMTP id d9443c01a7336-2be1eb1ec68mr30387365ad.24.1779145670352; Mon, 18 May 2026 16:07:50 -0700 (PDT) Received: from [192.168.89.2] ([119.214.48.64]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2bd5d0fcb10sm161499835ad.60.2026.05.18.16.07.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 May 2026 16:07:49 -0700 (PDT) Message-ID: <79ee1d2d-1c8b-4d0e-896e-e9c09374053d@gmail.com> Date: Tue, 19 May 2026 08:07:46 +0900 Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 1/2] usb: xhci-pci: add AMD Promontory 21 PCI glue From: Jihong Min To: Michal Pecio Cc: Greg Kroah-Hartman , Mathias Nyman , Guenter Roeck , Jonathan Corbet , Shuah Khan , Mario Limonciello , Basavaraj Natikar , linux-usb@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, "Mario Limonciello (AMD)" , Yaroslav Isakov References: <20260517130407.795157-1-hurryman2212@gmail.com> <20260517130407.795157-2-hurryman2212@gmail.com> <20260517232147.34931718.michal.pecio@gmail.com> <144ec61c-4cc1-4986-a16c-7c1b99f3a72e@gmail.com> Content-Language: en-US In-Reply-To: <144ec61c-4cc1-4986-a16c-7c1b99f3a72e@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/19/26 05:30, Jihong Min wrote: > It seems that these three functions above are everything that you truly > want to add; the rest is boilerplate required by this two-module scheme > to work, plus ID tables which must be duplicated and kept in sync. > > I wonder if a separate module is really justified, as opposed to simply > linking this file into xhci_pci.ko when directed by Kconfig. > > The downside would be slightly higher memory usage on systems where the > hwmon driver is enabled but not needed. OTOH, same systems would likely > see reduced disk waste. One clarification about this part: In my previous reply I said that I could rework this either way depending on the USB maintainer preference. After thinking about it again, I think the current direction is the better one. Mathias's earlier review pushed this series away from adding PROM21-specific hwmon support directly into the common xhci-pci path. I agree with that direction. The common xhci-pci driver should not grow PROM21-specific sensor logic. The current split keeps the PROM21-specific auxiliary-device lifetime handling in xhci-pci-prom21.c, keeps the hwmon implementation in drivers/hwmon, and leaves xhci-pci.c with only the PCI ID handoff. That is also the closest match to the existing Renesas handoff approach. So, while I previously phrased this as something I would leave entirely to the USB maintainers, my current preference is to keep the separate PROM21 PCI glue driver unless Mathias or another USB maintainer specifically asks for a different structure. Sincerely, Jihong Min