Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp420469pxb; Thu, 7 Apr 2022 08:59:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkIs7zzUJsgy0PduAEUtNRkZklZ1+uF8YVyKWpATGvbDueha3onILSaPT/DBia0le3lwLa X-Received: by 2002:a05:6a00:1ace:b0:4fb:37ad:16de with SMTP id f14-20020a056a001ace00b004fb37ad16demr14612240pfv.83.1649347185287; Thu, 07 Apr 2022 08:59:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649347185; cv=none; d=google.com; s=arc-20160816; b=vjjU9g2duGfElerH45lmcVsW6yvft6C9l8Z1IBI4FXpYunq6Og3h3o01yR5uTSUCOb dxMkR9oFUVZaAaFDGCukYH2T5W3xcTI4iBZiDX8iGL0SerXG9lRGYPCS9099gNNTerU7 sztfGVUZvg35Knts6bI5OR+MFxabammBKGiDwxhtOG4qxSNvbKzgKO9zQRCf81Ft6E/c WGKa7GrqBp6P7jaZbdtOVOTxWoKMRxPSlY77j9RuLVVSwFRpNw/o/A+q3+fzhGMcSqfB DH5f8FCpeTmObXExWDvuYmfb6lB5XVO09SZEMARxkVKkNRV635YN2R4k55HzzjrbOMnY 6A1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=RyClp8J+UOKKd69LMTLM+mjlqOxwep1G4/PnD2rDX08=; b=SWWiAFeMOvOyV28gk8DpxaDaNE2V8H+5ReqNpnAH3MWNVp/swNnL+S6n6ejASej1LB ANaCDI9Geu4Amofwodc7hLRx4wJ9iVTKZv/TW2KuXdXxwDGGzWLCOzu4loBgSLm5/lgh kvGr89pqGxRCp8bhoJZ2HzLl0KszBLeB6hIv7ARsByfmCcA/OzaMB4UHS4SqZWDIyeRB 0CcjBo9/5EEd8ZzBneFoCZ37LTa6icvCp6Vukd8s3T3ClhkJAC4c5XTmrbn2ZW3AQZSX UDfpU5loYbGsKMemAbSgcvHOBA3XA1NhQ4pxrwrCPkmEmLUZilqZNyx8rSiaCxDNnWqG /gwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Mt/4xtHY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a170902d48400b00153b2d16629si9528942plg.561.2022.04.07.08.58.32; Thu, 07 Apr 2022 08:59:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Mt/4xtHY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S243021AbiDGIc3 (ORCPT + 99 others); Thu, 7 Apr 2022 04:32:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243032AbiDGIcQ (ORCPT ); Thu, 7 Apr 2022 04:32:16 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A1E2148652; Thu, 7 Apr 2022 01:30:16 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id k2so5495090edj.9; Thu, 07 Apr 2022 01:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=RyClp8J+UOKKd69LMTLM+mjlqOxwep1G4/PnD2rDX08=; b=Mt/4xtHYCRSz9HxImH1r/cSaOGq627NjsJ6BjUXBtW4qhHf9AmlnRZtseRSnsS35Tf yKeOvzfVHwmjmOzl2sJ22RDKjomqwsQiFlRjm0MzY9/jAH7DdRQnvlbbqVKBdYdEQGnX ITgCeJ14wVD+LzYtM0UUxuO6OegjQIsfada+VKoipegYk4crapKQirukLOv26UNDhPpJ yOF4tgukP1D3vX0YTtCDsvAQeSDlpxmO/A14GIyNbOLjYS+f5r5tIbopwyT2HOKbGjr9 g84Ck1YjB3pnfKynCniuLn85ND8bYiWniHXRNWGmRyNY+3GEncmBYUBXnKtMXMncViYe ac6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=RyClp8J+UOKKd69LMTLM+mjlqOxwep1G4/PnD2rDX08=; b=fUNtpX6y3E9lpOWHt0hbZo+KccJshIH5+UOCJEBAldZ6H/OuNGNO2relgQ2jAbqhaO oi81jXMymq+/WiQ5qbrUIRaR8pkKKOsKLCqWwTM8hHzvElpL1P0+zkAbyOID/E1M2q+q uzLnZQVvX8tU0wdsSimCK3C8tUlEe7VJiqkGnQp4f6Q9Y8313Vji2q7Hzu6dGUBuiWis dFG8ZiSGj63wLGtcPZtXR4Wi2kLZkFW62gFqNbc6FbT/9swIIePLR/hf84VrdoxmAG66 w8VcsAM5QyKEFJGiDrF9k18LDP8xD3RhOvDAckgSg0GlnAReZa168vTb+zWSrRT5CVBQ MJ/Q== X-Gm-Message-State: AOAM532yxPuX6QHcl9LQ/wNwXgCBfptCp3bvUFkU5zfH8tXAB4K0QAnt r7e8RXQWUyn4DL0gBHMHfeg= X-Received: by 2002:a05:6402:548:b0:41c:bf00:307 with SMTP id i8-20020a056402054800b0041cbf000307mr12848490edx.6.1649320215006; Thu, 07 Apr 2022 01:30:15 -0700 (PDT) Received: from giga-mm.localdomain ([195.245.23.54]) by smtp.gmail.com with ESMTPSA id v10-20020a170906380a00b006a68610908asm7406320ejc.24.2022.04.07.01.30.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 01:30:14 -0700 (PDT) Message-ID: <74f4f647b22bc469fdcb535b47d5a808d8372e56.camel@gmail.com> Subject: Re: [PATCH 03/12] ARM: ep93xx: enable SPARSE_IRQ From: Alexander Sverdlin To: Arnd Bergmann Cc: Arnd Bergmann , Russell King , Hartley Sweeten , Hubert Feurstein , Lukasz Majewski , Krzysztof Kozlowski , Alim Akhtar , Linus Walleij , Imre Kaloz , Krzysztof Halasa , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Simtec Linux Team , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Ard Biesheuvel , Stephen Boyd , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, patches@opensource.cirrus.com Date: Thu, 07 Apr 2022 10:30:12 +0200 In-Reply-To: <20220405091750.3076973-4-arnd@kernel.org> References: <20220405091750.3076973-1-arnd@kernel.org> <20220405091750.3076973-4-arnd@kernel.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Arnd, On Tue, 2022-04-05 at 11:17 +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > Without CONFIG_SPARSE_IRQ, we rely on mach/irqs.h to define NR_IRQS > globally. Do the minimal conversion by setting .nr_irqs in each > machine descriptor. > > Only the vision_ep9307 machine has extra IRQs for GPIOs, so make > .nr_irqs the original value there, while using the plain NR_EP93XX_IRQS > everywhere else. > > Cc: Hartley Sweeten > Cc: Hubert Feurstein > Cc: Lukasz Majewski > Tested-by: Alexander Sverdlin > Signed-off-by: Arnd Bergmann I've successfully tested the whole series on EDB9302, therefore: Tested-by: Alexander Sverdlin Acked-by: Alexander Sverdlin > --- >  arch/arm/Kconfig                               | 2 ++ >  arch/arm/mach-ep93xx/adssphere.c               | 1 + >  arch/arm/mach-ep93xx/core.c                    | 1 + >  arch/arm/mach-ep93xx/edb93xx.c                 | 8 ++++++++ >  arch/arm/mach-ep93xx/gesbc9312.c               | 1 + >  arch/arm/mach-ep93xx/{include/mach => }/irqs.h | 7 ------- >  arch/arm/mach-ep93xx/micro9.c                  | 4 ++++ >  arch/arm/mach-ep93xx/simone.c                  | 1 + >  arch/arm/mach-ep93xx/snappercl15.c             | 1 + >  arch/arm/mach-ep93xx/soc.h                     | 1 + >  arch/arm/mach-ep93xx/ts72xx.c                  | 3 ++- >  arch/arm/mach-ep93xx/vision_ep9307.c           | 1 + >  12 files changed, 23 insertions(+), 8 deletions(-) >  rename arch/arm/mach-ep93xx/{include/mach => }/irqs.h (96%) -- Alexander Sverdlin.