Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1603348imm; Tue, 10 Jul 2018 04:59:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdrsqJILRMxRLVS7vp/oszJO7Y7afbuqFO5yxdhC0YjxxUO10g3Pd678LeRfNOgWTnxxzyf X-Received: by 2002:a17:902:784d:: with SMTP id e13-v6mr23969412pln.197.1531223986042; Tue, 10 Jul 2018 04:59:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531223986; cv=none; d=google.com; s=arc-20160816; b=MjfRDR+6Ca5Lq47TFKfbG6JZ1w5by+s9uGPOptZXaqmYAX8TBofGBTqpEgj/C1cJrR NboyQGUEuMpnJKmDvn2jgc3jY0HI0aUrkXUSbrlzE/NDVvwE96njEOT02zULseHUs7RO r2admUN0hxriwyf7/jF6lpeIVF+vZ8leU/ed/M1+o+c93CbQiXs3SQ6DkSBMdLRazTbQ ibYlzHkoZE5KnhtoHKdVRCoD6E7tD5QHs9xrQf8BCzxSmhwWAj4l/1oGRGfl+hreGDfv 6BkuspkO5gIja3zhvmjsu5hbPJwVUoBC7+8vxG6/OJ2poBb096UIePYR0qnYxRUD0Hwb aD/g== 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 :arc-authentication-results; bh=N49Jjt7wGAbCUe3fLm7ZotlyU5Gm8jG6XPHmAFyRx3Q=; b=Ldv+VwqJJpiaPuP3HggzrQdm7+KzDfhZBeeqiSgeO8GCY6K1M+CqHsawpk4hJ+UPp0 jlhFbZbBZRGaTUFcCB7fWvj4f8+wKb/cWVle+O1e/bljWBd8KSkhWfoc0R6Ww8tqbqPY ZCdMOLMaji0ZpbC4eLmNlSo4C9IYThbdIvBFa9B8K5eGHRyZ1AxCYwug/2jOnSfjYqUe GWkv9Jgnnbt2AmeSTVy6N8NWf0OCctmt3XqDplSQqqJPbpvkEgsvT8ot8dNK5OSjlmJO Ttr8h9pAtxspiF1w1tJRqsrLQTi3Dnn7aU0YcGkZ9QatoEfQSbSwvFXlx5jAaUV71Nqa d1nw== 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 j24-v6si15665091pgj.145.2018.07.10.04.59.30; Tue, 10 Jul 2018 04:59:46 -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 S1752464AbeGJL5k (ORCPT + 99 others); Tue, 10 Jul 2018 07:57:40 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:36421 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752029AbeGJL5i (ORCPT ); Tue, 10 Jul 2018 07:57:38 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fcrGp-0008Iw-Kj; Tue, 10 Jul 2018 13:57:27 +0200 Date: Tue, 10 Jul 2018 13:57:27 +0200 (CEST) From: Thomas Gleixner To: Andy Shevchenko cc: "H. Peter Anvin" , Jarkko Sakkinen , Dave Hansen , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Platform Driver , sean.j.christopherson@intel.com, nhorman@redhat.com, npmccallum@redhat.com, linux-sgx@vger.kernel.org, Ingo Molnar , "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" Subject: Re: [PATCH v12 05/13] x86/sgx: architectural structures In-Reply-To: Message-ID: References: <20180703182118.15024-1-jarkko.sakkinen@linux.intel.com> <20180703182118.15024-6-jarkko.sakkinen@linux.intel.com> <20180705200912.GA10701@linux.intel.com> User-Agent: Alpine 2.21 (DEB 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 On Tue, 10 Jul 2018, Andy Shevchenko wrote: > On Fri, Jul 6, 2018 at 12:50 AM, wrote: > > > For things exported to user space use __u* and __s* types... the _t types would actually violate the C standard with respect to namespace pollution. > > Hmm... Coding style 5(d) allows to use uintNN_t in new code (as a > variation of uNN choice). But not for user space exposed headers. See 5(e) for that matter. Thanks, tglx