Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp515263yba; Thu, 18 Apr 2019 05:19:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqznV+eA+rTmN7COe3YYdAKfNIT80PXQzF3lIEiQJ5PUpHz2OktUsVHpKpfVNY9pDyw5hPCD X-Received: by 2002:aa7:8c13:: with SMTP id c19mr94793626pfd.225.1555589985111; Thu, 18 Apr 2019 05:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555589985; cv=none; d=google.com; s=arc-20160816; b=Vw9ZjXJXPD+gciZjRANtTCfwwukUtXHlfzFlk5vjOFkqByhICFGYXi/lCQ8cpHDvxt MtwO4HS3cCg8wIy3ew8x2ET55b3wAIdpiBa71LhXHd8cCYV+oniykm1QWvoCvzZjumV4 3eSAJpQX0vu/F0jgaicVV3GlG1O1jaDOA6kt+24Bu/+6OD0m84CW6XtWBIp1eflg93vG XOy2BueS7ovzU9bbve2xCP1SV/fEOGT4tCDcAqfu0uTgrwlR5rjUoTywzb3423iYwSa6 1durWMF9NmrISIBIjMjhFPQUKXA1cH3kawozGypNF7o2FWScNivuYAWRzPW2N/Se+qFg ECxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=K+uBeIQQ0ZPnJ+jVzhtbH/OIKjnsAokvgTazHoeS8Pk=; b=nui/mdbAqGi8kPivkmK1DqMdj285qEMPef2spobrIqn1zWkK2QGF/eDOMunetSRqaR BQv+3/kXgRjhS3LLJ9i/Ix0XLo09HTr8E0OtUwyhD+bhcwX/fV8+fTobWqB6PzQSwM2t G7Y9h+m9eDgcjNA5tPomn4OzInJ7jWtYm96v6b5WAFqPUAoVj8gsAM9uJKdEp4gFwA9v XFr+csGFZb1bP8TC633VCuiGo9PwD1Pt7bcqlOkAfdt7J8JhqSHKAETdJUe6XT39vnMv tgRCOaXbuIl2MVloXDzIsXyi+5v9BlzPIpZNyyJsnvk3v++MTmFpIg6SxOgk3qN6P7KV tnrA== 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 j30si1694586pgl.338.2019.04.18.05.19.29; Thu, 18 Apr 2019 05:19:45 -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 S2388974AbfDRMQt (ORCPT + 99 others); Thu, 18 Apr 2019 08:16:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:51904 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388401AbfDRMQs (ORCPT ); Thu, 18 Apr 2019 08:16:48 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 5C205B185; Thu, 18 Apr 2019 12:16:47 +0000 (UTC) Date: Thu, 18 Apr 2019 12:16:47 +0000 (UTC) From: Michael Matz To: Linus Torvalds cc: Borislav Petkov , x86-ml , lkml Subject: Re: [PATCH] asm/io: Correct output operand specification of the MMIO write* routines In-Reply-To: Message-ID: References: <20190417085008.GB20492@zn.tnic> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, 17 Apr 2019, Linus Torvalds wrote: > So I see no upside to changing it. As long as the memory clobber stays (and it can't be removed in the general case, as you say) the change has no practical effect. It does have a psychological upside, though: people won't continue to wonder why the asm doesn't precisely specify what it does, and instead only declares a memory-read while clearly being a memory write. Normally, with asms, leaving nothing to wonder about is a good thing. Ciao, Michael.