From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB7EA1DACB8; Mon, 7 Oct 2024 16:23:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728318207; cv=none; b=mSTlWq/wpUGJIbgSY2jMF/tv2G8Ya3gTHNS7MlnGYGQTimzZ4X9VqJBKLPlCFeNgQxsD68+1WaVNjcjDcQNzSmOYafxt6rPzgvRmvStHcoksZFlj9M06usXHQDjse3HPMGmLLbN9Gnp2RxhsW8B5g66dX3xwTo87+j39L+AbFOE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728318207; c=relaxed/simple; bh=V/wk71YSCOsTnCtjtFRhlhTXAerN+DojnzFJFUflydQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=t5uDLHjUoLJkOx2lN7iMPaBVSXRlIDbKLKDO9u29juWRDouSSIex57gAEVwa44iftyMjiBO8nTyQh1MfaCSDg2VvOk0G1Gl6Z5apIW+YY9imTphFDmgU6ErdfGY0IEViS7zwaf08TT1dFgx3zSNmhvlzLo5R7ULi5FFJY33WP34= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=bAljJiq/; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=T/w33dW1; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="bAljJiq/"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="T/w33dW1" From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1728318203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=08gpLZIQ7p4jdD4DEwn8TcM+sfVMrDVV+V/DOQfsZFo=; b=bAljJiq/QQ+6nLdhbbpFyk0eBF5tboP9vCt8om8W898N/K6eh3/ccTrYO9U//SYQIzXWgp 9uuw8uGkhVpT12jgFWpANbErRAxedxwFkhP/atufIuOptgf240yNziy0p0TOc5regptLqH jVUh50SUeMP/gnUAYAWbGf5m+qlN2aeDQua1F/ovxdLhm1psfkqJ6XxrpSX0NEoHJsXmdJ kq40/tg45KsjXfXVWQE6OIEvWD5x6F1xXxoS1qK2yS1TegCiYaB5Cco/ktfmX+Uy6HCRMr uhsvlbY+PcG7dVfT2gXl1rwTMasvMRmiDYFGwJmQSTYPn73tddt6iz66PxpmRA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1728318203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=08gpLZIQ7p4jdD4DEwn8TcM+sfVMrDVV+V/DOQfsZFo=; b=T/w33dW173mBy1qkC8IOKCxMl3ipPYQnGNAGNZF5cJxJDUh29K++Eya288cyd3xG5KJteU Y7ynaEarCP6iR2CA== To: Arnd Bergmann , Vincenzo Frascino , linux-kernel@vger.kernel.org, Linux-Arch , linux-mm@kvack.org Cc: Andy Lutomirski , "Jason A . Donenfeld" , Christophe Leroy , Michael Ellerman , Nicholas Piggin , Naveen N Rao , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Theodore Ts'o , Andrew Morton , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers Subject: Re: [PATCH v3 2/2] vdso: Introduce vdso/page.h In-Reply-To: <423e571b-3ef6-4e80-ba81-bf42589a4ba8@app.fastmail.com> References: <20241003152910.3287259-1-vincenzo.frascino@arm.com> <20241003152910.3287259-3-vincenzo.frascino@arm.com> <423e571b-3ef6-4e80-ba81-bf42589a4ba8@app.fastmail.com> Date: Mon, 07 Oct 2024 18:23:23 +0200 Message-ID: <87ldyzubk4.ffs@tglx> Precedence: bulk X-Mailing-List: linux-arch@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Fri, Oct 04 2024 at 13:13, Arnd Bergmann wrote: > On Thu, Oct 3, 2024, at 15:29, Vincenzo Frascino wrote: >> The VDSO implementation includes headers from outside of the >> vdso/ namespace. >> >> Introduce vdso/page.h to make sure that the generic library >> uses only the allowed namespace. >> >> Note: on a 32-bit architecture UL is an unsigned 32 bit long. Hence when >> it supports 64-bit phys_addr_t we might end up in situation in which the >> top 32 bit are cleared. To prevent this issue this patch provides >> separate macros for PAGE_MASK. >> >> Cc: Arnd Bergmann >> Cc: Andy Lutomirski >> Cc: Thomas Gleixner >> Cc: Jason A. Donenfeld >> Signed-off-by: Vincenzo Frascino > > Looks good to me. I would apply this to the asm-generic > tree for 6.13, but there is one small detail I'm unsure > about: Please don't. We have related changes upcoming for VDSO which would heavily conflict. I rather take it through my tree. Thanks, tglx