Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp90268pxp; Thu, 10 Mar 2022 23:23:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9O8c7n8xm1Y1UKvORFh6FE0RSDF0uTSIp0rtpbmHUMJ5fQyGVcOXUl86x4a3JoFK3Cd8x X-Received: by 2002:a05:6402:1cc1:b0:413:2cfb:b6ca with SMTP id ds1-20020a0564021cc100b004132cfbb6camr7584907edb.265.1646983420930; Thu, 10 Mar 2022 23:23:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646983420; cv=none; d=google.com; s=arc-20160816; b=ZZ256ugYyRRzmHyZ3ppgSDIHpPPwuf+YZd9lcyz3t5KbD8YorKFvUrBvTphgB6XbkZ aJUG2yAHnUZew2Nr7FIGBLeJBRpIAIs7cs5od35vriKshcSY6Ilql3C12pAydNIAekvf 3vtOHc6wsMHqlszX4l4bTP2Tj0l6CYDdgVmlULO1nwqy5umE6hdUMBLrv73zOjUZFJAq ZoROBLMV42Xs1fK40Zl8pTUn15m6cEgpRaO95Qa1xMEUWSDsPoIR+ovNqqOQUViQQrPK MaaVdi68nDTpGoLRCuuI3GihguMj7JwZZOVesFWb95CybB6CqnD8cmLVAHs1XE2p+lT3 qeFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature:dkim-signature; bh=3XKssLMVaaKPGr1fYyg9OX0U/rmkH9hiuCc6zH77j7Q=; b=qrg0fDOyktCgX+1CbIpZ0nmyS65lrsKW5jzwmTVY58U3YFnB8/VBVmBqy1Pwb/rqzM aotptpAjqBiAA/JYXLc3V4eE1CTYebyMnXQ+csMhUS9zXjxHqaU6s19nsOiiFMG1w4Tb 9LzVE8Dx3tBNqTj7In7bqN28aJhnnmVr8Ye1Q0uwIv2JfSyzKkziRNI9IwrWaL996ukZ rmG5WJFaPdIPozGgb6Iyb8TasS/p4guGG6/nWu9xOAzORd7AnFjUXcIDac9SyBM9+wzz q/qMv6k0N+qxJYDtlE0XL+1bJYSEOi5Gac9WmKlv0xo3xv9tlEBZaSRVEdgOAtkDRGAv Tk5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=qojACQbA; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b20-20020aa7c6d4000000b0041600bd8b17si4195190eds.402.2022.03.10.23.23.18; Thu, 10 Mar 2022 23:23:40 -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; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=qojACQbA; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240387AbiCJIep (ORCPT + 99 others); Thu, 10 Mar 2022 03:34:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240384AbiCJIei (ORCPT ); Thu, 10 Mar 2022 03:34:38 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DDA062A0F; Thu, 10 Mar 2022 00:33:38 -0800 (PST) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id A74FB1F442; Thu, 10 Mar 2022 08:33:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1646901216; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3XKssLMVaaKPGr1fYyg9OX0U/rmkH9hiuCc6zH77j7Q=; b=qojACQbACPKHg2O88Oh8MesyQEqAzw2krjz++XlOmWBvRAdlLq71H+D6n42CSkFFy71Lu6 TKSYmeJELupVwXybOOVVyMl6HNN/OvirvKDl5t9ZFstRSxR1aVQtw9zu9HEwPKN7jsH0am NjqzGuhTZsBzL5pKn2XPVGIyzOl4IBE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1646901216; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3XKssLMVaaKPGr1fYyg9OX0U/rmkH9hiuCc6zH77j7Q=; b=/vDGK3s1A+NR9R9SPCaWsAPotrf+zvh7Blknz3wmt/QtfHAvD0wNfEedhH5hL25CG3CWtc eKqwRkVjWoMlODAg== Received: from pobox.suse.cz (pobox.suse.cz [10.100.2.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 5780FA3B83; Thu, 10 Mar 2022 08:33:36 +0000 (UTC) Date: Thu, 10 Mar 2022 09:33:36 +0100 (CET) From: Miroslav Benes To: Mark Brown cc: "Madhavan T. Venkataraman" , Mark Rutland , jpoimboe@redhat.com, ardb@kernel.org, nobuta.keiya@fujitsu.com, sjitindarsingh@gmail.com, catalin.marinas@arm.com, will@kernel.org, jmorris@namei.org, linux-arm-kernel@lists.infradead.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v13 06/11] arm64: Use stack_trace_consume_fn and rename args to unwind() In-Reply-To: Message-ID: References: <95691cae4f4504f33d0fc9075541b1e7deefe96f> <20220117145608.6781-1-madvenka@linux.microsoft.com> <20220117145608.6781-7-madvenka@linux.microsoft.com> <845e4589-97d9-5371-3a0e-f6e05919f32d@linux.microsoft.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Wed, 9 Mar 2022, Mark Brown wrote: > On Tue, Mar 08, 2022 at 04:00:35PM -0600, Madhavan T. Venkataraman wrote: > > > It is just that patch 11 that defines "select > > HAVE_RELIABLE_STACKTRACE" did not receive any comments from you > > (unless I missed a comment that came from you. That is entirely > > possible. If I missed it, my bad). Since you suggested that change, I > > just wanted to make sure that that patch looks OK to you. > > I think that's more a question for the livepatch people to be honest - > it's not entirely a technical one, there's a bunch of confidence level > stuff going on. For example there was some suggestion that people might > insist on having objtool support, though there's also substantial > pushback on making objtool a requirement for anything from other > quarters. I was hoping that posting that patch would provoke some > discussion about what exactly is needed but that's not happened thus > far. I think everyone will be happy with HAVE_RELIABLE_STACKTRACE on arm64 as long as there is a guarantee that stack traces are really reliable. My understanding is that there is still some work to be done on arm64 arch side (but I may have misunderstood what Mark R. said elsewhere). And yes, then there is a question of objtool. It is one option but not the only one. There have been proposals of implementing guarantees on a compiler side and leaving objtool for x86_64 only (albeit objtool may bring more features to the table... ORC, arch features checking). Madhavan also mentioned that he enhanced objtool and he planned to submit it eventually (https://lore.kernel.org/all/1a0e19db-a7f8-4c8e-0163-398fcd364d54@linux.microsoft.com/T/#u), so maybe arm64 maintainers could decide on a future direction based on that? Regards Miroslav