Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2355589pxb; Thu, 28 Oct 2021 22:56:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyx2ieWUw42ZEpcxMIry2QlTpTxHACJrTxzWNO3HnLdQAiQLFQEilSvZ5mg+lgXvkxRVlAZ X-Received: by 2002:a17:903:2c2:b029:101:9c88:d928 with SMTP id s2-20020a17090302c2b02901019c88d928mr8089665plk.62.1635486969781; Thu, 28 Oct 2021 22:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635486969; cv=none; d=google.com; s=arc-20160816; b=MyUFHhQG1dMLRkxjHBDCp8iIIy6vIaJ54V1JeVXbVM5Tkb1m4lOW0QVSdp2rYR4/ZE xZMCQYBEeAxNDNuxPbdpKTuiIs7ePm5ZWdPy37DF0uTGxO/iMAF0JoiIioemUO8fbcxR OLayTEYcX4x2k8Tga/Ibb1YmvHRf0ABZFC21esS/z+2Hnv9PKMk3TfGMnur8LHYxb07T MAJxWTtS2X0hzm3heNhYbzAbPsot6JVEHSjM3IpxUW8BkAzHd1mWdqT0F3Z0cQAgHjA0 2cVuJeA7M9JK9PG/bCcxj7D2qS+NoqFoLb/K7EJwHtb5GjLuMVu7QRIv37UiePSLqVDZ Lz4A== 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=/vSuXsboymS/IgpBF9knJfz3TVx/mAj7z1ArPgdizjI=; b=JpLlUTBv2+TU0P1tvyqNpqeqYEtuw7gZ8fGrx0uu2RXelvq3jJWE/vNdTeR9whxC58 wYZf+zYW76SHqkzm0bb08ao3dV+gjSzeOuk6uWiCwmfZc0NUAcMKzKYp7XTktaLuwPvQ 6vpdv2bXxr/sj5Mq7YifE8sta52pkT1kgNblFiJZLQlc/3MQ29KUFIo5A8bx8hWwWxpS DgkQgDdS6Pqa8w56bCpijeAk3jsUKlP8D56vKcEa0EYpbxvpD0W7K3fhUxGl0jxud355 lKT/JevXPMNOg/lZe/6lwyqElkPwUd/IbADj0tcYeRAKO94RY/E7wR5j2FSg3tuBO6Ja kdtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YOSdiYDP; 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 n21si2000680pgv.276.2021.10.28.22.55.54; Thu, 28 Oct 2021 22:56:09 -0700 (PDT) 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=20210112 header.b=YOSdiYDP; 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 S231852AbhJ2Fz6 (ORCPT + 99 others); Fri, 29 Oct 2021 01:55:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231774AbhJ2Fz6 (ORCPT ); Fri, 29 Oct 2021 01:55:58 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3894C061570; Thu, 28 Oct 2021 22:53:29 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id a6so21469257ybq.9; Thu, 28 Oct 2021 22:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/vSuXsboymS/IgpBF9knJfz3TVx/mAj7z1ArPgdizjI=; b=YOSdiYDPna3naFx1R6UjtVwYbyaJDrQD0isSgwS7yDBmHs8l0633OLtBLdGZdil/TM 6dWhEg7S0NjtqvwZYX7tJ6kmufifUyEsCBZ3T5NR6r+lTFF+4YliqgbNqpSYGLFCPnIc 63kQo9ZVCpGhOJjvhO4+XCfmV8oIjS0MhJ7SHonzwa5B91APGzuLAsLw+N10yC/YeEnv JMyp971+Be/WEYtK8PtAvDll0XWvtwa4gwXp0UNxF8c+NEPJIOFSKqKgAOtNeodTVA0U MaGNfijGHoFgsMdltgUJvbJD8HBBdw6PQk5VbLk1vRdZj7p6+jciFWsA8ca+MsMwbuqX ojrQ== 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:cc; bh=/vSuXsboymS/IgpBF9knJfz3TVx/mAj7z1ArPgdizjI=; b=souWHQGv+yvpNPJCJcNj64xQxBSJZVbN+Hr7P+TLPrrzDh3st8FXQOwP+uUeWuY7fY GFhf7CL36JKGPj0AGfrcs19Hfa75CT62csPnL34j/w8q410lDM0NpMNoWNVDH5v/G2/0 VPaPWjYLpHDXPQDOKesJC6xrSDPlOR7E+1aaemK2PDfloxoX0dNr/cbjaYL3/rUpuiV6 cssCWyux9ZcbkmSWbh7Ps411eftIymTr4gKRMgHofo4JFDPeS3G5+RXx9aD9vIpxmnnx 5O+VewyKSGXmv0IJFGwbJVWRK3gCktsIBL/MOCrD0EjrWnIVIxNXOvVrhrLjZTTyzLmo tZxA== X-Gm-Message-State: AOAM532LVJC42x11KzgbHK42B9OPIfZesOtkd1NSwGfwxkCJ/AjEb1Gv Glm0CUQJ8JYZM47STLKfX9YgDuGxa5e+FugrtuLljPZU X-Received: by 2002:a25:3787:: with SMTP id e129mr9141363yba.91.1635486809154; Thu, 28 Oct 2021 22:53:29 -0700 (PDT) MIME-Version: 1.0 References: <20211028141938.3530-1-lukas.bulwahn@gmail.com> <20211028141938.3530-5-lukas.bulwahn@gmail.com> In-Reply-To: From: Lukas Bulwahn Date: Fri, 29 Oct 2021 07:53:17 +0200 Message-ID: Subject: Re: [PATCH 04/13] arm: drop an obsolete ifdef with the removed config PCI_HOST_ITE8152 To: "Russell King (Oracle)" Cc: Arnd Bergmann , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Sekhar Nori , Bartosz Golaszewski , Linus Walleij , Imre Kaloz , Krzysztof Halasa , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Dinh Nguyen , Linux ARM , OpenBMC Maillist , kernel-janitors , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 28, 2021 at 5:35 PM Russell King (Oracle) wrote: > > On Thu, Oct 28, 2021 at 04:46:38PM +0200, Arnd Bergmann wrote: > > On Thu, Oct 28, 2021 at 4:19 PM Lukas Bulwahn wrote: > > > > > > Commit 6da5238fa384 ("ARM: 8993/1: remove it8152 PCI controller driver") > > > removes the config PCI_HOST_ITE8152, but left a dangling obsolete ifndef > > > in ./arch/arm/kernel/bios32.c. > > > > > > Hence, ./scripts/checkkconfigsymbols.py warns: > > > > > > PCI_HOST_ITE8152 > > > Referencing files: arch/arm/kernel/bios32.c > > > > > > Remove this obsolete ifndef. > > > > > > Signed-off-by: Lukas Bulwahn > > > > Reviewed-by: Arnd Bergmann > > > > I wonder if we should just remove this function and use the > > (non-empty) default version instead. > > > > 96c5590058d7 ("PCI: Pull PCI 'latency timer' setup up into the core") > > introduced that generic version, and I suspect the arm version > > was left out by mistake, but it's not clear from that patch. > > That was because PCI_HOST_ITE8152 needed something different from the > "do nothing" default (setting the PCI latency timer to default to 64 > as the new generic code did.) > So, can we just drop the empty pcibios_set_master() function in bios32.c and the pci handling will now (after the removal of PCI_HOST_ITE8152) just do The Right Thing(TM)? If you can confirm that, I will send an updated patch here. Thanks, Lukas