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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F13F9C433E0 for ; Thu, 4 Mar 2021 20:21:24 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 64DE864F69 for ; Thu, 4 Mar 2021 20:21:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 64DE864F69 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=s6TuZELAoGag04SBY4U/O3qn9bMimDqXyvNQXIYL8bY=; b=G42PaFML2BC4R+xqaEnRUhpqn 0Igj7bGRqyMUKsuQW3ibbYigxQ4osPmz4xF9I6+EfK6PXUqGZhKrx0DH7folrzAcLthsbwlkgwoPh 34b8e6ovloMW90tVC2ozMc5vQ92qulj5VM7GZ39/cAx9lm9APeHHhGNwLBbE14uXKAGHWYaxBPdBk eHZNwK9cxG6YlmXUDKLT/fcx/ulkk1h0Dl1qSjCXxwG5aF2v034ZdzVRgjxRYEKCLfySaYGMhd6UI THUWuIi9EkOrBIJ2W830/YdKTB+50sHYzlkeOA7Cf74VlLMtPqQQpSiKnX+dEMW80HjnfrJAhD3F3 sds+y7gWQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lHuRH-009vcL-Re; Thu, 04 Mar 2021 20:19:15 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHuRD-009vbb-He for linux-arm-kernel@desiato.infradead.org; Thu, 04 Mar 2021 20:19:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=+k0gDfGlLgg5ZmEsJlhIS8SA4cZ2Bx7RBO/DiIuX6pA=; b=AJt3LPBlEFGH03/xnFQgKOndJ4 ldB/w0AlpF5qlSy0LCxJBOjRzW4y2EUBIh5QZU5iqz0puQ8dLUppHHKa+rwvTzLUuokLHoVjypb8U KhZ7NiD01cwEQkr+7Tp1ffm8YPKnoqQoFHQaBEcf+eFTPveL0Yip6eRx1NfS2JB4+d/u1TMmojTfO 7nkxTnim+KmM5vgWuy862xsTeH+qRlGPJGok7kqhpJftGGJIsg18w0eKyYHJwCjb/gzUEOKuVkl/B Hpkl+pz/zHv60bIOxaT0oFIh8bIGK6V4+LFumhXT5kF8yFckMZG+KYLso1hZXgrZ1lm8eVcRYEPYe tbGEvrcQ==; Received: from mga11.intel.com ([192.55.52.93]) by casper.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHuQk-008Z3r-3M for linux-arm-kernel@lists.infradead.org; Thu, 04 Mar 2021 20:18:53 +0000 IronPort-SDR: 0Ugt4kAhWSXnGlRleLH3ZgqcFF1UA5axxrtTkvOVbZGDoJm38GYWAx5zEcBBOji3nXyZ3suMQT kIFWUVIQjMUQ== X-IronPort-AV: E=McAfee;i="6000,8403,9913"; a="184125800" X-IronPort-AV: E=Sophos;i="5.81,223,1610438400"; d="scan'208";a="184125800" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2021 12:17:40 -0800 IronPort-SDR: mMh51xlzxR7B1k/L0dJG0k44Oel3shCrKFHrGY8UO6UceiV+ywkSrPQyl8Ect80vnNBXqrcq5A t6Su39TXPgcg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,223,1610438400"; d="scan'208";a="518785122" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.54.74.11]) by orsmga004.jf.intel.com with ESMTP; 04 Mar 2021 12:17:39 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id B20EF302859; Thu, 4 Mar 2021 12:17:39 -0800 (PST) From: Andi Kleen To: Sai Prakash Ranjan Cc: Mathieu Poirier , Suzuki K Poulose , Mike Leach , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Leo Yan , Jiri Olsa , Namhyung Kim , coresight@lists.linaro.org, Stephen Boyd , Denis Nikitin , Mattias Nissler , Al Grant , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Douglas Anderson Subject: Re: [PATCHv2 0/4] perf/core: Add support to exclude kernel mode PMU tracing References: <871rcuvgfq.fsf@linux.intel.com> Date: Thu, 04 Mar 2021 12:17:39 -0800 In-Reply-To: <871rcuvgfq.fsf@linux.intel.com> (Andi Kleen's message of "Thu, 04 Mar 2021 11:59:05 -0800") Message-ID: <87tupqu10c.fsf@linux.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210304_201853_484776_1A418574 X-CRM114-Status: GOOD ( 11.61 ) 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 Andi Kleen writes: > > Normally disk encryption is in specialized work queues. It's total > overkill to restrict all of the kernel if you just want to restrict > those work queues. > > I would suggest some more analysis where secrets are actually stored > and handled first. Also thinking about this more: You really only want to limit data tracing here. If tracing branches could reveal secrets the crypto code would be already insecure due to timing side channels. If that's the case it would already require fixing the crypto code. -Andi _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel