Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3807678ybi; Tue, 18 Jun 2019 06:52:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPCGzQnOWrIMO7h91VVDkEfJcq29HAg2IvjL9/tKidlqATtImBWpDv4hC2QW2ipMxmpF4T X-Received: by 2002:a17:90a:8d0c:: with SMTP id c12mr5114715pjo.140.1560865959142; Tue, 18 Jun 2019 06:52:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560865959; cv=none; d=google.com; s=arc-20160816; b=npDaSAbeZfh5eUgag2AUQyrTVA117DVic03O79Ghpr5/PqZisDHDocd3Kr/0Bv5rXg eEfQ+R88bIkvQ4gGD95UxzKhOQaXDqjB9ynlwoyhwO16Dp1HO9amc+Us50rHyeOooYMH iOATDwL+AmYPX2FEaWr/dCCp4ALM83jj+Qf77QmVA3tspPgi6kqG1MtHU0zyguw23Ea/ adgZl5YSoJD46TXW9tV7zcUqRnzVvStE4ESIXS8L1M/x1FjUD71tBzq6oBwmMvmKloJT M5pvIETYDQytLdv0ZqRYEnRdhOJUeMl5fMfSMXxWJHggA1M20Egv711RenCSMFQ95AOC RJRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9Y1wNRt/gVQ6Bs+6MkXLcslvM9xAU4p5aLpJwTND6Nc=; b=jep4hastdPf7OeRW5IyYgVzL52faFuAfaLvPdSGoSEDFEF63S2Ekmb1YpwvesAMP5B IVGBG3d8vc6Fa86aJSALG2BX2daep8JZhAUzFayTqILwLr+5jLELIXjftEjFXwGmXC2N dxN/BfC2HTFRetSWGcSm3hGjYNEPrw+CaLPcEAt1jsy40JyXDdz/a43fxPf0ZJDpIH3/ FDmfZ9awoY9YHtmrrnqmRC2zRe1HfeiHa9Kzi0ZSl51fX11r5+f2I8jNJ9thoZhQIE5x dflsKvBGfRQUWdQoSCY2CQWkp0BoJIXN8j8ZPSpjEvVxXod6y7HdTgwEcHwlKX0I3JQ4 UT9Q== 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 s23si2329656pji.52.2019.06.18.06.52.22; Tue, 18 Jun 2019 06:52:39 -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 S1729020AbfFRNuv (ORCPT + 99 others); Tue, 18 Jun 2019 09:50:51 -0400 Received: from foss.arm.com ([217.140.110.172]:42176 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726248AbfFRNuu (ORCPT ); Tue, 18 Jun 2019 09:50:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CC7CD2B; Tue, 18 Jun 2019 06:50:49 -0700 (PDT) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 412343F718; Tue, 18 Jun 2019 06:50:48 -0700 (PDT) Date: Tue, 18 Jun 2019 14:50:46 +0100 From: Will Deacon To: Anisse Astier Cc: Dave Martin , linux-arm-kernel@lists.infradead.org, Catalin Marinas , Kristina Martsenko , Richard Henderson , Mark Rutland , linux-kernel@vger.kernel.org, Rich Felker , "Dmitry V . Levin" , Ricardo Salveti , Sasha Levin Subject: Re: [PATCH v3 2/2] arm64/sve: should not depend on Message-ID: <20190618135046.GH31041@fuggles.cambridge.arm.com> References: <20190617084545.GA38959@anisse-station> <20190617132222.32182-1-aastier@freebox.fr> <20190617132222.32182-2-aastier@freebox.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190617132222.32182-2-aastier@freebox.fr> User-Agent: Mutt/1.11.1+86 (6f28e57d73f2) () Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 17, 2019 at 03:22:22PM +0200, Anisse Astier wrote: > Otherwise this will create userspace build issues for any program > (strace, qemu) that includes both (with musl libc) and > (which then includes ), like this: > > error: redefinition of 'struct prctl_mm_map' > struct prctl_mm_map { > > See https://github.com/foundriesio/meta-lmp/commit/6d4a106e191b5d79c41b9ac78fd321316d3013c0 > for a public example of people working around this issue. > > Copying the defines is a bit imperfect here, but better than creating a > whole other header for just two defines that would never change, as part > of the kernel ABI. > > This patch depends on patch "arm64: ssbd: explicitly depend on > " for kernel >= 4.18 > > Fixes: 43d4da2c45b2 ("arm64/sve: ptrace and ELF coredump support") > Cc: stable@vger.kernel.org > Signed-off-by: Anisse Astier > --- > arch/arm64/include/uapi/asm/ptrace.h | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) I've pushed these two out to the arm64 fixes branch [1], with Dave's Ack on this one. Note that I reworked the commit messages a bit to explain better what's going on. Cheers, Will [1] https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/log/?h=for-next/fixes