Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1962204iog; Sun, 26 Jun 2022 03:03:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uVAas8PnlhomQl2XrUSH/kO1rYKHf6IgKkccXFF9NMNi8CuWwk8mln2jeETiY5ZQ6VfFfW X-Received: by 2002:a17:90b:3b4e:b0:1ed:2236:34f3 with SMTP id ot14-20020a17090b3b4e00b001ed223634f3mr9591307pjb.6.1656237826896; Sun, 26 Jun 2022 03:03:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656237826; cv=none; d=google.com; s=arc-20160816; b=HVbdczvlPPkN+Xm7fEQfUOaT7ekuNl8EXvlb3ykgu8hiAb5zvXAL3eiB20gpED+PII SM35tgE8pqaYlrSoaX7miVBBwkurpT6w7WY8dD8Cg24kZUma45eAp03lH++Bt5eF/wf8 w0f5u764nlXBXqbGEBHqGQPihTpN6+84q/65Q4ScInKbRnFjXixSJmut91FulwtsWAdS iogYf96ZGJOrXy7uYAfSEfXR8RxJyaI77TAlGR1l/Z325NHhY+sESnPGbIZjhKXjAUYf 2PdxCKwC+7JIwcbaJTU4yOSs3C7mVNZYG6twgLd0xJNuSfM/UymIbLft5Lcp3eimtXMN +SFQ== 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=lu+7QcN4GXU+B1D49t1pBpig/Zt0Adt2MFtHlqagz/k=; b=s6w48zNQ4Pvmn81HS6P3gc6w6oflOkXO9sVeeEqg//gV8U60of4OxTvjz1bLpTt8HT n0KqRfPeCgDe/8L4tCizgpsDqTkxdNVvLff5q8TTqA0OZ6t0+awWbHYEFi4UnGKTOx6v S3PbHK/75+Od2UPHOHp1tpwIokQeUI4ABc9+DfEGEi9hR1nAJJ4qldcYPlJtfezzLLgW ZQL/cDcCRoPuTiDxK6PpvlLP8Xiuoh5An7jvkUHJksuGIzZnP1iSJaDbL3xVY9rdvmK4 1nq540MEm61eDU1E0XQVcbbW2JLG8fD9e4b68X66fYDW+Yh264BpP6FN4yAIN2K26HUK MaHQ== 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 k20-20020a056a00169400b0051b85fb65b9si11238611pfc.244.2022.06.26.03.03.34; Sun, 26 Jun 2022 03:03:46 -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 S234363AbiFZJSx (ORCPT + 99 others); Sun, 26 Jun 2022 05:18:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234151AbiFZJSv (ORCPT ); Sun, 26 Jun 2022 05:18:51 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4E538F5B9; Sun, 26 Jun 2022 02:18:50 -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 47C0A2B; Sun, 26 Jun 2022 02:18:50 -0700 (PDT) Received: from FVFF77S0Q05N (unknown [10.57.71.61]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0447E3F792; Sun, 26 Jun 2022 02:18:47 -0700 (PDT) Date: Sun, 26 Jun 2022 10:18:44 +0100 From: Mark Rutland To: "Madhavan T. Venkataraman" Cc: Will Deacon , broonie@kernel.org, jpoimboe@redhat.com, ardb@kernel.org, nobuta.keiya@fujitsu.com, sjitindarsingh@gmail.com, catalin.marinas@arm.com, jamorris@linux.microsoft.com, linux-arm-kernel@lists.infradead.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org, Kalesh Singh Subject: Re: [PATCH v15 0/6] arm64: Reorganize the unwinder and implement stack trace reliability checks Message-ID: References: <20220617210717.27126-1-madvenka@linux.microsoft.com> <20220623173224.GB16966@willie-the-truck> <66545c21-cfcf-60eb-4acf-39be99520369@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <66545c21-cfcf-60eb-4acf-39be99520369@linux.microsoft.com> X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,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 Fri, Jun 24, 2022 at 12:19:01AM -0500, Madhavan T. Venkataraman wrote: > > > On 6/23/22 12:32, Will Deacon wrote: > > On Fri, Jun 17, 2022 at 04:07:11PM -0500, madvenka@linux.microsoft.com wrote: > >> From: "Madhavan T. Venkataraman" > >> > >> I have synced this patch series to v5.19-rc2. > >> I have also removed the following patch. > >> > >> [PATCH v14 7/7] arm64: Select HAVE_RELIABLE_STACKTRACE > >> > >> as HAVE_RELIABLE_STACKTRACE depends on STACK_VALIDATION which is not present > >> yet. This patch will be added in the future once Objtool is enhanced to > >> provide stack validation in some form. > > > > Given that it's not at all obvious that we're going to end up using objtool > > for arm64, does this patch series gain us anything in isolation? > > > > BTW, I have synced my patchset to 5.19-rc2 and sent it as v15. > > So, to answer your question, patches 1 thru 3 in v15 are still useful even if we don't > consider reliable stacktrace. These patches reorganize the unwinder code based on > comments from both Mark Rutland and Mark Brown. Mark Brown has already OKed them. > If Mark Rutland OKes them, we should upstream them. Sorry for the delay; I have been rather swamped recently and haven't had the time to give this the time it needs. I'm happy with patches 1 and 2, and I've acked those in case Will wants to pick them. Kalesh (cc'd) is working to share the unwinder code with hyp, and I think that we need to take a step back and consider how we can make the design work cleanly with that. I'd had a go at prototyping making the unwinder more data driven, but I haven't come up with something satisfactory so far. It would be good if you could look at / comment on each others series. Thanks, Mark. > > I can drop patches 4 thru 6. Actually, the objtool patch series that I have > sent separately for supporting livepatch already addresses reliability. So, if that > gets reviewed and accepted, we don't even need patches 4 thru 6. > > If you are OK with that, I can resend v16 with just patches 1 thru 3. Let me know. > > Madhavan >