Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2166636pxb; Fri, 5 Mar 2021 08:43:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJziZHZxfdVfpm5IL6Yc5DUtJ4E/gGq1g6VqcAhHNqERTPxub45bvDctaFhoRKDVK/nQEL2X X-Received: by 2002:aa7:c4c2:: with SMTP id p2mr9818957edr.213.1614962600188; Fri, 05 Mar 2021 08:43:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614962600; cv=none; d=google.com; s=arc-20160816; b=ipjiDQbFzPKTXLurg5+d+Esz8/kLyX8cB2Z+Q17nzQOvyvONqyW/QYHcOarrESNTPK nByJAejfObLJVVPEwDoZiKAak2CaP6Mf6dgmpyhs/QRphiGLNMHUumgoAKa87qJULJRU 6UfFds+e31Hu9LZLqCTtyHIXqjWy/niVTcCzP28aIJAeI9hEgTZB7YsWBvxKXO8D87pZ L+5RWVVtiPji1jwrkoMWGzjQzOKROodInItLQ86D8Peh0F/e0QlrE6aAScDDRRWxIC9F 1tpj+l+M2MRLxqC4D+/8EP3VOcz2faao8rBRQxHMpbwYlRxvHiP7L+9hCx/DYDjT1Yh+ BNDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IGCBvAo+uncfEo5reNL7gjROP3yfb11IwGCMA+HSQLA=; b=pUc1U9g/RUuyz3lABOcuTBnxCY0+enp5fbkM6e2p3Wppe9Oo8m/oSSduRAywkOZSgx Mh9ebhpO+JTfzPn6oLGC6EmnoZOH149j1mvKKeg+M5GRA9I8N1ESk6kE5dPMrv7Bk9tw /+nP/QKM+RPUSEtAro+oGr53ZlDEcpjTqZqbd5kbCHnit06VpgdX+oFl8Qw7xAId1QAa roUo6+8Sr3Loi//itzVPKiXu25AgoNZTj90ayJ2/YEtixj3Havo4dBJwBoz1H4mAiyB1 wMDnWNkaoZVUxzBzbYdu/HXq7e+RUNM4/Pxy3zvVY+KKH63DZGdBsKejgyuzIFP8xi9c iOqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OZmNTpS6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si1925229edm.477.2021.03.05.08.42.56; Fri, 05 Mar 2021 08:43:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OZmNTpS6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231171AbhCEQlx (ORCPT + 99 others); Fri, 5 Mar 2021 11:41:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229964AbhCEQlj (ORCPT ); Fri, 5 Mar 2021 11:41:39 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44766C061574; Fri, 5 Mar 2021 08:41:39 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id b15so2193681pjb.0; Fri, 05 Mar 2021 08:41:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IGCBvAo+uncfEo5reNL7gjROP3yfb11IwGCMA+HSQLA=; b=OZmNTpS60CpZUAarGLD/aFcc324aTOAPj4whv92YyP9FqDA/ODrd+KxWmHUsmnSZIC ESYKtYjrciSKhk/ySQ7WeQfOlpihpyvZNLWgBRGZ7fQKDeIQaJin2U6SOhpRfnoJk/me oxN27ReR6SFWE0gwlXYnJWzWjRx39SwBs+g4sC1OguWq3tGJ1qICovMRME+rozZoKjd6 Am3H8UOEPJwQouKmAk/fkGXuUWGFEadrHBaAcMpEeN04gHI6Y8FrAMsnSdyxOQb2NHvY H6rtT+riZQsjfHntllPYCq6pqXh0O8nULD8EANJN+ayS3/DFdvs3j8zM9tOFLgD3TYGI J1Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IGCBvAo+uncfEo5reNL7gjROP3yfb11IwGCMA+HSQLA=; b=q2E02HcPcIGq8c0QfYkX9/3mTIZQAMsUNk7c4etPxA1PNZlEHjn0R7bH21XpTu3z9x XqSC/HMbhaya2uN4q/uYZ550DOwU7ksdc1WUAJOC+MQ6EbahI5YETT1wSzVQtx6mjzgr 20GqrP14RvvBQYnbpuLJnrEuLFYPwSCL/eu3SEU4O5j2BlkD+WBxeocBLlLFfpkAREuv KyNPOZ92sZEdmTVy7BDnGTlFZscmhiU+HmDwesxruxwIpYvGcOqkHDIpfnD2aDEqdWvD 6PzsRZKMpROL1GYryKKYPpOjMpF5iHmLt1U+PDNpWmWVLXnVuifTYk4+BunIpdvbH/iv MRKw== X-Gm-Message-State: AOAM531/TugThaeAnR9AXhfELp1dvuN6C/Mo5ySNCH3kkLp1rFgRD/3G dw00YyZH3IWvKov7OqXlIjJ0jcJ5ToVES7nAoFxdwakBDIQz3w== X-Received: by 2002:a17:90a:db49:: with SMTP id u9mr11559646pjx.181.1614962498852; Fri, 05 Mar 2021 08:41:38 -0800 (PST) MIME-Version: 1.0 References: <20210302163309.25528-1-henning.schild@siemens.com> <20210302163309.25528-2-henning.schild@siemens.com> <2fad304a-9e1e-c83d-7a9e-02b35ed22418@redhat.com> In-Reply-To: From: Andy Shevchenko Date: Fri, 5 Mar 2021 18:41:22 +0200 Message-ID: Subject: Re: [PATCH 1/4] platform/x86: simatic-ipc: add main driver for Siemens devices To: Hans de Goede Cc: Henning Schild , Linux Kernel Mailing List , Linux LED Subsystem , Platform Driver , linux-watchdog@vger.kernel.org, Srikanth Krishnakar , Jan Kiszka , Gerd Haeussler , Guenter Roeck , Wim Van Sebroeck , Mark Gross , Pavel Machek Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 5, 2021 at 6:25 PM Andy Shevchenko wrote: > On Fri, Mar 5, 2021 at 6:14 PM Hans de Goede wrote: > > On 3/5/21 4:42 PM, Andy Shevchenko wrote: ... > > So I took a quick look at the following 2 commits: > > (One of the latter commits moves the code to drivers/pci/pci-p2sb.c, > do you think it's better like that? The idea is to deduplicate > __pci_bus_read_base() call) > > > "platform/x86: p2sb: New Primary to Sideband bridge support library" > > "mfd: lpc_ich: Switch to generic p2sb_bar()" > > > > And this looks good to me, although compared to the code from this > > patch-set you are missing the pci_lock_rescan_remove(); and > > pci_unlock_rescan_remove(); calls. > > Oh, indeed. Correction here, I'm using pci_bus_sem in the latest version. -- With Best Regards, Andy Shevchenko