Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5186244rdb; Wed, 13 Dec 2023 01:06:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7+eBZgnktVxBBQaqm4rJb/drGq0tQtf885QFTX1+aYfuzKzr9RuW7keBLFmOhMl3hkB72 X-Received: by 2002:a17:902:704c:b0:1d0:ab0e:9157 with SMTP id h12-20020a170902704c00b001d0ab0e9157mr3999977plt.128.1702458365670; Wed, 13 Dec 2023 01:06:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702458365; cv=none; d=google.com; s=arc-20160816; b=RKG9zaorwee6iqpW5HD+atTy3TzUpflsAuoy5wCWxXfPWnJ22rNAlnU2et/BWtgrxk O5YcWnA9HFnoB2wBMz7TVQ4k1gUa9jhFkTUyQLjXv+niqo3cvjIDkvIXB8W0+UnWNvNs IWEIu2GRiXib5CgGpkPmwer8/ekOVM7a15yF94GZGKkijtDn9AlcmL0kCQN0KHDkpM0b LkUq4uKVFmLI/Hn9qmXZ1YSmH1vpD4XVwpe491FwE72MpvP89U0iqdtH4vggdBhxUMCy sxwu3YzsFFtVdY7ZvIAW9bhEPOHL+snQayUomJi/d9LOzrp7MwmAUQA1Cz2NBzvJMUcf Aqcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=uPVstSGHW2mJYYKDhOcbHVvFc6FCpsaEprPwYoO2QrU=; fh=Mzk1Sqygxy9AUsJMJbW1UsBBe0MZANIR1yBAg8FqRM8=; b=IMgCPu/d70Aq0vdXUlR+zuw8ez2fn00Cch57jVY+Y4Ap4q9bWWP/xSvWEu89VQVavX ihNt5Is0PYExTnj/U0ul4ndEEL8xOpfz4Gbuw2+Z9Ayi5YOJ4tuqMZKa/Mq8SrWnuJ7p 2nBrPeppW026AtRUqs64Q7YATRuDMNls7KuejzJ4tmvhOceHY+pqiOPouqIZbiYpGnHF ZmwMq2dHbOnC3/Lo6xGhgZ3YozBuTJuwQh+XAN0CtzBBe9r0TYMTJXbVUEsrvdJnL2xO Om1uxKMfcg76Ds4tEOaoI46BlSYTlTZTIJJlu9EuWk+0OtzBuTykuAQiLBBn5Bc2NW7p njlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MGi+uK8f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id e8-20020a170902744800b001d086133cdbsi9236545plt.491.2023.12.13.01.06.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 01:06:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MGi+uK8f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id AA4778082A65; Wed, 13 Dec 2023 01:05:41 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232496AbjLMJFZ (ORCPT + 99 others); Wed, 13 Dec 2023 04:05:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231137AbjLMJFY (ORCPT ); Wed, 13 Dec 2023 04:05:24 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07033F3; Wed, 13 Dec 2023 01:05:30 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2ca0715f0faso92367461fa.0; Wed, 13 Dec 2023 01:05:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702458329; x=1703063129; darn=vger.kernel.org; h=mime-version:references:in-reply-to:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=uPVstSGHW2mJYYKDhOcbHVvFc6FCpsaEprPwYoO2QrU=; b=MGi+uK8fNUmM0nhxy/iOse+UgOChkXpP3nyVErQc/+LI5+qhOuntIIHrgrEzY7EjIh 7RfkbwccMukM43/8rRjOIlmo8EPwzazbrK+ylS3Cwkjl8cva0qhM6JUgdUOtReByzEe1 cAhIPHLJ9MUpFThviTFoAzJJ8MXVJ0uGkQQRNgAhItdfJJZTkikyhX+kJXJPeHol95SI /15h/nP244D+ak5DxfpZyJpTxrw+iwOUMMqY4m0HK4eqwQ0xLbwP7R2ztcxoujGiSPZh H25CHVogBLxLF7Ph76klLrOViQuC7J4bQfYd8szgeN7mfGELRR7i3FZGqm2fJdJ43Tvc BuBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702458329; x=1703063129; h=mime-version:references:in-reply-to:message-id:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uPVstSGHW2mJYYKDhOcbHVvFc6FCpsaEprPwYoO2QrU=; b=jNnCZTpJ5NStUFu+h/rdsydrP3b72bNeeWvnoL/HhTVIikNpe0m8VftCZUYXpaBlXf x3Y2oBGl6u8sdcoEuT38x/2I8dFAjBGuLepqzwABtDDpxoq+CnhoPJAI8r6EUnSSZ4tZ A8i7Xu0Fo0W9+2LyGELCobRQSA8xDRKUxayCAEWiNuFjF+fuIol9hEOrQegCzfarcaWA SJkwCDVTfXflg8PKm1Ps2u+5tBYndnu5dBUMDKmgLCKs+tHW9/g2gwcCBHdj3oJJVAPM YSb8hjPZZ5I6hjyLtExGQEhCrRexRRCG2xHz5CGEw4xLQaXCmCFdjwysMCOZwou10HwE bpkA== X-Gm-Message-State: AOJu0YxrDsfm8vD+6M6ALUnQF2R7OmymhSatT+q8Lfqd1m9GmJEdsJwz IywiUnS0iIA0jAeWLjjnhR4= X-Received: by 2002:a05:6512:38cf:b0:50c:5aa:83b4 with SMTP id p15-20020a05651238cf00b0050c05aa83b4mr2890212lft.114.1702458328719; Wed, 13 Dec 2023 01:05:28 -0800 (PST) Received: from eldfell ([194.136.85.206]) by smtp.gmail.com with ESMTPSA id y18-20020a199152000000b0050be6326f2asm1597596lfj.64.2023.12.13.01.05.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 01:05:28 -0800 (PST) Date: Wed, 13 Dec 2023 11:05:17 +0200 From: Pekka Paalanen To: Simon Ser Cc: Yong Wu , Rob Herring , Sumit Semwal , christian.koenig@amd.com, Matthias Brugger , dri-devel@lists.freedesktop.org, John Stultz , Krzysztof Kozlowski , Jeffrey Kardatzke , Benjamin Gaignard , Vijayanand Jitta , Nicolas Dufresne , jianjiao.zeng@mediatek.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, Conor Dooley , ckoenig.leichtzumerken@gmail.com, linaro-mm-sig@lists.linaro.org, linux-mediatek@lists.infradead.org, Joakim Bech , tjmercier@google.com, linux-arm-kernel@lists.infradead.org, AngeloGioacchino Del Regno , kuohong.wang@mediatek.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/7] dma-buf: heaps: Add secure heap Message-ID: <20231213110517.6ce36aca@eldfell> In-Reply-To: References: <20231212024607.3681-1-yong.wu@mediatek.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/DaWmOigQ7D9ggi2.WnkRpp3"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Dec 2023 01:05:41 -0800 (PST) --Sig_/DaWmOigQ7D9ggi2.WnkRpp3 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 12 Dec 2023 16:36:35 +0000 Simon Ser wrote: > Is there a chance to pick a better name than "secure" here? >=20 > "Secure" is super overloaded, it's not clear at all what it means from > just the name. Something like "restricted" would be an improvement. >=20 My thoughts exactly. Every time I see "secure" used for something that either gives you garbage, refuses to work, or crashes your whole machine *intentionally* when you try to do normal usual things to it in userspace (like use it for GL texturing, or try to use KMS writeback), I get an unscratchable itch. There is nothing "secure" from security perspective there for end users and developers. It's just inaccessible buffers. I've been biting my lip until now, thinking it's too late. Thanks, pq --Sig_/DaWmOigQ7D9ggi2.WnkRpp3 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJQjwWQChkWOYOIONI1/ltBGqqqcFAmV5c80ACgkQI1/ltBGq qqdqdg/8DMTwQfWf/EfE0E0FOjM0IPMnzZreMPcRlHBqMJqgQA5miVL9CVE+novh ohRbfFYLwut7eqtK6Dzn+6hOIVFRMpGPkWe8qHfT+CJ8Wr3hD8Q23PKEveH/FENO G+XUbPzsnlDTDs5MB2Bb1TAiWQLS8Y1/nstMZ49l8mmW6Iim0Z+/xhyqUyLaHfpm zB7JRM7CSN8gyPhoqoAAITy+ZL4+yD7D28izgQA4YZD4JzkE1fYOUFzNb4QRA/T7 GxPSExZlU7+CdIL5zAJvhqpHh9nxMdOUvaP3aQBzShcTKDVoet/TZ+0QuEOuD1QJ gHG05Hcp5gREsbjn9oytS2km0LcL7ZmR98NOrf9idl4jZDjVTEMQvV/FrSSwiyGv 5whtFHkkDVy1nXjyYmgiGO7dvIptO+dNGgRtACt3xe0tdvu5ndP2+hG21ADVWebc fd2T4mnUoANro1gOjWATV5+0fzlOK5hFff70pvE9U2ATvqXo7i2I+kzW/EJFPilA 4EqR7cIyLCaVRb7q/dC4CdWUu0NIxCp7+u22Z/B8pHFw2MnQZa0twIKV3GJokfrR A4PfZLAvpbSkfr7SalrN6eYFHhJOpcCJPHXCiQSnRT7DU5u6NhUr35IZgq/YuANC YrU/v7fiWv2v6I0I2FN8fBaH1baL6/SWpA5q43OECPVewbA/Uwg= =DQfN -----END PGP SIGNATURE----- --Sig_/DaWmOigQ7D9ggi2.WnkRpp3--