From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7C037C77B78 for ; Thu, 4 May 2023 11:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Dh4s0KFHziAyG7+UWu0d4eWE8GEV5CRFTC7ogXl1MRg=; b=R5Qki9hVBI/XPZ UjJ5zh7qS21FKKkJ+bvIFSkVETVPIlInQiDcOI+SwOc1ZWQB83o6VC6wmfRFYe5DM2BNh06mbmY2g E7cWbJasoYzYVQW9AgB3OurgUU69s4DoYBbToTeRYlT7SOzTVrZaJV05NreamnNU/D7Gc48VGnBq4 XUXX6CAGkh4p2TAiWyXyoYkTHdsEqoRbaGtpTywz7HDqFhtC642yWwSCybJbKlT6lQSkYgTH2fqyE 0z1Vv8Qtt74tK9EMMK2Y6xRXNZIeIUDJSN8pqprWqoSrbO3Z1sFZFx+HZeC4zjwIzSkCas79L8Dim qAMZ2z9U3UBg3zFi5GKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1puXJm-007h4i-0L; Thu, 04 May 2023 11:40:14 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1puXJj-007h28-0y for linux-arm-kernel@lists.infradead.org; Thu, 04 May 2023 11:40:12 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-9536df4b907so68536466b.0 for ; Thu, 04 May 2023 04:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683200407; x=1685792407; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=GwcFtadppve4lv74YkqLFXuvB3xgQv6HeO3vLVBicaY=; b=JduoJ8Rjtc1D98/7qKXamMLBH9gdJ4lv7jY7TegUiAQlOIlOcXU9zDMJfa5P+zy9AW yF1WBZ6JIMXJKg+1E/eHQeBdG3ptizsU220R2ipMNJheb96qpFcinWYPd1lSbxhxxLUP F8fUkrUlH90G+RJPps7pKOJDs/10RRQtvPIvf9oaHkpPBNLW/8x27AbP2ZKNEjChhGw+ NcWhL5H/xSquLxMfQm/181tvRwoTo/kjWFhIqoKWpyIWIC1NQ36JJ9QWWoEvmhRwL1O1 0UBmSthjHsb0sKDZSZwghzMWOIzXmflw0Sw5P8txL+AJ/Dnvb/NhV+uyVpRO89rSu5hb f7pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683200407; x=1685792407; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GwcFtadppve4lv74YkqLFXuvB3xgQv6HeO3vLVBicaY=; b=YjaPrFzISpT+fG6SQ4h6gVgBzWgT2t+FsRUpciuqXoa2gJCU2aZup9wmxvOgxObZXV /YsIKqQHB/tchimdJwhoJrFN3gOQjw025F6yD2nvDB8g447hi2DzYZ//lkTtK7OBXVFO 2+F8LOXhbv/gFUq7IZE7yuWaDq8MDRPi9uBj2EP1rVkotOFJn0s01f31KeHdItDn1Wl2 P8YtnAZ0y9e+ZoJzoUbH7UN6S/BXMQ6p1YvDDqE2tr52ph84edWPH+BlcSSBdIzZO5hm AFpEfj6RwCkpDLR8Zby8ntwg1FjSV8GuH3hTKMKq6HS4Skuf/eDKUMKbY+lkKlJHWOxh BZ1A== X-Gm-Message-State: AC+VfDw7nVEstLJ84S+owqQQDBssf2H1w2OV483QACTRm5TxeIZlspjL LQQOrWXGcoHUGqlljw/nk2fC2w== X-Google-Smtp-Source: ACHHUZ4roDnjzyYHGX6UlBiuSulfpRHtIUhI9+9RXEbR2QXO/4Sbmjwk6yPogDryB0pXOelWSZFQpg== X-Received: by 2002:a17:907:728c:b0:94f:31da:8c38 with SMTP id dt12-20020a170907728c00b0094f31da8c38mr6583700ejc.24.1683200407519; Thu, 04 May 2023 04:40:07 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:cbf1:e7ef:fb81:e912? ([2a02:810d:15c0:828:cbf1:e7ef:fb81:e912]) by smtp.gmail.com with ESMTPSA id vh7-20020a170907d38700b0094f31208918sm18378341ejc.108.2023.05.04.04.40.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 May 2023 04:40:07 -0700 (PDT) Message-ID: <645416da-7cc7-6dd5-3db1-0d3c8d247bab@linaro.org> Date: Thu, 4 May 2023 13:40:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v3 06/18] soc: qcom: minidump: Add update region support Content-Language: en-US To: Mukesh Ojha , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, corbet@lwn.net, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com, catalin.marinas@arm.com, will@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, linus.walleij@linaro.org, linux-gpio@vger.kernel.org, srinivas.kandagatla@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org References: <1683133352-10046-1-git-send-email-quic_mojha@quicinc.com> <1683133352-10046-7-git-send-email-quic_mojha@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <1683133352-10046-7-git-send-email-quic_mojha@quicinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230504_044011_353061_2C466A61 X-CRM114-Status: GOOD ( 16.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 03/05/2023 19:02, Mukesh Ojha wrote: > Add support to update client's region physical/virtual addresses, > which is useful for dynamic loadable modules, dynamic address > changing clients like if we want to collect current stack > information for each core and the current stack is changing on > each sched_switch event, So here virtual/physical address of > the current stack is changing. So, to cover such use cases > add the update region support in minidump driver. > > Signed-off-by: Mukesh Ojha > --- > drivers/soc/qcom/qcom_minidump.c | 57 ++++++++++++++++++++++++++++++++++++++++ > include/soc/qcom/qcom_minidump.h | 7 +++++ > 2 files changed, 64 insertions(+) > > diff --git a/drivers/soc/qcom/qcom_minidump.c b/drivers/soc/qcom/qcom_minidump.c > index 6d29371..853bdda 100644 > --- a/drivers/soc/qcom/qcom_minidump.c > +++ b/drivers/soc/qcom/qcom_minidump.c > @@ -561,6 +561,63 @@ int qcom_apss_minidump_region_unregister(const struct qcom_apss_minidump_region > } > EXPORT_SYMBOL_GPL(qcom_apss_minidump_region_unregister); > > +/** > + * qcom_apss_minidump_update_region() - Update region in APSS minidump table. Description of the function is exact copy of function name. This is a hint for two things: 1. Your function has wrong name. 2. Your description is not helping. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel