Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2926351pxb; Tue, 24 Aug 2021 10:46:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnNjW/Mg6Sy/xarYhz8QOf/BtONABdMIp9R/ZBRSZHjXcpWvpyiPRCduVzw4QJrlvN/thu X-Received: by 2002:a05:6402:51d2:: with SMTP id r18mr44860493edd.376.1629827212327; Tue, 24 Aug 2021 10:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629827212; cv=none; d=google.com; s=arc-20160816; b=mAPBE5/si5sEpZa+UalfiUqIGB3hY2mCEKQPZ8uQy24LClcL/DePi4IaN5pu3eJLZo QTq7NbZXSqKTXEEvf+btQx6OiqNr9zrRGN5tyrYyR8byS3a7KQt0yGhwdIsliKTrUIhd kkkxdUe7FGPQ5v4tJkFTS36uEU8sCuxC7Qo9evfAlAJaOlQyrWlqZ2IxTfg1+Pd4gtGk Bnk5QZuZT0TYRJ+beGI2egqDUdulicPb6DuILEGqzuNo4prvYgAiCHhYomHwh9fbTM6I gmV9rhmRgmpI2AHYiCPNY2fZXiG3yyY6yCXXYi6IKqfwNnK35fH+q2LRw6DzCdSgsJWa O5Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-filter; bh=iEH5ZkCYlu4MLwDsXaWAUZTZ3u76InpKPQIAJ+tahCQ=; b=OE+TQmVcKe+FSQlmMmUuNznOWWCBVgs92g3JMVKO+RKQtMeTN+gX8EROIyRSGiYHdW Mj2sdI+QNs93VT4y01ft450S9ku1fbC4OdVwvPTMzphtAh3A5RLAGp9JrTwyjUBBhb0J Gg2ia1EsTRw1Vhz4oOVq53SIDk2KzbwK2dRzExThTaFFhVuj30huJDb4STGMw6yxSo5a fIOHrBRiG2VOxCz63AJaYub9seazdpruH22nqK2/4QYneJfIUdoxccy0tkvFPCSM+Tff 64uWpa8/du7t53HkQ2CQ26EAT3XmUNTLoz/SO9Z3LghUfkwGbw2HtSrz2a6qc98Jz3Iz 8iDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="ULQYwR/H"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn10si3227954ejc.275.2021.08.24.10.46.28; Tue, 24 Aug 2021 10:46:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="ULQYwR/H"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241942AbhHXRnj (ORCPT + 99 others); Tue, 24 Aug 2021 13:43:39 -0400 Received: from linux.microsoft.com ([13.77.154.182]:38450 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242262AbhHXRlk (ORCPT ); Tue, 24 Aug 2021 13:41:40 -0400 Received: from [192.168.254.32] (unknown [47.187.212.181]) by linux.microsoft.com (Postfix) with ESMTPSA id ACBD920B85E3; Tue, 24 Aug 2021 10:40:54 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com ACBD920B85E3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1629826855; bh=iEH5ZkCYlu4MLwDsXaWAUZTZ3u76InpKPQIAJ+tahCQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=ULQYwR/HDrdutfZuWoBYjv9J+K9Ajv4mdI+RS8hF1D0bPirfKKirW3dyTu0hkjIDy w1brU4AdqF15GjIRR592ogXMq412yRkEUK2wwErTLABjjlQzJUQHIa1om4SgSnEUB3 h5ZnMjbHcDGnNq/F1uUzywYcsWGj0+GEz5P5703k= Subject: Re: [RFC PATCH v8 1/4] arm64: Make all stack walking functions use arch_stack_walk() To: Mark Brown Cc: 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, pasha.tatashin@soleen.com, jthierry@redhat.com, linux-arm-kernel@lists.infradead.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210812190603.25326-1-madvenka@linux.microsoft.com> <20210812190603.25326-2-madvenka@linux.microsoft.com> <20210824131344.GE96738@C02TD0UTHF1T.local> <20210824173850.GN4393@sirena.org.uk> From: "Madhavan T. Venkataraman" Message-ID: Date: Tue, 24 Aug 2021 12:40:53 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210824173850.GN4393@sirena.org.uk> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/24/21 12:38 PM, Mark Brown wrote: > On Tue, Aug 24, 2021 at 12:21:28PM -0500, Madhavan T. Venkataraman wrote: >> On 8/24/21 8:13 AM, Mark Rutland wrote: >>> On Thu, Aug 12, 2021 at 02:06:00PM -0500, madvenka@linux.microsoft.com wrote: > >>> Note that arch_stack_walk() depends on CONFIG_STACKTRACE (which is not in >>> defconfig), so we'll need to reorganise things such that it's always defined, >>> or factor out the core of that function and add a wrapper such that we >>> can always use it. > >> I will include CONFIG_STACKTRACE in defconfig, if that is OK with you and >> Mark Brown. > > That might be separately useful but it doesn't address the issue, if > something is optional we need to handle the case where that option is > disabled. It'll need to be one of the two options Mark Rutland > mentioned above. > OK. I will do it so it is always defined. Thanks. Madhavan