From patchwork Fri Oct 21 20:33:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 9390095 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 20F4260762 for ; Fri, 21 Oct 2016 20:41:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11F8E29F2C for ; Fri, 21 Oct 2016 20:41:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05C2F29F31; Fri, 21 Oct 2016 20:41:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6314529F2C for ; Fri, 21 Oct 2016 20:41:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bxgbT-0007nc-Ph; Fri, 21 Oct 2016 20:39:47 +0000 Received: from mail-co1nam03on0089.outbound.protection.outlook.com ([104.47.40.89] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bxgX5-0002ZG-6F for linux-arm-kernel@lists.infradead.org; Fri, 21 Oct 2016 20:35:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dugTvToQNYCSTGRB46ucR1nm5cwK9wFSMV+Tu4IknYY=; b=Ym6hMVvgHwo+Zb5xSy4Akhrw0v+FH2JT28D3uEm/X/UiciLtxX5VqRZfNj30p5NQK15Cui3TjwcJYxvpz6lO5YJeRgqeSN+Kszb7HOR5z9kkjkGNG0/uk75AD4L071T1y/uKX3RnrbyasxBn2/h2vubUqwpw8c8VckjsLoDn4WQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.121) by SN1PR07MB2254.namprd07.prod.outlook.com (10.164.47.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.12; Fri, 21 Oct 2016 20:34:51 +0000 From: Yury Norov To: , , , , , Subject: [PATCH 08/18] arm64: ilp32: add is_ilp32_compat_{task, thread} and TIF_32BIT_AARCH64 Date: Fri, 21 Oct 2016 23:33:07 +0300 Message-ID: <1477081997-4770-9-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477081997-4770-1-git-send-email-ynorov@caviumnetworks.com> References: <1477081997-4770-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM4PR0701CA0002.eurprd07.prod.outlook.com (10.165.102.12) To SN1PR07MB2254.namprd07.prod.outlook.com (10.164.47.148) X-MS-Office365-Filtering-Correlation-Id: 31877821-c4ab-4c28-b2a9-08d3f9f1b5dd X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2254; 2:YNQprZOGtLLtzWUi9YcLaxzSdAUxLRzCqsDaYGiFhkbjPB/0CoVKPZkQgxOxYor91kIEnLDIz/vQl2ieLs04h4R0ExRCPIRxbpnX2vwDUjS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FozNy510Rg7toDPPzIyRclhr/8DTOZN1ruDqlpNFnCKrBrJJ7nlNbRyOw== X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2254; 31:o0++Xku8K+s7pAvqP7/DDsGsRR2/XQM/Abp88mH5wjb6Utxu3dlR73OxCIcntIcK1TstH6slsFzOUSYVdts7hO3H5nulX44QnZrZZIU+4axF3IdabnAOPZJERtnTT/HdBMLkn1QBfYqcSDBvLSOMpJ8c8NbQQFyz1qqzXZs7ag1U07BxR1dMpDqEjlMkSbN4PmzJrtdeh2S6kQsz+7xZoi7FUf8pnzCvrqWvWe1pGfUqcSJXwEnx8MM8ftCa6Za5; 20:A8QvVwgn5Xk6jfVuOfmg8Qoi5NLzK8OWVknNAVU4NrvDQ9nnXDsrdOiuCQ66ecRAy4qkNzgCMDSzgTvQOKteiz+pFz2fEU0SmbxATg2sdxYLMZmJivwvFHj/dgVF4D7y++xbuc5cbQs9Gy4j5zE9wcDupW4vDaKRYTBnDSxXJE31kM9o1GY40RrfGQ9RRVM6gnFB/j4aUq7nVsNTkN7oyMzc8f/d5Lz3+MrATbOsR3ISsNoKvUq/RyUKrJq+fr0tV97UzuFhw+0dt+BadfaRxYHVJHAzEngk2kIpPRVtRg26wQUsjwEBzIrHkGszhQhIEewCtB0lQPZvjysZFhEq1joud2Lyn2JSi2QymYfsH5jLgDXW4PwkPgSaRPhfZ73p/ZreP4DwNHx1h9GBSB+50YlRgYhmZiwGFK6VCy2fOqYSjceP+sQ5NKSB4NRGtLpO78iVCNYpkSSktdElto4vUjKioGYpr1syFFTudkgsr/7lksmbDeYThXwF8aDQjEZ3TTTF1+LDUkxLkBfvaAxpdyYRGL71i0x0kH0TXRadqJzsilYdU0+r/QYb8JcaelY++0YvhZ0jNoy2znByNoSih1lfmwUamF2GXIdT3CBW7Ns= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:SN1PR07MB2254; BCL:0; PCL:0; RULEID:; SRVR:SN1PR07MB2254; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2254; 4:q8uoX1QkEQSzh6fMNHUxeX1j0iRp41cWPhEL9DWq6NVbQM23d46/tTwX+9YcslPbx3ezVF5fLmImJBmhQIstnSung3sXN0nO5tUB0cKmW08dhjlAm4ifcQ6Ts8cipFzYcFuIz1pwm6jceR0ph8hMwD8JTR3oJviRFQ2+jco+XooGjK1ftbzPXbfTzAV/vdW0f6+SHRyiElHtKBO6TyB2765IfnwOa+IXr4XwBPYeeuLBsVfUO92UwsAhQ1qHwMOb3vEaXUGtZisnGE999EV+wDDhsAE0UaD+f8hOedtOfdxJKdEGwsYKAh2LAcCiv3CI6DpQ+8QZ1vr/IPbr+4fnLssuyH81FUNWJTktHWVCU7/TEoyemRv//PqrnHsCgXPH6bLT589qKp8e974L6VL/yw== X-Forefront-PRVS: 01026E1310 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(189002)(199003)(42186005)(6666003)(5660300001)(76176999)(36756003)(4001430100002)(76506005)(50986999)(105586002)(106356001)(2906002)(229853001)(47776003)(48376002)(50226002)(2950100002)(68736007)(33646002)(2201001)(81156014)(7736002)(101416001)(7416002)(3846002)(7846002)(19580395003)(92566002)(305945005)(8676002)(5003940100001)(97736004)(6116002)(19580405001)(189998001)(4326007)(107886002)(81166006)(77096005)(586003)(50466002)(5001770100001)(66066001)(15760500001)(142933001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2254; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR07MB2254; 23:kikh8JInQs9uqVhme+xjpf+FtpmY3Se0c5oF/G2jn?= =?us-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PmjLLu/RZukEfdrYV2GriPJJyfwO8IQltDD+Gh61Zgfq0+LoDmniMmZq4Ns0ttCUsE=; 7:R8K8CACW1pGtqqehuM8Q5XwCEyUcf5+V/N3jtgZKbkosc5tRo3//5SHDBOPztCBdH/+7WTSF03n+OdrwRl8vFWspswDBnEJvFxQ2yYc0J3LkF9zMmIRY/RQ5dGmiHnRnSG35aubzad80qBO+3XZut+I0d1mIGk4SJtBbVLeXPqFfvymztkQmggXD0B1xVh33sJfSdrHW0WzHT9VDrQS/Klk0oSmAj5f7FVktFdLR5phircRsAhAoA0ehxWsoTJqWVotbaVZ/OwiS2+718Byp9Ztg+/421lXLymG33mmhNjJN5tDPuak5DuoprHlTNhyETVWs3fMDzNG22VatayvuLhZtb0VLKczMBI60nezJRlo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2016 20:34:51.9418 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2254 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161021_133515_611850_1E5DE294 X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: szabolcs.nagy@arm.com, heiko.carstens@de.ibm.com, cmetcalf@ezchip.com, ynorov@caviumnetworks.com, philipp.tomsich@theobroma-systems.com, joseph@codesourcery.com, zhouchengming1@huawei.com, Prasun.Kapoor@caviumnetworks.com, agraf@suse.de, Andrew Pinski , geert@linux-m68k.org, kilobyte@angband.pl, manuel.montezelo@gmail.com, pinskia@gmail.com, linyongting@huawei.com, klimov.linux@gmail.com, broonie@kernel.org, bamvor.zhangjian@huawei.com, maxim.kuvyrkov@linaro.org, Nathan_Lynch@mentor.com, schwidefsky@de.ibm.com, davem@davemloft.net, christoph.muellner@theobroma-systems.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP ILP32 tasks are needed to be distinguished from lp64 and aarch32. This patch adds helper functions is_ilp32_compat_{task,thread} and thread flag TIF_32BIT_AARCH64 to address it. This is a preparation for following patches in ilp32 patchset. For consistency, SET_PERSONALITY is changed here accordingly. Signed-off-by: Andrew Pinski Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner Signed-off-by: Yury Norov Reviewed-by: David Daney --- arch/arm64/include/asm/elf.h | 13 +++++++++++-- arch/arm64/include/asm/is_compat.h | 30 ++++++++++++++++++++++++++++-- arch/arm64/include/asm/thread_info.h | 2 ++ 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/arch/arm64/include/asm/elf.h b/arch/arm64/include/asm/elf.h index 6a9049b..f259fe8 100644 --- a/arch/arm64/include/asm/elf.h +++ b/arch/arm64/include/asm/elf.h @@ -142,7 +142,11 @@ typedef struct user_fpsimd_state elf_fpregset_t; */ #define ELF_PLAT_INIT(_r, load_addr) (_r)->regs[0] = 0 -#define SET_PERSONALITY(ex) clear_thread_flag(TIF_32BIT); +#define SET_PERSONALITY(ex) \ +do { \ + clear_thread_flag(TIF_32BIT_AARCH64); \ + clear_thread_flag(TIF_32BIT); \ +} while (0) /* update AT_VECTOR_SIZE_ARCH if the number of NEW_AUX_ENT entries changes */ #define ARCH_DLINFO \ @@ -183,7 +187,12 @@ typedef compat_elf_greg_t compat_elf_gregset_t[COMPAT_ELF_NGREG]; ((x)->e_flags & EF_ARM_EABI_MASK)) #define compat_start_thread compat_start_thread -#define COMPAT_SET_PERSONALITY(ex) set_thread_flag(TIF_32BIT); +#define COMPAT_SET_PERSONALITY(ex) \ +do { \ + clear_thread_flag(TIF_32BIT_AARCH64); \ + set_thread_flag(TIF_32BIT); \ +} while (0) + #define COMPAT_ARCH_DLINFO extern int aarch32_setup_vectors_page(struct linux_binprm *bprm, int uses_interp); diff --git a/arch/arm64/include/asm/is_compat.h b/arch/arm64/include/asm/is_compat.h index 8dba5ca..7726beb 100644 --- a/arch/arm64/include/asm/is_compat.h +++ b/arch/arm64/include/asm/is_compat.h @@ -45,18 +45,44 @@ static inline int is_a32_compat_thread(struct thread_info *thread) #endif /* CONFIG_AARCH32_EL0 */ +#ifdef CONFIG_ARM64_ILP32 + +static inline int is_ilp32_compat_task(void) +{ + return test_thread_flag(TIF_32BIT_AARCH64); +} + +static inline int is_ilp32_compat_thread(struct thread_info *thread) +{ + return test_ti_thread_flag(thread, TIF_32BIT_AARCH64); +} + +#else + +static inline int is_ilp32_compat_task(void) +{ + return 0; +} + +static inline int is_ilp32_compat_thread(struct thread_info *thread) +{ + return 0; +} + +#endif /* CONFIG_ARM64_ILP32 */ + #ifdef CONFIG_COMPAT static inline int is_compat_task(void) { - return is_a32_compat_task(); + return is_a32_compat_task() || is_ilp32_compat_task(); } #endif /* CONFIG_COMPAT */ static inline int is_compat_thread(struct thread_info *thread) { - return is_a32_compat_thread(thread); + return is_a32_compat_thread(thread) || is_ilp32_compat_thread(thread); } diff --git a/arch/arm64/include/asm/thread_info.h b/arch/arm64/include/asm/thread_info.h index e12411f..680aca5 100644 --- a/arch/arm64/include/asm/thread_info.h +++ b/arch/arm64/include/asm/thread_info.h @@ -122,6 +122,7 @@ static inline struct thread_info *current_thread_info(void) #define TIF_RESTORE_SIGMASK 20 #define TIF_SINGLESTEP 21 #define TIF_32BIT 22 /* AARCH32 process */ +#define TIF_32BIT_AARCH64 23 /* 32 bit process on AArch64(ILP32) */ #define _TIF_SIGPENDING (1 << TIF_SIGPENDING) #define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) @@ -133,6 +134,7 @@ static inline struct thread_info *current_thread_info(void) #define _TIF_SYSCALL_TRACEPOINT (1 << TIF_SYSCALL_TRACEPOINT) #define _TIF_SECCOMP (1 << TIF_SECCOMP) #define _TIF_32BIT (1 << TIF_32BIT) +#define _TIF_32BIT_AARCH64 (1 << TIF_32BIT_AARCH64) #define _TIF_WORK_MASK (_TIF_NEED_RESCHED | _TIF_SIGPENDING | \ _TIF_NOTIFY_RESUME | _TIF_FOREIGN_FPSTATE)