Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp447800ybl; Thu, 23 Jan 2020 01:32:35 -0800 (PST) X-Google-Smtp-Source: APXvYqzWB58dbri7boUBkzeFtKzbFpz28qZxPn2WS9Q4XYCCEjMKtE1xZGUeHJc+TnJqUFElDVO+ X-Received: by 2002:a9d:4e97:: with SMTP id v23mr10127706otk.201.1579771955285; Thu, 23 Jan 2020 01:32:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579771955; cv=none; d=google.com; s=arc-20160816; b=S953iTqvXdzn3DiH0lQJCdAjvfEm5/f8uJvowDUhQox6A9nEyVrOM/aWuisrSLI3ly sfFGJLRE36J2cIlum9Qk3k8BMwqUIHHvTikWgRK/dZjnGFyHBoP8MBDsbuIz4e28Um+8 UUouJ88ISguXbJbYJBdQX1hNlvduglY8qyRPTGmmc9NGE1ZQaxVAy171tP+oznq+wBmZ M/D3B6Cio+BBoBbTXLTq1r+y6ARvlvzswm3CfWVREwn8f1wRdJcPN7XYGTRbwfP+gUAj hNEn94u1/EXTVEl75KhRXdjVof53hOPMMg9nZH67camo27v5WErVxakaqdET8DB0FZ2A 4g5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=R1J6FCR4iw6F143Mrog9ddQTJ4O+wJBhPa0ux9+3yY8=; b=P84NWDjUejKiNZKoBnd5gblpYl+V8lk23xVwEynhKhodYdQXHV5d0SSuSCuwJL+ADB 0oBoMJItCDuvjA6BIpOEbbYY0Ut70OPT+x+APZII/H33rn/4fupYiXzSCeng99bHC5mI SoH+8SVLjl/PZMuP1NebcRIULur3dzuxfd4/TFlsqPBCwJyTzLU/lKtgi4kMWIOM6P+j +YSKn06NVNMh0fprC6PvKyqg/VF7tx4B/c5yOCEmORvMmkDNjWzhjMVX9WPdzdCR1TM+ 7mbZG4UbofDAl95gbdJ4uZ9ahzel8vnxVTiIUSjk62DZrHD0DXwILsIdOsqWaGJ4t0UV 1EXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l17si855814otk.218.2020.01.23.01.32.22; Thu, 23 Jan 2020 01:32:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726590AbgAWJbZ (ORCPT + 99 others); Thu, 23 Jan 2020 04:31:25 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:40163 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726099AbgAWJbZ (ORCPT ); Thu, 23 Jan 2020 04:31:25 -0500 Received: by mail-ed1-f67.google.com with SMTP id b8so2623527edx.7; Thu, 23 Jan 2020 01:31:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=R1J6FCR4iw6F143Mrog9ddQTJ4O+wJBhPa0ux9+3yY8=; b=gKAQ9JZMovlAj3iP6osQEIVZ2avjqvUKah4ci/iMjQRKtRZnm9fkONSX/sTiUs8GMl aYtXc9W3ubKAwffxeD/pZlljQjyn9MECKZSbz75N1I5n1KJKUTx2u2Mqji12sZnPhZ/q YthQQ+CSFswOnceTmRDHKUh8pJYYmHy4cO6id3v7b28SShk8sa/GDS8E8riCH24MJZK/ pAmz/8EywYQmVmcaog0gEns3nZoFOWKluhK46G/W73gRfITsPNYLbczFwXe8AXqq/uU3 YYm2udyPacxAytS8j9gdwk4wxfjqptfo6VsKtzhRwHcDk99PnZylYBVcXFQs/BVijMnW Hh2w== X-Gm-Message-State: APjAAAWmxp/IwShOOwJHZ3wlgOV0JMsAwK7nuLC5FovsKqOWAwuT2YIH Mu0Xaj3eLm0VUV226w45qoKfWbh92VU= X-Received: by 2002:a05:6402:30b7:: with SMTP id df23mr6178248edb.325.1579771883413; Thu, 23 Jan 2020 01:31:23 -0800 (PST) Received: from pi3 ([194.230.155.229]) by smtp.googlemail.com with ESMTPSA id dx7sm48267ejb.81.2020.01.23.01.31.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 01:31:22 -0800 (PST) Date: Thu, 23 Jan 2020 10:31:20 +0100 From: Krzysztof Kozlowski To: Wolfram Sang Cc: Jean Delvare , Jarkko Nikula , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Linux Next Mailing List , Kishon Vijay Abraham I , Greg KH , Stephen Rothwell , Geert Uytterhoeven , Linux ARM Subject: Re: [PATCH v2 1/2] i2c: Enable compile testing for some of drivers Message-ID: <20200123093120.GA2365@pi3> References: <1578384779-15487-1-git-send-email-krzk@kernel.org> <20200123091228.GB1105@ninjato> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200123091228.GB1105@ninjato> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 23, 2020 at 10:12:28AM +0100, Wolfram Sang wrote: > > > config I2C_ZX2967 > > tristate "ZTE ZX2967 I2C support" > > - depends on ARCH_ZX > > - default y > > + depends on ARCH_ZX || (COMPILE_TEST && (ARC || ARM || ARM64 || M68K || RISCV || SUPERH || SPARC)) > > + # COMPILE_TEST needs architectures with readsX()/writesX() primitives > > The list of archs neither looks pretty nor very maintainable. My > suggestion is that we leave this out of COMPILE_TEST until we have > something like ARCH_HAS_READS or something. What do you think? Indeed it does not look good. However having compile testing allows kbuild to run sparse and smatch which already started pointing minor issues in existing drivers. Yeah... pros and cons... I don't have a strong opinion to keep it. Since patch is important, maybe let's just skip this part? Best regards, Krzysztof