Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp2817697rwb; Mon, 7 Aug 2023 04:10:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE6a010Tl5Bb+H54wczu1uS7N3YSPQjSTzJMlJMQiEChyvKUNmvhqD+NO3TTzJdGuuGX60m X-Received: by 2002:a05:6a21:99a7:b0:125:3445:8af0 with SMTP id ve39-20020a056a2199a700b0012534458af0mr9016223pzb.7.1691406641447; Mon, 07 Aug 2023 04:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691406641; cv=none; d=google.com; s=arc-20160816; b=wJHZxZ/4OvjWWn/eHhe40zPRzZB+Dl0kS9mcV6PeHBh5BxL+/NS31qaNpbpeoN3gT4 VMBB6t9w3grnELiyrcwOvXZpKj/Z/VAYwO6pMKkjvXPAzZWk2I6dI7HVAz9zcU3mWmWw JKZm+LnueRLRuDzckIriedww4gq6Wc9YyU7/cQWSEOuMSx2NTAwuP4Dv/uBHehoulzO8 9i7sTxSbFCYklgl7RnfnWamVDbPCQ1rfJFAONNg7maKVXALD+Pz/jTWEJjxuJWOPL4oa aU/N+YDQNqNxO/k09xfknOLGp7wsjjO0gFN3s7wiJELTM6rkBCOGHq3w63mgtD77Y/Yo tZPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=4nPSgyBgZjdImbzBEx2EzeN5KeQcKZpKCYyeQXlqduk=; fh=Zuf0k36yk+cCu8AJxuN4e/Y1Jc2kkcKkCq6bW25ycWg=; b=TAztrEfFAiPm4On4yIP4RqoVVQJE0Dfn5jm/Jy25oF3qfST05Utm+n3+xhFlJV9ka3 JJxaUmDNt7RUY6Xc7nMOaWwAVKMjzlbmM307dkFRoJ6W6CLm5z8joqoJf7DI3XNt5k0+ aau7YFcz5ZuSJHehRM5DejsUnThohY/ET7rDXB+Q3ccK3wl+gvjfrE6//JNh8HCNFH7Y onXNMw1fF0Ub7BBHLNPyKfJwKI7lZS+4P/fK57bIjdFEFI1ofp2hcmJp0uUcsovbHXqa sH4W4VeWtifJl8bNczDyT/4oHUuqzbceOK8d4FoZhDXlipFxJ7Iu7W4yY6b5zMZ3Ojmd 87VQ== 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 cp17-20020a056a00349100b00686bef2c7c5si5389968pfb.322.2023.08.07.04.10.27; Mon, 07 Aug 2023 04:10:41 -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; 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 S231634AbjHGKa1 (ORCPT + 99 others); Mon, 7 Aug 2023 06:30:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230174AbjHGKaX (ORCPT ); Mon, 7 Aug 2023 06:30:23 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1B3071989; Mon, 7 Aug 2023 03:30:13 -0700 (PDT) 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 996E91FB; Mon, 7 Aug 2023 03:30:44 -0700 (PDT) Received: from FVFF77S0Q05N.cambridge.arm.com (FVFF77S0Q05N.cambridge.arm.com [10.1.32.139]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CD54B3F59C; Mon, 7 Aug 2023 03:29:58 -0700 (PDT) Date: Mon, 7 Aug 2023 11:29:56 +0100 From: Mark Rutland To: Douglas Anderson Cc: Catalin Marinas , Will Deacon , Sumit Garg , Daniel Thompson , Marc Zyngier , linux-perf-users@vger.kernel.org, ito-yuichi@fujitsu.com, Chen-Yu Tsai , Ard Biesheuvel , Stephen Boyd , Peter Zijlstra , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, kgdb-bugreport@lists.sourceforge.net, Masayoshi Mizuma , "Rafael J . Wysocki" , Lecopzer Chen , Jason Wessel , linux-kernel@vger.kernel.org Subject: Re: [PATCH v9 6/7] kgdb: Provide a stub kgdb_nmicallback() if !CONFIG_KGDB Message-ID: References: <20230601213440.2488667-1-dianders@chromium.org> <20230601143109.v9.6.Ia3aeac89bb6751b682237e76e5ba594318e4b1aa@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 Mon, Aug 07, 2023 at 11:27:00AM +0100, Mark Rutland wrote: > On Thu, Jun 01, 2023 at 02:31:50PM -0700, Douglas Anderson wrote: > > +static inline int kgdb_nmicallback(int cpu, void *regs) { return 1; } > > Is '1' an error? > > Can we return an actual error code if so? It makes it *much* clearer to anyone > looking at the code. Never mind; I see this was already queued. Sorry for the noise. Thanks, Mark.