Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp632590rwe; Fri, 14 Apr 2023 07:48:41 -0700 (PDT) X-Google-Smtp-Source: AKy350YFTZrcjpprXkRXMEKlzTM7poldGfFSPF/QrpxFZmvq3jL3C/RBbumgp4sTzbpuhwyUT0PY X-Received: by 2002:a05:6a20:a613:b0:cb:c266:3f6b with SMTP id bb19-20020a056a20a61300b000cbc2663f6bmr5805779pzb.12.1681483721650; Fri, 14 Apr 2023 07:48:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681483721; cv=none; d=google.com; s=arc-20160816; b=NQWWS4jKfv/O3kdeY/ec2uO4UgyP/ehmGCsc8MdjrlO7NKXCsGvKn3P1//fGPsr7cB 4xTfMNh29uCGPGMqnNJKHZX1cM622hiPUUipgCvbs3RtpbhQ//AUcVyGhH/reP0/y7hA u9kXpoaN0vBVNz5a7FcQjqb7HUVguJnIdBcyHTUrEjmuIMBZoXga1ogW/vg0v7pCIiyW dEdqvxfq04vTLP2BqWDP03x/vjEuudgaUym8qNG2yMJPSVp7+olog8TA2WL/Bg/8Gs8N Uf8T4ir0PbKTlo9TO8lFE+WpWBZ7IjpW8Fg8gZrXdWaGf5jM8LPJxSU/H33993bazTe5 E+dg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=G7p74ipHMAlfpqDbdNGbaMJE9nlzts4tqeyhDV0CeD0=; b=iekzQHYPu6rpeEnoSio02MObut2F8ilMs3CavT2rYHyJIdldNpg665O/EIMTsx5GSZ A4DdMMgZr5GVONxvwBwSmuMm2IBmftJEVktShtLC1tEunwCRAfyjwi9sOWeD8jcuoZD/ aDNgCfAwX0ld+EHiSGS3wtlx3GN1dSt0BH7FZqr4SmRe4z6O0vpOXOr2w4pOQB2G90hZ SjXYsOkWQMGeos7pU62Z8XSdwqMgkj2Vf9jUCIBOuTfXSJFYe4Pbr/ivdkIYcAz0fYnY GoORbbnI5IjWsVQYO9j+SFI+qlmWjd2hmwk1j1SCCDRtJ/hzSxDkfsyNvogD1Q0P+dJA BmsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q2yCZTkk; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c206-20020a624ed7000000b0063b514eaa43si3883677pfb.294.2023.04.14.07.48.28; Fri, 14 Apr 2023 07:48: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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q2yCZTkk; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230225AbjDNOmF (ORCPT + 99 others); Fri, 14 Apr 2023 10:42:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbjDNOmC (ORCPT ); Fri, 14 Apr 2023 10:42:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFC2EBBB6 for ; Fri, 14 Apr 2023 07:41:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 79CE3643D2 for ; Fri, 14 Apr 2023 14:41:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E4DDC4339C; Fri, 14 Apr 2023 14:41:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681483296; bh=nfeOIgbWifwrcLlF/ULbFbyWrBPwPRsfTeMepM7hA5s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q2yCZTkknz2hb5kH/8LePXua3eR2XL1gFXknMKIH1d1JMROKP2ZzAToiA5KQJwUPA yAwtMynPFtooZoEShQMzsjxbuMgAkJwHHsyegZsPMtajIzvsQFLoHGC25V/eEFwDwF zoiZbmDCRsNG+ZfgQOv8mZDhw7+rWuKHOuZkkiXDzWTt0KRQC+zq7avBQuiJilh7zI fQJRb0i3lL0S165vn4Jtl5vN/R1UEMomQAZt77U9alHR2zaiN7ACTWaCaiSFdK8Ne/ Um0rVSpm7u4pLY4i81mzGxZxGig61drUgillRbPs43S4xlU833Yn2w3OMaecJvLLSw kvh3qyp5rTYEg== From: Will Deacon To: Sumit Garg , catalin.marinas@arm.com Cc: kernel-team@android.com, Will Deacon , liwei391@huawei.com, mhiramat@kernel.org, linux-kernel@vger.kernel.org, daniel.thompson@linaro.org, linux-arm-kernel@lists.infradead.org, mark.rutland@arm.com, ardb@kernel.org, dianders@chromium.org, maz@kernel.org Subject: Re: [PATCH v6 0/2] arm64: Fix pending single-step debugging issues Date: Fri, 14 Apr 2023 15:38:39 +0100 Message-Id: <168147598830.2391666.1506104508286330232.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230202073148.657746-1-sumit.garg@linaro.org> References: <20230202073148.657746-1-sumit.garg@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Thu, 2 Feb 2023 13:01:46 +0530, Sumit Garg wrote: > This patch-set reworks pending fixes from Wei's series [1] to make > single-step debugging via kgdb/kdb on arm64 work as expected. There was > a prior discussion on ML [2] regarding if we should keep the interrupts > enabled during single-stepping. So patch #1 follows suggestion from Will > [3] to not disable interrupts during single stepping but rather skip > single stepping within interrupt handler. > > [...] Applied second patch to arm64 (for-next/misc), thanks! [2/2] arm64: kgdb: Set PSTATE.SS to 1 to re-enable single-step https://git.kernel.org/arm64/c/af6c0bd59f4f Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev