Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3120615pxm; Mon, 28 Feb 2022 12:27:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0tabT9+JokU5hdlCCGbByKL5hEDBAScQvvS3r6PUp3BQOaZvLNbsrmpb29F3OM3shkxVd X-Received: by 2002:a17:902:c1c4:b0:14f:b5fa:f945 with SMTP id c4-20020a170902c1c400b0014fb5faf945mr22494904plc.169.1646080063112; Mon, 28 Feb 2022 12:27:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646080063; cv=none; d=google.com; s=arc-20160816; b=U0DDuQ5CzAb1Ijh7R71CECxsO/kDwkymbkBH9x/Rs5sGAbbE5nrYgpfLmKGP/iF0Tc izZnWs3zsNs82H6sRTw/H7usnDsRjfl/rGeynsqYZLhgjwitMdwFCf6JSwcjHnycXasK mOHL1vpDz9I7t5g+YX2LhNZxP/N4rNtTdcQAcVq4+8a2w6bwfU7wf/npuWH86a1pRBD8 wZKCpwZ5O+gZhd07uAY6P5UQpOPuQSTWni6aQh9/Ov7AaAk5xO+jzoydq/UCfndzbF1a O9I80nySfMwPc/Z9+JB73yfWbr3On32/M4BhU9s7XVrTxfhrQmYNk/QqMqqJHF+CQUpY q8WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=ioyGMTrNhrI2bIJcwf/tXVAAjhbSRoppoUAEm+1hobw=; b=ppkcF7n5dtzeYCnnWHMxjgXlZZKZ8ZPKdixq2zm88jBLQvTL6SnbhkVhUQ3oHw4yfx qmfaIIjVrGePzpXNHylRzvXUQn/nwGCdOFiCjm+xFj8DpQZvgwi+oqbRmBdUnAqToQQe uFlObHkz8p8iG8uPZUCPdkXr4BJLniGnuE8t+BKv8IzyBj1V9QSPj1ekpWx3aQZAg06o lN89MniJnj6Ohqct9mm3zfXjKXyXH2UIf7xxIpMXD9FD4HHij0aG+rLMhC0oIFJ4we8D OnMwWDWcEkvyfeaNS9qBYB15ovytTUOq4wk01ShfI5Jg3g9cLeI05/sy/y9avXo5GK4T FpCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=SXaKL9oZ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id y9-20020a63ce09000000b003659266583dsi10567800pgf.45.2022.02.28.12.27.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 12:27:43 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=SXaKL9oZ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A49981F9407; Mon, 28 Feb 2022 11:45:19 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229470AbiB1TZI (ORCPT + 99 others); Mon, 28 Feb 2022 14:25:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiB1TZF (ORCPT ); Mon, 28 Feb 2022 14:25:05 -0500 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DC0EFEB02; Mon, 28 Feb 2022 11:24:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1646076259; x=1677612259; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=ioyGMTrNhrI2bIJcwf/tXVAAjhbSRoppoUAEm+1hobw=; b=SXaKL9oZ6aveOqnzV6wMsmh2bKLgIpTPszkNW1BhuQ4K/uXoDG6ya98/ vchz6FNa1nLNNtxq4x/XFSy52dI7GWC/+7lsQgTHJdPdUiXYUT8JJ1shv +YOOJW9soN20NEwkSgbQyW57ijZggyCRzoEdr6IG9PVm1HW2LrcQUrusf o=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-02.qualcomm.com with ESMTP; 28 Feb 2022 11:24:19 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 11:24:18 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Mon, 28 Feb 2022 11:24:18 -0800 Received: from [10.216.31.79] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Mon, 28 Feb 2022 11:24:15 -0800 Message-ID: <0beb0083-d82b-dc24-6d07-565f9eaeebff@quicinc.com> Date: Tue, 1 Mar 2022 00:53:19 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH 1/5] irqchip/qcom-pdc: Kill PDC_NO_PARENT_IRQ To: Marc Zyngier , CC: Andy Gross , Bjorn Andersson , Thomas Gleixner , References: <20220224101226.88373-1-maz@kernel.org> <20220224101226.88373-2-maz@kernel.org> From: "Maulik Shah (mkshah)" In-Reply-To: <20220224101226.88373-2-maz@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi, On 2/24/2022 3:42 PM, Marc Zyngier wrote: > PDC_NO_PARENT_IRQ is pretty pointless, as all it indicates is > that the PDC terminates the interrupt hierarchy. Which is > exactly the same as not having a mapping in the GIC space. > This is also bad practice to treat the absence of a hwirq > as a hwirq itself. > > Just explicitly use the region mapping pointer, and drop > the definition. > > Signed-off-by: Marc Zyngier Reviewed-by: Maulik Shah Thanks, Maulik > --- > drivers/irqchip/qcom-pdc.c | 34 +++++++++++++++++----------------- > 1 file changed, 17 insertions(+), 17 deletions(-) > >