Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1970952imj; Fri, 8 Feb 2019 10:14:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ0y/OIQN4OsdEqYM7NZrobEfGsAPVm1IfspI6qe2d9oBfYya4RJ/RyJeGDn/GxEFHgFS63 X-Received: by 2002:a17:902:2b8a:: with SMTP id l10mr22950251plb.70.1549649673601; Fri, 08 Feb 2019 10:14:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549649673; cv=none; d=google.com; s=arc-20160816; b=kCs4KVo4i9OqlM9ntHUIDPkTpy0YYo6kkN/7aCwzp05JDQ35WwTh+qMcV4e6LSYow6 O+AoHDvecM/I/9xmuv3UHo4rrvHrltOmNcfD6KGu9sdcp4M2jNtZdDcs6J06R5sdO4H+ SgPB/+sRvvw6srMDa19bHfkIH625ifs7TL88kYyOj68R9Z30d5aNRnNPUyUJ/CbtCst3 EkvY87B3na9WDbKjdumOjRxdcDhcPPuvVkxJijuoiOOeNAHiVMmEkGe7ccqX7RBCPpWz 2CFqU0WzyEKdxv56VDaMaTI06gSj3cBQymxjKJekZ1NPdWQrkBM+E5ozF6im2y6DzWjL xc1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=cRMrAc0unkIPbuSnLEJb2hypWENO7wsyt5jd+FUwLwQ=; b=x9uJNV1H2gDet0pJ/us2GxlkwzKC1SqiumI0WR1NOI46Dy+X/JCRdaoaSvrgsa2Lc7 PaG2NCIm/898xKOcoN1GiGmXRyilZRTSYVw4IxYJ/a6C6fuBwKgER0a9VgyTpQHlEoeJ Qya468vEZA5a43j1XW+IsmMXoNAhsqukQsPKb1mj+wJigJej+icUozZYXrDIhr+N3pp7 TqO2ObNbo/qC+OlyjYtf/WozOU/Eo8yCAZJes4yt7UNOPVtV0EEXoHDjMXgtHDpGAloe T7dHNOBHFWveedDHbdVEGaZ/uuHCJTNYw5JbwgprvQ4sGWccoDKjT+hxGvZvVK2bPYDC yYjw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z13si1358326pgi.438.2019.02.08.10.14.16; Fri, 08 Feb 2019 10:14:33 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728014AbfBHSM5 (ORCPT + 99 others); Fri, 8 Feb 2019 13:12:57 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:36052 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727863AbfBHSM5 (ORCPT ); Fri, 8 Feb 2019 13:12:57 -0500 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x18I46iw104899 for ; Fri, 8 Feb 2019 13:12:56 -0500 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 2qhd3s4xx0-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 08 Feb 2019 13:12:55 -0500 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 8 Feb 2019 18:12:53 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 8 Feb 2019 18:12:51 -0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x18ICopq4981158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 8 Feb 2019 18:12:50 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0AADDAE051; Fri, 8 Feb 2019 18:12:50 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5ACF8AE045; Fri, 8 Feb 2019 18:12:49 +0000 (GMT) Received: from rapoport-lnx (unknown [9.148.205.183]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Fri, 8 Feb 2019 18:12:49 +0000 (GMT) Date: Fri, 8 Feb 2019 20:12:47 +0200 From: Mike Rapoport To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Arnd Bergmann Subject: Re: [PATCH 0/3] generic asm: mman cleanup References: <20190124142448.23243-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190124142448.23243-1-mst@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 19020818-0012-0000-0000-000002F37387 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19020818-0013-0000-0000-0000212ADDE2 Message-Id: <20190208181246.GF11096@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-08_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=649 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902080124 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 08, 2019 at 01:02:51AM -0500, Michael S. Tsirkin wrote: > Now that we have MAP_SHARED, MAP_PRIVATE and MAP_SHARED_VALIDATE on all > architectures, it probably makes sense to de-duplicate these > and put them into a common header. I like the idea, but it seems there are more asm/mman.h users than just mpx and drm. Any reason only those were updated to include linux/mman.h? > Please review and consider merging though the generic tree. > > Build tested on x86 only. Has been in linux-next for a while now. > > Michael S. Tsirkin (3): > x86/mpx: tweak header name > drm: tweak header name > arch: move common mmap flags to linux/mman.h > > arch/alpha/include/uapi/asm/mman.h | 4 +--- > arch/mips/include/uapi/asm/mman.h | 4 +--- > arch/parisc/include/uapi/asm/mman.h | 4 +--- > arch/x86/mm/mpx.c | 2 +- > arch/xtensa/include/uapi/asm/mman.h | 4 +--- > include/drm/drmP.h | 3 +-- > include/uapi/asm-generic/mman-common.h | 4 +--- > include/uapi/linux/mman.h | 4 ++++ > 8 files changed, 11 insertions(+), 18 deletions(-) > > -- > MST > -- Sincerely yours, Mike.