Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp557560pxy; Fri, 30 Apr 2021 10:58:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9vERP8lBCCNp8FQlaUkglhfJqnn4yz1idx256gqsZNeOlQDIXT/0/UKflkwyMXvWHEsiy X-Received: by 2002:a62:3344:0:b029:28c:6f0f:cb90 with SMTP id z65-20020a6233440000b029028c6f0fcb90mr4203231pfz.58.1619805521187; Fri, 30 Apr 2021 10:58:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619805521; cv=none; d=google.com; s=arc-20160816; b=YJt4TPQU0Vv1vz62oFsiSAR5yG9EspFB0TIZtSxHEdyeMbvBXCDtqq2eMmu36BzsJ8 0dPbpMNJAmfWcJ/jOg1fZ9+8g8TxIrgkUXoMJXRE6KiDu4J1NjBl8ZenCxF30annQwKT 6OTdkMYN0FmVuBr30VaYM1sTI6/8nxUJLUfIU2n+fTJclllTCGWAhvjS8Kt0fE5R31Fj U+OcGAkOZ35DJ5gg1pJNUSdoqGzsAYmC+COEqPnGVXFsmiKNCza9a5MuoegWfegFF0Hw tNMGB2dc6cBzxl69bz3Co86oxOBzFstAb+S5TbVSVl/qXOv5QS+dci0TRyJ3ZlqzsyyT 6E4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=M8kXqwUZwR4Ih5qcJDxJUl0ZXQojHb6TTt7fSqXPErc=; b=SJONt87mzKm2qkfJbfnMaA2KcVYNykT7p30yLes53lZvOE8nSpY9jAflQRecjoi8Nd kFb34Dp2kVAep12MCxMtA2mXX9OCPllBl1BRYWcKjf3Q/wNLHIwVWnBmdRDPrfyLWsyt UY679GSq0NdfKXNb3ZcjInM14IrtZ+m0k1mVtm9xtU8OX6dCHGrFdf23foLlrwfuSoCQ EAGXnnPDScliOQIyKJbZiGpScH252eauoABgUkVM7se8wbR2lrZX6TTFNGTUqYRcfl2z sL5voW97f6uqej9BCtB3qxHykgvzvdgi254wTA0q+ya8PhuVfqpKWDzWOcCgA7+oz67k uqHA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si3734362plg.84.2021.04.30.10.58.28; Fri, 30 Apr 2021 10:58:41 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231146AbhD3R6p (ORCPT + 99 others); Fri, 30 Apr 2021 13:58:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:43620 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229954AbhD3R6o (ORCPT ); Fri, 30 Apr 2021 13:58:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 285A961449; Fri, 30 Apr 2021 17:57:55 +0000 (UTC) From: Catalin Marinas To: Bill Wendling , linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , Kees Cook , Will Deacon , linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64/vdso: Discard .note.gnu.property sections in vDSO Date: Fri, 30 Apr 2021 18:57:53 +0100 Message-Id: <161980533328.3085.7369684692351119549.b4-ty@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210423205159.830854-1-morbo@google.com> References: <20210423205159.830854-1-morbo@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Apr 2021 13:51:59 -0700, Bill Wendling wrote: > The arm64 assembler in binutils 2.32 and above generates a program > property note in a note section, .note.gnu.property, to encode used x86 > ISAs and features. But the kernel linker script only contains a single > NOTE segment: > > PHDRS > { > text PT_LOAD FLAGS(5) FILEHDR PHDRS; /* PF_R|PF_X */ > dynamic PT_DYNAMIC FLAGS(4); /* PF_R */ > note PT_NOTE FLAGS(4); /* PF_R */ > } > > [...] Applied to arm64 (for-next/core). Thanks Bill and Szabolcs for clarifying the need for this patch. [1/1] arm64/vdso: Discard .note.gnu.property sections in vDSO https://git.kernel.org/arm64/c/388708028e69 -- Catalin