Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3752704rdb; Thu, 14 Sep 2023 01:10:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFLE1RkW896nPIhZpWySdWdiL1mqPDvfidO7DEqrb8//m1lC4mxkfCFZuIppM+eT+5ulSU1 X-Received: by 2002:a05:6358:2c93:b0:135:4003:7851 with SMTP id l19-20020a0563582c9300b0013540037851mr6542825rwm.19.1694679051850; Thu, 14 Sep 2023 01:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694679051; cv=none; d=google.com; s=arc-20160816; b=DvomM4H9kxSfU/lC1APitQlT/7wR1NpPPAA44ZVymjfRWPhW2wlcD0bU985qvvPcc4 KxNNESkFI8G5aExxL2kSot3p0GqwzUVtdUEw8ke0vPuQSY7ynX0dNCNryNeHnwmVY7u3 3EzLYN8UKpdpS4qDzFFCD2Vn22wppo1KGkX2HdGvbswu7dGvoWcOY7ezf48UNNcMgY59 MMNOHDsWdLDk7/eQKeeRDgcnZ9xVgbOn8YwMmKWU+zadTKz9jJFdy/cRhLm5j9jrOspf EUKVEznTLoun0g2fqdvmsNfpgHDXESWIeGyRd1JmCXHMAukuMB182oeN6zP8acoNuiA1 UsyA== 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 :dkim-signature; bh=V/HxvkqbaFoEQh0p6Z3aJgJbBAL0SNdKKsE6KdqG0nE=; fh=zy1Co7PYFmuXUg2eZotSjXGb5HebW9Y60njLFSa2hrI=; b=SmIOu3vktw9UecR1Mu1fDKdbCgzswk0dH8UW+uXHeilzogGCO/YlPAFlb+PokbAhsY 8JHz/a5Y/T+eBW4E5CpyOQxEgFTPu1t1H+edfaEmYQCKTnjOKKa/weSkGYOPOmny8yqm OWpUd8/W0KQWyHqNfkWLsqX2n+bVAe/3qfVU362my3u0DJNNQCJpu7t8RszHMuRr2ZXg dD6ZYjqpxtBTOjhcpmvlu/qB5sYDuRSx0q8whl8IjDSzhlKkk6mRTOuX3qYjgfbPF/+Y pTAItlneyIeWRD+OK0GqNhaBt6TwVt85/yeQx/PsiTSV2kDGI/2dXLYVz+Z8Y/YiZcVF hNTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=KhfLjill; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id 6-20020a630a06000000b00573f116fba1si989704pgk.870.2023.09.14.01.10.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 01:10:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=KhfLjill; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id AF6A081016A3; Thu, 14 Sep 2023 01:09:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236200AbjINIJd (ORCPT + 99 others); Thu, 14 Sep 2023 04:09:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232458AbjINIJc (ORCPT ); Thu, 14 Sep 2023 04:09:32 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7CA49B; Thu, 14 Sep 2023 01:09:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=V/HxvkqbaFoEQh0p6Z3aJgJbBAL0SNdKKsE6KdqG0nE=; b=KhfLjilliuR7OQ+8EDr63FTB4v 6d+97T4jo2zB5AAn+T5RS1DCNlEsaeb5wOLcreZIM5Na+eZk55qGGLA5xUf5nxiY8k21kfWlR16PF 7Z81lh6wIe6EhAowPDpP84Xnf9Pzh1MQtHV6UmOJUab/33630JIRctho5GODeY5BgxlNPzzvzZuyG sW3XRKEJ3o3MfAD3x7SzKPvMFP01dNFuvp66fX9BFjqArv2MLU7jl5QGQ8O79cQU8O4sdyN4dHcFg 3lATjUULKaMiw7VOjintw3rKhil4Qn/rc6qF2n6GUV0ApCFQwTNRS2MrIdCHPQ0J1+WT+FxxeGpu4 4jUVLgoQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55678) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qghPc-0003g5-37; Thu, 14 Sep 2023 09:09:21 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1qghPY-0004ZU-U9; Thu, 14 Sep 2023 09:09:17 +0100 Date: Thu, 14 Sep 2023 09:09:16 +0100 From: "Russell King (Oracle)" To: James Morse Cc: linux-pm@vger.kernel.org, loongarch@lists.linux.dev, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, kvmarm@lists.linux.dev, x86@kernel.org, Salil Mehta , Jean-Philippe Brucker , jianyong.wu@arm.com, justin.he@arm.com Subject: Re: [RFC PATCH v2 28/35] arm64, irqchip/gic-v3, ACPI: Move MADT GICC enabled check into a helper Message-ID: References: <20230913163823.7880-1-james.morse@arm.com> <20230913163823.7880-29-james.morse@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230913163823.7880-29-james.morse@arm.com> Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 14 Sep 2023 01:09:38 -0700 (PDT) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email On Wed, Sep 13, 2023 at 04:38:16PM +0000, James Morse wrote: > +static inline bool acpi_gicc_is_usable(struct acpi_madt_generic_interrupt *gicc) > +{ > + return (gicc->flags & ACPI_MADT_ENABLED); These parens are not needed. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!