Received: by 10.223.176.5 with SMTP id f5csp3026328wra; Mon, 29 Jan 2018 07:45:52 -0800 (PST) X-Google-Smtp-Source: AH8x227YGmm9hmkMm8fNfBx7xVFKYb9+bhFt6olGhrUfvtdzehRhwmETp1Hjx0UmDc/6Y5JT3g71 X-Received: by 2002:a17:902:7b8f:: with SMTP id w15-v6mr22746922pll.219.1517240752236; Mon, 29 Jan 2018 07:45:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517240752; cv=none; d=google.com; s=arc-20160816; b=m7ViKeewzRIqrhZIOjOdiIYR+GYJnrB7KF1IA0TVc/KDqXfQMbuCd+AmMDU8PyNJUw /i6fwgf0ZiX1x4hWU/qpJsZwnBVUNL80NREZTZXFwg9mlXfiW1XUUqj9tiVej8e+Sf3X AVZ1r0VuZAx4+/n0s/3mlo3x7e6i7hYqd9YYrRsIBgvHKWQkV9d+c825ZrCroPPEr6xc crn8sggmGMofZJd4YSP4I02pbolHqI7wlzdQ9OIojf2T7FURdekhrAAns3qoVliYubAV Mw5sJ7O6XUp7nOiSDQhCQ1E55h2KfAYkt0NfqVtjg6iQkxtziPkqz5HmElfBgr3UKsAZ BmMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=5rcNWYROXgu2WogNQpxYZaedcEnzxnhI7ovq3Chnb+A=; b=dZThV5yEDd3COu560fXuNJjhk2h0H36RBfd6ht8YMNpgjSUX5Dg8NJQWu5TWXpE6oM 8LinusDzalnBreJpCqMxF5l2OlaStAJ3UR5h/S2S84+Gjx+n0EyLs51+2690lHi15iYD ffPSd2/YFsB8fZU+UfwHHCIianXbSkd1KnjmwHsslsD1QtQbyOwh9m+8UugMMbMSoU33 2lIi34rZDygRA1E6L8FiAI8PM45GvC9e2iNYkGALBmlk53s8GELXplpTc/8Z8Q0+t6BX JXw9hJkTVqFirgVGdXixaW/FIP8d7fOfcGpv7WWXGqWn04pIStoCWvlKV2jMbW1u60uZ fhkA== 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 x75si1721325pfa.144.2018.01.29.07.45.37; Mon, 29 Jan 2018 07:45:52 -0800 (PST) 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 S1751910AbeA2PpF (ORCPT + 99 others); Mon, 29 Jan 2018 10:45:05 -0500 Received: from mga05.intel.com ([192.55.52.43]:15006 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751387AbeA2PpE (ORCPT ); Mon, 29 Jan 2018 10:45:04 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jan 2018 07:45:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,431,1511856000"; d="scan'208";a="15229676" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by fmsmga002.fm.intel.com with ESMTP; 29 Jan 2018 07:45:02 -0800 Message-ID: <1517240701.7000.1302.camel@linux.intel.com> Subject: Re: [PATCH v1] x86/io: Define readq()/writeq() to use 64-bit type From: Andy Shevchenko To: hpa@zytor.com, "Mehta, Sohil" , "tglx@linutronix.de" , "mingo@redhat.com" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" Cc: "mitake@dcl.info.waseda.ac.jp" Date: Mon, 29 Jan 2018 17:45:01 +0200 In-Reply-To: <1516696324.7000.1185.camel@linux.intel.com> References: <20180119143322.16555-1-andriy.shevchenko@linux.intel.com> <1516667578.153063.78.camel@intel.com> <1516696324.7000.1185.camel@linux.intel.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-01-23 at 10:32 +0200, Andy Shevchenko wrote: > On Mon, 2018-01-22 at 16:46 -0800, hpa@zytor.com wrote: > > On January 22, 2018 4:32:14 PM PST, "Mehta, Sohil" > > wrote: > > > On Fri, 2018-01-19 at 16:33 +0200, Andy Shevchenko wrote: > > > > +build_mmio_read(readq, "q", unsigned long long, "=r", > > > > :"memory") > > > > +build_mmio_read(__readq, "q", unsigned long long, "=r", ) > > > > +build_mmio_write(writeq, "q", unsigned long long, "r", > > > > :"memory") > > > > +build_mmio_write(__writeq, "q", unsigned long long, "r", ) > > > The patch works for me: > > > Tested-by: Sohil Mehta > > Wouldn't simply u64 make more sense? > It would break a common style used in this module for the rest of > accessors. > So, I prefer to go with unsigned long long and change later, if > needed, > from POD types to uNN ones in entire file. So, Peter, Ingo, Thomas, can we move forward with this one? -- Andy Shevchenko Intel Finland Oy