Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp228595iob; Mon, 2 May 2022 17:51:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybU2u+/kRhgHijkPofCiO1dMnLrKYvbmxrwuGJTBv3+eE8ALip1IeygVJOXkHMRE6fTPdR X-Received: by 2002:a05:6808:1146:b0:325:cbe7:7cbb with SMTP id u6-20020a056808114600b00325cbe77cbbmr869938oiu.219.1651539111804; Mon, 02 May 2022 17:51:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651539111; cv=none; d=google.com; s=arc-20160816; b=P5uBwtNmbMGMXTrOs2qhXbxyInIipFE+XKeiO3+lyF52g2lGqqU7DzOOmZtgpP+xQY 1l5RYqgUEtWExVKa9tIB0PacxSxmnbBKd8E8ZmSCSwfoM8JQukp2+rg2W6/1gk0eyHoo io1wO12mCRBsCpS1C38dwXZK60aHd5vVbeLxogL1OS2n7xxrBybtXOkq1kWaYm7EGgO1 edrz6qC65LYuV7YuhQ39RLzOmm0LwNhbvZ17vioymDzjIbd/WIWxEA0UtMHX0sNDs6Rx A00eYwZTbzphtDzIMUy3iq/sCMdSQrK3BR8jz+ZcxIfB73lwFKKMqsyxIxWI3dALFqTV 93iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=TtTEDOKV+7lqUt5tmJpa+arLx7nlS1Q6ti+9N5cH9lE=; b=PV/VMbx96/P1uII2IybIXsuPYy2p5qqJJ3Q4TyTx8clcId8kL8sGvcaAqaDZJJN3Oq FOj4cYAtmK3L4DlFXRobrhEIQSOYjMOZSINRlVYL5HEPfry5PklNjr1CWKzZKvFbZrx7 toNU9/fqreKSSX9KHOWadftE7HKbFRiwoH4e2Pl+ZnNdIfhR8LfMo/g+74Nj1yrjpVAf /+N6WC9jDVowdhIXGxmq/iEtcaCa2zdfdbvnpRyP06SRo9IwrtvQzji9xyrYjP97EBSB achxqr4JSiF6Nh9U5EMmrJuFgzjBFnJWXHaFCwlMpkBMUxuDpGLMvlpTEhgxi53M+rVK 4uTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=grs91oUZ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l9-20020a056830154900b00605e7773de9si8275460otp.164.2022.05.02.17.51.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:51:51 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=grs91oUZ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EA6A550058; Mon, 2 May 2022 17:39:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245347AbiD1Hf0 (ORCPT + 99 others); Thu, 28 Apr 2022 03:35:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245367AbiD1HfX (ORCPT ); Thu, 28 Apr 2022 03:35:23 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75D149BAD1; Thu, 28 Apr 2022 00:32:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651131129; x=1682667129; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=TtTEDOKV+7lqUt5tmJpa+arLx7nlS1Q6ti+9N5cH9lE=; b=grs91oUZ/aYPOpNWtZL2AXdx1N7fy3xdL1v3DF1Yr1mZ5N2Ul/Cr+ItS 0UzUM8KETJFu/qiZrb1MN1Uu/t6y2otsZCkD6ngGiHmhsGk7HbhSFzdFC t8SwxBGPz6eQ5f+ZNrhQVnJ+SxpiKC5j9NQTvHcDlETi+vW+3JdFpc2ie 8=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 28 Apr 2022 00:32:09 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2022 00:32:09 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 28 Apr 2022 00:32:08 -0700 Received: from [10.50.42.7] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 28 Apr 2022 00:32:04 -0700 Message-ID: Date: Thu, 28 Apr 2022 13:02:01 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCHv11 6/6] asm-generic/io: Add logging support for MMIO accessors Content-Language: en-US To: Greg KH CC: , , , , , , , , , References: <3de35c9f4a3a070d197bab499acefc709a6f5336.1645772606.git.quic_saipraka@quicinc.com> From: Sai Prakash Ranjan In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 4/28/2022 11:23 AM, Greg KH wrote: > On Thu, Apr 28, 2022 at 09:00:13AM +0530, Sai Prakash Ranjan wrote: >> Add logging support for MMIO high level accessors such as read{b,w,l,q} >> and their relaxed versions to aid in debugging unexpected crashes/hangs >> caused by the corresponding MMIO operation. Also add a generic flag >> (__DISABLE_TRACE_MMIO__) which is used to disable MMIO tracing in nVHE KVM >> and if required can be used to disable MMIO tracing for specific drivers. > Also, this should be split up into 2 patches, one to add the "disable > the feature" flag, and one to enable it for the specific driver(s) you > want. > > Hint, when you say "also" in a changelog text, that's a huge sign that > it perhaps should be split up into smaller pieces. > Right, will split them. Thanks, Sai