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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham 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 8F208C10F0E for ; Thu, 18 Apr 2019 12:16:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 69095217D7 for ; Thu, 18 Apr 2019 12:16:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388978AbfDRMQt (ORCPT ); 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.