From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB7F0C433E1 for ; Thu, 21 May 2020 10:14:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7733E2072C for ; Thu, 21 May 2020 10:14:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="c3ilAnLp"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Dmg4JoXU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7733E2072C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zXg/r/Wxl3OvHFOkgomcZgHcil/sHcqk7cmz12e5jBI=; b=c3ilAnLps/8Tfs y2kEAB51u7Pwq3lFqRw0A33K0cVKe46My0GXcLdQEW1crUjFkZjAhbqBFNodiZtkxGEIUi62MxJPG 80RGiDLBIhHN3QSLZeS2B7K8yv4fwNOMSttOU6fHdIhWfIyZ0+jkz0VYzralHwwYjlO1guiqsBX3W WW2wOWjH6p870tp66IZof92w5sU9fOSM/XlLaZafZKpPgl/mkTPiQbbOVahXpKjUg0Jp1BwIZM4hc JGrJ9xgmCu75kgACjJJlT3vFFy2IoZWUC9vR5B6GQ4obLijw2N25c3TXZSBDBt3nyj7qmMsgTgXGI rTRpv7IBmnwZV1HX5axA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbiDu-0008SC-3n; Thu, 21 May 2020 10:14:46 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbiDq-0008Ra-SO for linux-arm-kernel@lists.infradead.org; Thu, 21 May 2020 10:14:44 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 081862072C; Thu, 21 May 2020 10:14:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590056082; bh=D9Q72b7qUgPDDR206w4ichbVQq6A8rfnDC2+Hv+edCc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Dmg4JoXUCdd6Bq6CUMCM52AvT1HD5NxqVWfhuQQk2ejzC7BcgrwdvasbhSGDNmfAH r2Q6jEgv9Oyah98CWOOxvb63BYPLCyuBkEGCMeck/m5YEIPxKwbTNNoz6O5ZO/p5BV Dj7TuRATLbQXuL+HfJ62WO6JZTYSfOMB6SU8uOUo= Date: Thu, 21 May 2020 11:14:38 +0100 From: Will Deacon To: Sudeep Holla Subject: Re: [PATCH v4 0/7] firmware: smccc: Add basic SMCCC v1.2 + ARCH_SOC_ID support Message-ID: <20200521101437.GB5360@willie-the-truck> References: <20200518091222.27467-1-sudeep.holla@arm.com> <158999823818.135150.13263761266508812198.b4-ty@kernel.org> <20200521070629.GB1131@bogus> <20200521075755.GA4668@willie-the-truck> <20200521081055.GD1131@bogus> <20200521091736.GA5091@willie-the-truck> <20200521092627.GB6425@bogus> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200521092627.GB6425@bogus> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200521_031442_937978_71F41F83 X-CRM114-Status: GOOD ( 21.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Lorenzo Pieralisi , Arnd Bergmann , Catalin Marinas , "linux-kernel@vger.kernel.org" , Steven Price , harb@amperecomputing.com, Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, May 21, 2020 at 10:26:27AM +0100, Sudeep Holla wrote: > On Thu, May 21, 2020 at 10:17:39AM +0100, Will Deacon wrote: > > On Thu, May 21, 2020 at 11:06:23AM +0200, Arnd Bergmann wrote: > > > On Thu, May 21, 2020 at 10:11 AM Sudeep Holla wrote: > > > > /me confused. Do you need the fix for this warning or you are happy to ignore? > > > > > > I want a fix for that, as I hope we can eventually turn this warning on by > > > default and stop playing whack-a-mole when they come up. Most of these > > > warnings are harmless, but occasionally the prototypes don't match exactly > > > and cause real bugs depending on the configuration, and ensuring both > > > sides include a common header file is an easy way to make it work > > > more reliably. > > > > > > Note that the warning should come up for either W=1 or C=1, and I also > > > think that > > > new code should generally be written sparse-clean and have no warnings with > > > 'make C=1' as a rule. > > > > Fair enough. Is anybody working on a tree-wide sweep for this, like we've > > done for other things such as zero-length arrays? If so, I can start > > enforcing this in the arch code as well (I haven't been so far, even though > > I do run sparse on every commit). > > > > Anyway, I've dropped the last patch from the branch, and we can put a fix > > for the missing prototype on top. > > > > Thanks Will, sorry for the trouble. Though I can send the fix for the > missing prototype right away, I would like to get my clang setup working > as an opportunity. clang-8 that I have is failing vanilla v5.7-rc6 > when expanding arm_smccc_1_1_* No trouble at all, really. I also saw this from Nathan the other day, which may help you get up and running with clang: https://lore.kernel.org/r/20200520024736.GA854786@ubuntu-s3-xlarge-x86 (but I haven't tried it myself, as I'm just using the Android binary) Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel