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 4CACBC433EF for ; Fri, 4 Feb 2022 12:04: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-Type: Content-Transfer-Encoding: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=jqqnMMqwS4aioom8AVkzqqgXKOWKTMvnbiqoSvLyPvI=; b=0zh7t7dSafsuMc CJXkxmTL0VeC3OJ6e2ov7qG9G1zj5keQ4qlNsLXlTMNhzVeYwZT9vPQflpOU9jCNZZ2V0wR+V2Sed EoM6O2FWrem8GviQTlYNQpbA8u578D/ZPGSfMEiR3rnEtwCu/QddnARaVUY0ZV6u/IKMUmQeQS1Rq qjqc+V7V9E7D65xChywIhX53+zudIxxNThmDDU7FNUTncbe2FqeFzeKKqnvlxcLRA7fcmo7rMAGvH itYYr8As5LyERFUDG3S6eam/asfpF76fRjfjAwmuVD424MhDezGnnAJm57Aw/FeXPhi0+yDVy5z33 7QH6qDOMcc0EUroqcHmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFxIM-004AQn-Sg; Fri, 04 Feb 2022 12:02:30 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFxIJ-004APW-JZ for linux-arm-kernel@lists.infradead.org; Fri, 04 Feb 2022 12:02:29 +0000 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 A003F1480; Fri, 4 Feb 2022 04:02:17 -0800 (PST) Received: from [10.57.88.9] (unknown [10.57.88.9]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A782A3F40C; Fri, 4 Feb 2022 04:02:15 -0800 (PST) Message-ID: <0c235c48-49b3-42ee-f65b-0043b599bcd3@arm.com> Date: Fri, 4 Feb 2022 12:02:13 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH v2] coresight: trbe: Move check for kernel page table isolation from EL0 to probe To: Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Mathieu Poirier , Mike Leach , Leo Yan , Anshuman Khandual , coresight@lists.linaro.org References: <20220203190159.3145272-1-sudeep.holla@arm.com> From: Suzuki K Poulose In-Reply-To: <20220203190159.3145272-1-sudeep.holla@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220204_040227_722593_1A35B7AD X-CRM114-Status: UNSURE ( 8.74 ) X-CRM114-Notice: Please train this message. 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 03/02/2022 19:01, Sudeep Holla wrote: > Currently with the check present in the module initialisation, it shouts > on all the systems irrespective of presence of coresight trace buffer > extensions. > > Similar to Arm SPE perf driver, move the check for kernel page table > isolation from EL0 to the device probe stage instead of the module > initialisation so that it complains only on the systems that support TRBE. > > Cc: Mathieu Poirier > Cc: Suzuki K Poulose > Cc: Mike Leach > Cc: Leo Yan > Cc: Anshuman Khandual > Cc: coresight@lists.linaro.org > Signed-off-by: Sudeep Holla Thanks, I have now queued this. https://git.kernel.org/coresight/c/ebbce265bba164c4f0d5271c277a540bd3b2fd3c Kind regards Suzuki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel