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 5D66A38B7CD; Fri, 3 Jul 2026 09:39:32 +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=1783071573; cv=none; b=eYD7OsIm5PA4U2oB4QdqE2cMYr8AXV+qSCEaMMeoLrai7yxlIFZwUWgJNXwIXH1ndxDq5hsZ/9VrDR6FBHNuIXR2rw4uwCXPxtm+3/L4nG5cVwjBglkzV5Hamwm32aqeE9tSGgBjZUgcc3ZN7JJhWtyJxy3kIcQpHVx/9D6WqWk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783071573; c=relaxed/simple; bh=P2Hi93UwrkxuXH1zjNdfdKKjqBU0moxWBJAv6CyymBg=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=nRYiMuTVvP5O65ZxZ6NX1r9n8LYn8LQb9ZQ6Pv1p9CMwIjognCg5sHleHbH62rO0DdWiDbSkeOLAitxOZLvPDJhwPRPrmXSP48koXEozqwrgjG9/nxbKiWavUP1zKwkMX7RLFw481fwDjOehNA/XaQPKLSNvB8PaHjHPniynrHA= 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=YOpkDxcE; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=eMt5ppmh; 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="YOpkDxcE"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="eMt5ppmh" Date: Fri, 03 Jul 2026 09:39:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1783071565; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CX9+iOiDPAQwZ1HBbRSNLm3iJrUcN5mMdAzHh0F4pCo=; b=YOpkDxcEBLX041IdgGTJohyoXNERRzUtJYBHC21phQZL7Uu38hPrUFufim2zI7QOxmxJpC mT5yBSEi6BWw9wjvpHVYKOhkY22MSP8T1udY57yyVHQFtjMppfHYhzSCo0jLUCAVZnnVFm NwxnT0HdJk44fuBx66cO4b7pcq8bNy5yOWZz1pJoNUj4BMiOdzhFthyvLwQjptnkj5+5wo cEATH2qNXaUVfZgT8AxbvCH9H9mBF0O2gZvJG1wu3ru+GL5qibYobAql2kYgGmM+V82OO3 kJnE1yEcKDPEEBrGBaI4CJgAEjRHW9CkbbewLKQInEg6wcFuArwGN6EcqxWxzA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1783071565; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CX9+iOiDPAQwZ1HBbRSNLm3iJrUcN5mMdAzHh0F4pCo=; b=eMt5ppmh9oSSoRRESExnlQdpfiajpdL+jqYQzrzfbbBl5ALTLMcv4K2XEiiF8VYSuyQQwW P57Oa12c9PjCCTBQ== From: "tip-bot2 for Juergen Gross" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/msr] x86/olpc: Stop using 32-bit MSR interfaces Cc: Juergen Gross , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260629060526.3638272-29-jgross@suse.com> References: <20260629060526.3638272-29-jgross@suse.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178307156299.3843924.3842512988420369622.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/msr branch of tip: Commit-ID: 2db442843e4e8ec468842306f7c9a83a595c430f Gitweb: https://git.kernel.org/tip/2db442843e4e8ec468842306f7c9a83a595= c430f Author: Juergen Gross AuthorDate: Mon, 29 Jun 2026 08:05:19 +02:00 Committer: Ingo Molnar CommitterDate: Fri, 03 Jul 2026 11:33:59 +02:00 x86/olpc: Stop using 32-bit MSR interfaces The 32-bit MSR interface rdmsr() is planned to be removed. Use the related 64-bit variant instead. Signed-off-by: Juergen Gross Signed-off-by: Ingo Molnar Link: https://patch.msgid.link/20260629060526.3638272-29-jgross@suse.com --- arch/x86/platform/olpc/olpc-xo1-sci.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/x86/platform/olpc/olpc-xo1-sci.c b/arch/x86/platform/olpc/o= lpc-xo1-sci.c index 30751b4..97eb473 100644 --- a/arch/x86/platform/olpc/olpc-xo1-sci.c +++ b/arch/x86/platform/olpc/olpc-xo1-sci.c @@ -311,12 +311,13 @@ static int xo1_sci_resume(struct platform_device *pdev) =20 static int setup_sci_interrupt(struct platform_device *pdev) { - u32 lo, hi; + u64 msr; + u32 lo; u32 sts; int r; =20 - rdmsr(0x51400020, lo, hi); - sci_irq =3D (lo >> 20) & 15; + rdmsrq(0x51400020, msr); + sci_irq =3D (msr >> 20) & 15; =20 if (sci_irq) { dev_info(&pdev->dev, "SCI is mapped to IRQ %d\n", sci_irq); @@ -324,8 +325,8 @@ static int setup_sci_interrupt(struct platform_device *pd= ev) /* Zero means masked */ dev_info(&pdev->dev, "SCI unmapped. Mapping to IRQ 3\n"); sci_irq =3D 3; - lo |=3D 0x00300000; - wrmsrq(0x51400020, lo); + msr |=3D 0x00300000; + wrmsrq(0x51400020, msr); } =20 /* Select level triggered in PIC */