Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp4166338pxb; Sun, 27 Mar 2022 13:27:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2rdh9xHtEPLTr3OFDcaFSS/IUbOSD1AiBMNqyBJTxdB+NLBruEsez7i5R0Uh4YM5Azfw6 X-Received: by 2002:a63:58d:0:b0:382:16e6:9fb6 with SMTP id 135-20020a63058d000000b0038216e69fb6mr7903366pgf.16.1648412863649; Sun, 27 Mar 2022 13:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648412863; cv=none; d=google.com; s=arc-20160816; b=nic41zbpCQGRhAzrhVpuVoSL/aCbsbFrERfgnCajX4pyDe6wrSAbxYTrSi7r9xGGHC UG8CLnZFcV0/5vNJWZbd351dnFjVpemEn5qIZuGLT8EONhMWeJHG/t8YMx6AXokyGJjS +dv+CD8cnWMNr25Ibhzt06V2SXNzGyilVExuCuoVhO390BRLSt9VA//axSKxOHbHg6X9 rPQDVELc5NqOhu4539LD0uJkoXYX0Lo9lJBscfyaxwos1apgD5tfRNqFBs5mARKOT4g+ I5kSbie4vrbC87WJSEvvp/W7Wnh/SBBlJoma4rOe8WlERGt56GHpQnpnN4CgYppKIDJf hxnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Xq0aLjK8mlWyJ0CXnoW648bxQRycwPWS0yoFwkrlVOo=; b=zOIgl6v8xoL18V/kb+ztPuW9iW+5/QKnoMbBkLUPQXbsAYyc2P9rBFclEATA/yqFtB R3Cbm+9p9fJlMwmIg4t7qFQFMRH4VnQdQbYtrQGiZxCWR7ln7IZ4jKBVNuVpsdg07Wbk 7xzhLuyfAUA9DDM0QjSwXYkJOSaJZqqwCD7BbmvQ5LzpIrn0MH/9gX/F/r0UArH6g9+r RXrutTxOkjVK9f8BVLvAlNZvIZW57nGR5thaMLy/uF61xCdIfkbnRhuk/yCLV41Pyp81 TDAexgStjeF4UtOG+j/Jhjdk7WbFkoeW4415oMPyq7PGqC0gTApr8JS6HsISOTF3yDxf +Uxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=dFLDy7O2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a170902789100b00153b2d165basi9592700pll.450.2022.03.27.13.27.16; Sun, 27 Mar 2022 13:27:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=dFLDy7O2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234858AbiCZUAg (ORCPT + 99 others); Sat, 26 Mar 2022 16:00:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234415AbiCZUAe (ORCPT ); Sat, 26 Mar 2022 16:00:34 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B7BB47044 for ; Sat, 26 Mar 2022 12:58:57 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id 17so14330317lji.1 for ; Sat, 26 Mar 2022 12:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Xq0aLjK8mlWyJ0CXnoW648bxQRycwPWS0yoFwkrlVOo=; b=dFLDy7O2LZUcd7uoEP7FY3qmy3tSFS+MBFI1YigIfXCjrAowsTXSKLadzM4QtBSBXT z7SwY4RXCNcKvubpwS0SlVWOxK4BadrgxNayuVoBbUyF+lprdZAKjQVo2khFs8fMrZ2t MlXNsy5nBVSJXUdrlhXUDhKpxa+AoSGNzooEQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Xq0aLjK8mlWyJ0CXnoW648bxQRycwPWS0yoFwkrlVOo=; b=zU+kYAXo8s7xaq40g0ZjeIunafIIyr81x0Az0iBcHaZgE7TXc/IUatZOGQa5GWBJTZ 4KjwOwuEaS+Ms/VipZX7k2LYN7cKfPYFZXKXqB2NhIIWth0g/4pkEpixeCrx7GfSr7zm tAVqUfgDT9gos5vISZuwbr9oGaqH0oOZT6MkaXs+htLscow1hoA9qWrm7IO2R7VXrKRF CCfGag7fjEGtEDUuSqm6hDOnkXxuDroxWCl8461vcNWXXICsDLUIHp1fT01FmyVH3S2+ JwIgy2iO40y6eGrMlfLmTHk84KqsJ68qQWv3ArAN0pCStG3kertC++w4aqOkVR9GOq+B XKZQ== X-Gm-Message-State: AOAM531QbkCSfn2e98LEP5NGZZvkZCAwarHXtRDrRYBSNzophaANAy5u 83ChmKPTKlUZnDsdn8xBVAWdYBo904hIj24C78Y= X-Received: by 2002:a05:651c:104b:b0:249:b46c:c32b with SMTP id x11-20020a05651c104b00b00249b46cc32bmr9433800ljm.227.1648324735467; Sat, 26 Mar 2022 12:58:55 -0700 (PDT) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com. [209.85.167.47]) by smtp.gmail.com with ESMTPSA id u16-20020ac25190000000b004433b80c1d3sm1148476lfi.182.2022.03.26.12.58.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Mar 2022 12:58:54 -0700 (PDT) Received: by mail-lf1-f47.google.com with SMTP id e16so18576248lfc.13 for ; Sat, 26 Mar 2022 12:58:53 -0700 (PDT) X-Received: by 2002:a05:6512:b13:b0:448:90c6:dc49 with SMTP id w19-20020a0565120b1300b0044890c6dc49mr13374071lfu.542.1648324733085; Sat, 26 Mar 2022 12:58:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Sat, 26 Mar 2022 12:58:36 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PULL REQUEST] i2c for v5.18 To: Wolfram Sang , linux-i2c@vger.kernel.org, Linux Kernel Mailing List , Peter Rosin , Bartosz Golaszewski , Terry Bowman Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 25, 2022 at 1:28 AM Wolfram Sang wrote: > > I2C has for 5.18: tracepoints when Linux acts as an I2C client, added > support for AMD PSP, whole subsytsem now uses generic_handle_irq_safe(), > piix4 driver gained MMIO access enabling so far missed controllers with > AMD chipsets, plus a bulk of device driver updates, refactorization, and > fixes. It feels odd/wrong to use the piix4 driver for the AMD MMIO case on SB800. Would it not have made more sense to just make that a separate driver? It feels like now the piix4 driver has a lot of "if SB800" for the probing code, and then a lot of "if (mmio)" at runtime. I've pulled this, but just wanted to mention this "that looks a bit odd". How much code is actually _shared_ in the SB800 case? I'm not insisting on splitting this up - maybe it all makes sense. I'm just questioning it. Linus