Received: by 2002:ac8:1418:0:b0:3ab:920c:4c8b with SMTP id k24csp439099qtj; Thu, 19 Jan 2023 08:12:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXtQMuRhzlqgleJQ9b8BeK2YfDlS6HwfgzJdTdqjv76GdfUeezRbNRrxmsHrvKKgrHdzylD4 X-Received: by 2002:a05:6a20:6922:b0:b6:99a4:66bd with SMTP id q34-20020a056a20692200b000b699a466bdmr16451742pzj.38.1674144761652; Thu, 19 Jan 2023 08:12:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674144761; cv=none; d=google.com; s=arc-20160816; b=rXvbFJ+y3KqgTYA5hQW0uQ55/Df2BC1K4OlgH9xZNghp9axU2bd7cyMe1T4Ohv/q1c iuVRew0D9p2cN8/gSumGSApsG2W1JU/HkL+gh9GJpB5HjxO/ahFwTZ2Esy3TGGQuAq8h yTc9CvR0O96DkQ6KoVXTpUNgqkyZFHAkZl5UX9m4dh5xt7VJnFlJpTRSSKBCGUpNa3xO PD4Ny9H6IcdoC03x4ZkvTHeVB33LI2eFguOEkxChlkpxzdsR1iYcKH+ykui6DANqn/Id Vb8g0Y3oI0RwMawyZh+qlRCbkx/G4Kb43k/sUpJ8gCsFySWo3bboVK3OpJ21GCugRri+ CuKw== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=vCMDBrM4DFvr+EvxH05PffCwsjjf8k9/AdQaQ43MDuU=; b=fD5pPMaMw3toHSmfk/oYTkh9GX/kax9eRtBJ5la5iwJwmamuY/6sSA5nJn6ybiaXDa V4QZJHnIhDEtOugonr/Vgj/sq9vCEIdNsX1jhQ6vzGhWOGiOwBQ2rVEjcAf2CoBmYBlQ rPNIoB4T3UY1hN7l7IUPDh3wzOutUq4qzT7rJV39/rH6SFmnV50nCA4yf6esL6r1/8v5 DTnRkWN9JCf/r49Yzbs6hyuc/xbqDHwudmBNuh3OFb7pXNmj9SoEdBGSKgdsLLeJLvbm QizhMFjivXfWtd64xSOXvupYhnYKQvOC/+8h3J9m6eob67vXSkkbGINEakvCKQk+I70d 59fg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 37-20020a631965000000b004787836f4b4si6217380pgz.420.2023.01.19.08.12.33; Thu, 19 Jan 2023 08:12:41 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230469AbjASPca (ORCPT + 45 others); Thu, 19 Jan 2023 10:32:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230457AbjASPc2 (ORCPT ); Thu, 19 Jan 2023 10:32:28 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7A90681014 for ; Thu, 19 Jan 2023 07:32:25 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C93FA2F; Thu, 19 Jan 2023 07:33:06 -0800 (PST) Received: from [10.1.196.40] (e121345-lin.cambridge.arm.com [10.1.196.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 95B433F445; Thu, 19 Jan 2023 07:32:24 -0800 (PST) Message-ID: <7071a073-08f5-104b-f10f-e1013d1b5390@arm.com> Date: Thu, 19 Jan 2023 15:32:04 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH] perf/arm-cmn: Add shutdown routine To: Geoff Blake Cc: Will Deacon , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <2bb86e97-6cef-700e-70ed-4f303da10fd9@amazon.com> <20221215180039.18035-1-blakgeof@amazon.com> Content-Language: en-GB From: Robin Murphy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 On 04/01/2023 3:55 pm, Geoff Blake wrote: > Robin, Will, > > Happy new year! Hope I can get some attention back on this patch. > Only difference from Robin's is it will do limited logging if spurious > interrupts still happen to occur on current or future CMN implementations. In all honesty I'm not sure what you want me to say... now you've written the same patch that I already sent, but still with an incorrect commit message, and with some unrelated changes that aren't mentioned and have nothing to do with shutdown anyway. Please see: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#separate-your-changes If you have a convincing argument that returning IRQ_NONE for unexpected spurious interrupts is a real and important concern, then please propose a general solution, because if it matters for arm-cmn then it matters for hundreds of other drivers too, by rough estimate: $ git grep -l IRQ_NONE '*.c' | xargs git grep -L IRQF_SHARED | wc -l 834 Thanks, Robin.