Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp522103ybi; Fri, 7 Jun 2019 11:58:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLSIcpmGyyOMCbudpgSzx/r/2RBH7i32mimcUQ1yguwllnaajffn3L/cRXxXADGL1CpvIO X-Received: by 2002:a17:902:b691:: with SMTP id c17mr35124663pls.107.1559933935650; Fri, 07 Jun 2019 11:58:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559933935; cv=none; d=google.com; s=arc-20160816; b=eI7IfpdUSrT+TlkxGz+nBumy1SbQ5K57HEdk4f0BugfNWE2efNoTMhYElMctA2ZhT1 +CHUx8Tu+tycAdK/AU30l/vZjo6SiR+dBAYJdynnjf/f4+toRMulJpL2w1UCIX+PM/Sv EJL+lZ5J8G54E1kf9cHOA5ZdKkcZ9WJX0NetaUO1T/fM6v1XFCtAvs5nWucgC8YHABUV Smy9b2ktu+l23eS+VBCnqmbVN9hnJoGH9OUltI6DQe5cuWfXq69H3XB43dnLtC+tq/oV YQuj2IwtozaEQXgZPTgeQ6gEeqHXknDSwDy/nhubQ623adLl+HJN5Akj5ie/0GveTEf3 cm2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=t1Jr1FCmqS1Mr/m/1RE5nSsz37n3OPkP1+HhQvMxbRI=; b=xAP0m9CUgg6By4nq/GptfdcF1/u00K8G9LRqxiGHSwZXZ2Zsz3X719+4esFHOxbw6K uyZP4Wt+9m1ji+vDyop6KchoOUZ6+LTkuViZ2vAE/+ZGFDCbIUW3d9lOExZ/ecUSmMYb WN9CpNBcFwECBGXvSZegdXidNXBy4c/RPZq1L2ZAZgcV/Y7ZgqjuTcf0A2St/el4O9hz cPK51G/QTBIsBeTmfmeU587pfrb/hC0vqUnD++LkrBhIDtCEW74y5GDYYEiyMYuSkgMg /wVO98l+N1MM8POMDgsI5o3KMu9TTDosttVBNX7S61PUKLfuCqCjYkTrogw0LDwj3RmV +Ctg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="OYe//x5g"; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1si2516076pjt.4.2019.06.07.11.58.39; Fri, 07 Jun 2019 11:58:55 -0700 (PDT) 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; dkim=pass header.i=@broadcom.com header.s=google header.b="OYe//x5g"; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731398AbfFGR1y (ORCPT + 99 others); Fri, 7 Jun 2019 13:27:54 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46825 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730316AbfFGR1y (ORCPT ); Fri, 7 Jun 2019 13:27:54 -0400 Received: by mail-pg1-f196.google.com with SMTP id v9so1486572pgr.13 for ; Fri, 07 Jun 2019 10:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=t1Jr1FCmqS1Mr/m/1RE5nSsz37n3OPkP1+HhQvMxbRI=; b=OYe//x5getkN5h7mdMutJxAAxtun8wSlPprc7g/qPr8D8/W/jchciN9Vx9y+yjRNRY gHIKHlgL/am/LTLWbN2MfkIYmKh/G+3/CaqkZBcKrzn/60cAzWUk5RHgWxb6phBjgZeu GPNtgk6gQTXd1B+uCr+QYIszkXqNNR1tROQPI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=t1Jr1FCmqS1Mr/m/1RE5nSsz37n3OPkP1+HhQvMxbRI=; b=Yz5bbSvDED71pOEMXTO76NvGqiJdRs2TJty27Mbp68JgVadGLtJrtJwbJfsKypy14e 96lI2lEu3vxcEMuDZB4qC0/HcoSbak+NwTFAnST7TRN7HYrWLZFRRtjuyt/2BW0sGJh8 Q6PyI2FqE9A+4Zm0t98OKs0CSMqPgUrbY5ybDjdTRppCDEBxqFcQM1F9A1denzI7IIiB sREcF4QAUcn1+dbgi9pM8Cg2zT6fqXieztYu9biY/weVPy1TRok3JcjmpjV0OLP3rod6 WAloeLgvbzpDpblHktf5ZMjbTf/KBgvLhJVq8cvTvj/I7H038+lyfK6X5II9JIQbaRx7 YK0Q== X-Gm-Message-State: APjAAAUGRqF1TmkycVchtMA8wjrorhA/MZEH16lzRPKuu02gmNym+AHG 1GNkGyxUCt4njDLZuNO2G8LreQ== X-Received: by 2002:a63:f957:: with SMTP id q23mr4023924pgk.326.1559928473364; Fri, 07 Jun 2019 10:27:53 -0700 (PDT) Received: from [10.67.49.123] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id g9sm2318681pgs.78.2019.06.07.10.27.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Jun 2019 10:27:52 -0700 (PDT) Subject: Re: [PATCH] irqchip/bcm7038-l1: Fix build on ARM/ARM64 To: Florian Fainelli , linux-kernel@vger.kernel.org, Marc Zyngier Cc: Kevin Cernekee , Thomas Gleixner , Jason Cooper , "open list:BROADCOM BMIPS MIPS ARCHITECTURE" , "open list:BROADCOM BMIPS MIPS ARCHITECTURE" References: <20190530231658.23273-1-f.fainelli@gmail.com> From: Florian Fainelli Openpgp: preference=signencrypt Autocrypt: addr=florian.fainelli@broadcom.com; prefer-encrypt=mutual; keydata= mQENBFPAG8ABCAC3EO02urEwipgbUNJ1r6oI2Vr/+uE389lSEShN2PmL3MVnzhViSAtrYxeT M0Txqn1tOWoIc4QUl6Ggqf5KP6FoRkCrgMMTnUAINsINYXK+3OLe7HjP10h2jDRX4Ajs4Ghs JrZOBru6rH0YrgAhr6O5gG7NE1jhly+EsOa2MpwOiXO4DE/YKZGuVe6Bh87WqmILs9KvnNrQ PcycQnYKTVpqE95d4M824M5cuRB6D1GrYovCsjA9uxo22kPdOoQRAu5gBBn3AdtALFyQj9DQ KQuc39/i/Kt6XLZ/RsBc6qLs+p+JnEuPJngTSfWvzGjpx0nkwCMi4yBb+xk7Hki4kEslABEB AAG0MEZsb3JpYW4gRmFpbmVsbGkgPGZsb3JpYW4uZmFpbmVsbGlAYnJvYWRjb20uY29tPokB xAQQAQgArgUCXJvPrRcKAAG/SMv+fS3xUQWa0NryPuoRGjsA3SAUAAAAAAAWAAFrZXktdXNh Z2UtbWFza0BwZ3AuY29tjDAUgAAAAAAgAAdwcmVmZXJyZWQtZW1haWwtZW5jb2RpbmdAcGdw LmNvbXBncG1pbWUICwkIBwMCAQoFF4AAAAAZGGxkYXA6Ly9rZXlzLmJyb2FkY29tLmNvbQUb AwAAAAMWAgEFHgEAAAAEFQgJCgAKCRCBMbXEKbxmoE4DB/9JySDRt/ArjeOHOwGA2sLR1DV6 Mv6RuStiefNvJ14BRfMkt9EV/dBp9CsI+slwj9/ZlBotQXlAoGr4uivZvcnQ9dWDjTExXsRJ WcBwUlSUPYJc/kPWFnT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QrWp7XBk9ls/9j5W2apKCcTEHONK2312uMUEryWI9BlqWnawyVL1LtyxLLpwwsXVq5m5 sBkSqma2ldqBu2BHXZg6jntF5vzcXkqG3DCJZ2hOldFPH+czRwe2OOsiY42E/w7NUyaN6b8H rw1j77+q3QXldOw/bON361EusWHdbhcRwu3WWFiY2ZslH+Xr69VtYAoMC1xtDxIvZ96ps9ZX pUPJUqHJr8QSrTG1/zioQH7j/4iMJ07MMPeQNkmj4kGQOdTcsFfDhYLDdCE5dj5WeE6fYRxE Q3up0ArDSP1L Message-ID: <9fbd7dc0-d45b-3a33-9011-284fa867ca9b@broadcom.com> Date: Fri, 7 Jun 2019 10:27:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190530231658.23273-1-f.fainelli@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/30/19 4:16 PM, Florian Fainelli wrote: > The driver uses cpu_logical_map[] which is defined under > arch/{arm,arm64}/include/asm/smp_plat.h. > > Fixes: 5f7f0317ed28 ("IRQCHIP: Add new driver for BCM7038-style level 1 interrupt controllers") > Signed-off-by: Florian Fainelli Please discard this patch, we won't need it with: https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=8866/1 and: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a02a532c2a6c79a898cd6c430fe3ad011d9aece3 > --- > drivers/irqchip/irq-bcm7038-l1.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/irqchip/irq-bcm7038-l1.c b/drivers/irqchip/irq-bcm7038-l1.c > index 0acebac1920b..970857a32508 100644 > --- a/drivers/irqchip/irq-bcm7038-l1.c > +++ b/drivers/irqchip/irq-bcm7038-l1.c > @@ -30,6 +30,9 @@ > #include > #include > #include > +#if defined(CONFIG_ARM) || defined(CONFIG_ARM64) > +#include > +#endif > > #define IRQS_PER_WORD 32 > #define REG_BYTES_PER_IRQ_WORD (sizeof(u32) * 4) > -- Florian