Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp731175pxb; Thu, 15 Apr 2021 05:22:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTS/L6W4PqNx95A99QxD5l9O/KM1O7j7sc4QIJYpe2//Om+3k6ncW2Z8WLAysWlD55kQvB X-Received: by 2002:a17:90a:9511:: with SMTP id t17mr3675503pjo.235.1618489365805; Thu, 15 Apr 2021 05:22:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618489365; cv=none; d=google.com; s=arc-20160816; b=zI+Q055SVkxIdvV3ASqoi8l5Os6P1MQsDg25qwxlGWSuey6CikT2o6cicosaQyq3iW ybdpxitSgmj1QdUHUdPJbmamS1BxF2NG0zEUkVsOJRMqESQ0O3Xxmhmkd3StipVci5S8 rkSZAVSn/roGM+aMBj6Z6MpcKxeiaJN/VzcY5Vn5XtFVBOj74mUf9MOpst3QAM2leJco 4yXNPn2m6HHbPM6T9xSj7KgYkz5ylIbqTrhaf3yDKBGjRxKkOSXYQ0AOVoff+fvR9tnH eer2OLrLz0DIDttnK/GWR0nt25ef/nJknyT8nWLuNa2/+NAQz9gZM09v3ROVxdGk8D7E hKcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BJ8vT+zdtijIJ63F5bRpUZcIpEAXyB7xSiiu0EiR3AE=; b=O+aOI0l/6zjFOODFrk+eDOdSg18sMB9TUkTjZ4fjWTvvZLs5ylf6WS25QE+fvk2+xI M6ovysnKFOrEz4PmM2ofIrfYLH1r5OxWOy/5Zxt+eSKNojfrJr3XflvVgveSb0f1zMXL NChH7EMqeB+WHvEVLmqYRIgfxcUE3z/izpBcpEYrsMLuR2KyXw2oXODIVgGMVoNcdf9p 1AXQ+bQkXiM5g09F8nP4lcmDpNAn/iecpRVX3I24Gp5IgoR0x7mVr09kMc3ky9nfCWWH O0O5kUFaWWx+tWEAyDTM4dC9oA+Ax4Kxvw0izdyBf78Fn1CYNLDwi17xXyUBuL366qfi /BNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=lqnNjMkD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m25si2860586pfo.236.2021.04.15.05.22.32; Thu, 15 Apr 2021 05:22:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=lqnNjMkD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232678AbhDOMVn (ORCPT + 99 others); Thu, 15 Apr 2021 08:21:43 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:55386 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230202AbhDOMVn (ORCPT ); Thu, 15 Apr 2021 08:21:43 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13FC3NUN037904; Thu, 15 Apr 2021 08:20:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=BJ8vT+zdtijIJ63F5bRpUZcIpEAXyB7xSiiu0EiR3AE=; b=lqnNjMkDdKOIVL9emzvdhra3fldjBHU/IOeopSt1uinqa1JfIVINDUkhZWf3dUdXLgXP 5Cd6+opDn4W14eIXi+4RSA4lZ5lG/Hgm0myxACaCn9zTl4IBvaEZy6SawVvOsYN2McOZ y3v7ks+qYtAC2WI3Iw33EKRu7KLiIMFvb2r+F9gZVdCIj3b6szJfmeeDjc9bCew+pryD TVDPhVsS9q+bI0y9zNpLLvC8ZQ8Lcdy/WXGWjA0mUFjXprGZMClHofcNrwqSGEGZUsMz 3EufkW6Zf/xnbygvhgrUBSbNDBu6xDoX8Xxp87yhHHzvn/KVh6CCXQIkYYv0sYXjZa/+ vg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 37x88j2vgd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Apr 2021 08:20:55 -0400 Received: from m0098421.ppops.net (m0098421.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 13FC5j7G060273; Thu, 15 Apr 2021 08:20:55 -0400 Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 37x88j2vf7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Apr 2021 08:20:55 -0400 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.16.0.43/8.16.0.43) with SMTP id 13FCCeu1011734; Thu, 15 Apr 2021 12:20:53 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma05fra.de.ibm.com with ESMTP id 37u3n8a33e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Apr 2021 12:20:53 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 13FCKoQB39911756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Apr 2021 12:20:50 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F12A052050; Thu, 15 Apr 2021 12:20:49 +0000 (GMT) Received: from osiris (unknown [9.171.3.254]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 37F265204E; Thu, 15 Apr 2021 12:20:49 +0000 (GMT) Date: Thu, 15 Apr 2021 14:20:48 +0200 From: Heiko Carstens To: Christoph Hellwig Cc: Catalin Marinas , Will Deacon , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Michael Ellerman , Vasily Gorbik , Christian Borntraeger , "David S. Miller" , x86@kernel.org, Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: consolidate the flock uapi definitions Message-ID: References: <20210412085545.2595431-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210412085545.2595431-1-hch@lst.de> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: GYiuXa6MwPoYPHEW5dNs6OA4IVhEE-Qd X-Proofpoint-ORIG-GUID: WIGbMGvshmA6lDf2tv4RGrRtJ4XbrxTC X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-04-15_04:2021-04-15,2021-04-15 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=762 clxscore=1011 mlxscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 phishscore=0 malwarescore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104150081 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 12, 2021 at 10:55:40AM +0200, Christoph Hellwig wrote: > Hi all, > > currently we deal with the slight differents in the various architecture > variants of the flock and flock64 stuctures in a very cruft way. This > series switches to just use small arch hooks and define the rest in > asm-generic and linux/compat.h instead. > > Diffstat: > arch/arm64/include/asm/compat.h | 20 -------------------- > arch/mips/include/asm/compat.h | 23 ++--------------------- > arch/mips/include/uapi/asm/fcntl.h | 28 +++------------------------- > arch/parisc/include/asm/compat.h | 16 ---------------- > arch/powerpc/include/asm/compat.h | 20 -------------------- > arch/s390/include/asm/compat.h | 20 -------------------- > arch/sparc/include/asm/compat.h | 22 +--------------------- > arch/x86/include/asm/compat.h | 24 +++--------------------- > include/linux/compat.h | 31 +++++++++++++++++++++++++++++++ > include/uapi/asm-generic/fcntl.h | 21 +++++++-------------- > tools/include/uapi/asm-generic/fcntl.h | 21 +++++++-------------- > 11 files changed, 54 insertions(+), 192 deletions(-) for the s390 bits: Acked-by: Heiko Carstens