Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp8285ybb; Thu, 19 Mar 2020 15:26:12 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtSlE4wZYCcgIkI9H19Us1RencXKfhE+Fx4YtsI53hy5wc2NRfcHIW/HtGNcGWoiJr07eNF X-Received: by 2002:a05:6830:4ab:: with SMTP id l11mr4148806otd.163.1584656772366; Thu, 19 Mar 2020 15:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584656772; cv=none; d=google.com; s=arc-20160816; b=faJV01ZniSL5eLzzXBTbMbsjUu0Gqzz4sS/h28hbxb1m0e79ZedgOqHkDsNcHYgb2l osBRXk5qHx8LG4cyVxscxv6TEWEzVWZqxvfAp3csqQ2lpk/Qv6367GDKryewf5MYV7td h/BK8If6giRZvTgpOM/fBdInrVRy3dap65vBYdvykhG/lJwnliM2VP5Qo3aefkLXPyNG bvUfetE+sYWgEnrlxuDIlBkm1Ah4u9ZuwsB6c8vJTSH+utvDVrVc1Hu/WeBaYPqYyBhc fcyM0lyCrUyF/iwYW0zFvteZaIax2JOlBvr/ZeIBIFYENyugTPfi78HNrNg5CLQqiWfs 8bGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=X3D25T9VE8Tb9IbyXK7c3qCn1M4lmvhye2LRufq38Ns=; b=x1/epAZrpFqfp2WaM+glvY+fy1opPSWBoFx61Vnh5RQ6aJdJ81iy49m9SYlz0lsIZ7 xXG4hKbgGGuDUtw7Q2LtAnPOJAJVa525GP1w4yeckTMVEHPuhXWzIO3KjnItjD3vemoy pgDiOf+ag+CWgDiQtlhHICbLMfgTtHKKpunn7jciLfUBWua07Aow0UyWxmyw6NVIUh0R VikOISabCk112HoWbDdx0eBycDixYF4gT11gOM3AHsNK3l1WFk/PbrR9r0fxo20jGVrn oupjtyeGX7PG+y07P3P3WVlciHvzj6axutfu5cNctsg8KDfTxPzS+hJ+INuNR/SShZrA dU5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j206si1760900oia.158.2020.03.19.15.25.59; Thu, 19 Mar 2020 15:26:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727360AbgCSWAA (ORCPT + 99 others); Thu, 19 Mar 2020 18:00:00 -0400 Received: from mx2.suse.de ([195.135.220.15]:41578 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727257AbgCSWAA (ORCPT ); Thu, 19 Mar 2020 18:00:00 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 59322ADAD; Thu, 19 Mar 2020 21:59:57 +0000 (UTC) Date: Thu, 19 Mar 2020 22:59:55 +0100 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Thomas Gleixner Cc: Borislav Petkov , Robin Murphy , linux-s390@vger.kernel.org, Dave Hansen , Vasily Gorbik , Tom Lendacky , Peter Zijlstra , x86@kernel.org, Heiko Carstens , lkml , Christian Borntraeger , iommu@lists.linux-foundation.org, Ingo Molnar , Paul Mackerras , Andy Lutomirski , linuxppc-dev@lists.ozlabs.org, Christoph Hellwig , Marek Szyprowski Subject: Re: [PATCH -v2] treewide: Rename "unencrypted" to "decrypted" Message-ID: <20200319215955.GN25468@kitsune.suse.cz> References: <20200317111822.GA15609@zn.tnic> <20200319101657.GB13073@zn.tnic> <20200319102011.GA3617@lst.de> <20200319102834.GC13073@zn.tnic> <8d6d3b6c-7e4e-7d9e-3e19-38f7d4477c72@arm.com> <20200319112054.GD13073@zn.tnic> <878sjw5k9u.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878sjw5k9u.fsf@nanos.tec.linutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 19, 2020 at 06:25:49PM +0100, Thomas Gleixner wrote: > Borislav Petkov writes: > > > On Thu, Mar 19, 2020 at 11:06:15AM +0000, Robin Murphy wrote: > >> Let me add another vote from a native English speaker that "unencrypted" is > >> the appropriate term to imply the *absence* of encryption, whereas > >> "decrypted" implies the *reversal* of applied encryption. Even as a non-native speaker I can clearly see the distinction. > >> > >> Naming things is famously hard, for good reason - names are *important* for > >> understanding. Just because a decision was already made one way doesn't mean > >> that that decision was necessarily right. Churning one area to be > >> consistently inaccurate just because it's less work than churning another > >> area to be consistently accurate isn't really the best excuse. > > > > Well, the reason we chose "decrypted" vs something else is so to be as > > different from "encrypted" as possible. If we called it "unencrypted" > > you'd have stuff like: > > > > if (force_dma_unencrypted(dev)) > > set_memory_encrypted((unsigned long)cpu_addr, 1 << page_order); If you want something with high edit distance from 'encrypted' meaning the opposite there is already 'cleartext' which was designed for this exact purpose. Thanks Michal