Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp144436lqb; Tue, 28 May 2024 11:07:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUA6vKpjFzQqo+R5rL9IQqGqWFIOUCx15bRcU8tc62+jYr5ohvbujBtcjSZ3p1hCqIM2nWe4KoXg0qVyEABkPZM6rlmrh/KitTtSvR7RA== X-Google-Smtp-Source: AGHT+IFEnGDGg7BZGsxZgcLGOZhZRqeQKuWyrjLmG7noH8epgbhDCECOkl7V2MLpklOIV0moSmP6 X-Received: by 2002:a05:6a20:320b:b0:1af:cb89:15d7 with SMTP id adf61e73a8af0-1b212d42ee3mr10597755637.27.1716919635224; Tue, 28 May 2024 11:07:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716919635; cv=pass; d=google.com; s=arc-20160816; b=V3/J9Hm9rYh7kRRiKmmtVOZqeBYl+8zjDZhjDT05yLp2c88ABdPrYvBIwdaW299QOX xSvvJScqequTold3QDRlqdqDu+iOCHaA17hzK9uVzUDWYEg8c8ukAVwIYgOkdZ9BzCbp RtLPeUMycUnyXFYoH2dVpvObkQl+zVETQKWRmwMDr1w+c+E5dxM8vo33gKQooFgfeIYE clYWiL4rnLFkJV5F6/gpi967n3QwrCRtL+F8ORM8aH739/2BmHcQtf4GUFao1zJkRDEn izpykU1/u3s0yK7OHAbAaTfhJ3q5ZpWhXPxcgFvvwObxflnSOO4Po7fa8AP7Yt3OF7Gs Eh3Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:cc:subject:to:reply-to:sender:from:dkim-signature :dkim-signature:date; bh=V5K6vVk5IN24s1UzTbyLTePN4kT77iSBjP/YyjG075c=; fh=DQ3+/6nLiWhhPmgexvFrFlcfPCyQNiTdkjeQUJFeojs=; b=og6u06IyfDLLW2rw/OqpYrFAYQdhNKri2B6dF7zIYGPpu0hhL+aTkfBK/NQMMY/RAV 7BCW2kqGNa6YDocTBA5s9uhGmDv0/lM4pWltgU/j6j22SBfNa+bbAF9W3hKbJscpVPsn DptUXXZ8mY8Rwcd8Oyu6HrNNC9a+E5dxsQVv7MsmOwWlQUGx0W0tjWedchAxK4CL68+D eZwGBoUbB4+wO1ooEv9gd+YC2m0P+IW6oRkFPlxsAo5aMiwEOhslDkWfn/S6t2H+Gnbt J02bkqVQFLPIQ7Mk6of1ptAvdrRGdF3QPakB1bpUKvW0FtQkO182IleUHTpjDvmUj3e5 5eRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=qaHC8dMy; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-192846-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fcfd803asi8575616b3a.183.2024.05.28.11.07.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 11:07:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192846-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=qaHC8dMy; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-192846-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 78A1E287192 for ; Tue, 28 May 2024 18:06:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E769A17556A; Tue, 28 May 2024 18:05:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="qaHC8dMy"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="3ThEQsPy" 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 426E817082B; Tue, 28 May 2024 18:05:11 +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=1716919513; cv=none; b=Qaphpd5WVp4DqUBDAts7zQp7NEnwTwUzYXh3B2QJwPBDMflcogNUa2uZNM6XkCgBpe1vQazyIXouQ9wS+z41YbY8lXWEsgDp0Sbek2+09T9Ykq/JNqqc2sDlSlcbNOl/3918uZUtMQPt5KiT9PZFRjwumceeGN+NWmzu4Akmrmo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716919513; c=relaxed/simple; bh=xw3dqRvKipl4kEur8cFjgd8oD2SF2xa6dmTmSO/FZeI=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=U/1HVz/4b0iBc4g0fgDjg83jx1Lor9uC6CS+egV1RS3uq8FoMeV5kO1meWa5duykH2jbNkCL9lf1if7hCLy7F8kjubPx5I382mtXVzGwuwIGsj0YKzU25o4ypAtCjBoKw8OuoGuz9H9pNHLEIyqYNFYw/jPFKzxOZumGaLw3ZGk= 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=qaHC8dMy; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=3ThEQsPy; 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 Date: Tue, 28 May 2024 18:05:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1716919508; 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; bh=V5K6vVk5IN24s1UzTbyLTePN4kT77iSBjP/YyjG075c=; b=qaHC8dMyTImbr7QOHGLT2+yznKfzSYI1kwjt1JH5fzkke93K7wirTiVhnOls3mZpk5MhZE QFH5whWE0Bx/1G7J1ZarTD13ACW0U585YHeozWKnV5Sp9FMrdWZHdLGGV/QupSUAc/7V+q XaEhDSzKsk2woJUfi7MKVEwfY04Mp05uzGKzGxyIdjWllHL1ibp0JhuVxJUjDXOohU0AG+ bEyHfGjftNHRapGJFJORLzE84hAXQjJxxTuyH+IegYHUzdfhUYIhysbCf2c32UECwWvnSl 19vx10Y/dslqDT5FUT8AnzqxeQfV047WMSibslfA7PR0huyEe2Ea8JGnjj7fgA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1716919508; 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; bh=V5K6vVk5IN24s1UzTbyLTePN4kT77iSBjP/YyjG075c=; b=3ThEQsPyQRscts6AHKcTnuMg6okONbzfEalB3h5+F4S86iUrniLKilBhNPm8jU9d/wpTcb jz1it68E9j/YHABQ== From: "tip-bot2 for Tony Luck" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cpu] x86/platform/intel-mid: Switch to new Intel CPU model defines Cc: Tony Luck , Dave Hansen , Andy Shevchenko , x86@kernel.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171691950792.10875.1205586224750520432.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: 7bit The following commit has been merged into the x86/cpu branch of tip: Commit-ID: 2cf615a4519b29a3ad283883d7638279ec1e6b44 Gitweb: https://git.kernel.org/tip/2cf615a4519b29a3ad283883d7638279ec1e6b44 Author: Tony Luck AuthorDate: Tue, 21 May 2024 09:10:01 -07:00 Committer: Dave Hansen CommitterDate: Tue, 28 May 2024 10:59:02 -07:00 x86/platform/intel-mid: Switch to new Intel CPU model defines New CPU #defines encode vendor and family as well as model. N.B. Drop Haswell. CPU model 0x3C was included by mistake in upstream code. Signed-off-by: Tony Luck Signed-off-by: Dave Hansen Acked-by: Andy Shevchenko Link: https://lore.kernel.org/all/20240521161002.12866-1-tony.luck%40intel.com --- arch/x86/platform/intel-mid/intel-mid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/platform/intel-mid/intel-mid.c b/arch/x86/platform/intel-mid/intel-mid.c index 7be71c2..f83bbe0 100644 --- a/arch/x86/platform/intel-mid/intel-mid.c +++ b/arch/x86/platform/intel-mid/intel-mid.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -55,9 +56,8 @@ static void __init intel_mid_time_init(void) static void intel_mid_arch_setup(void) { - switch (boot_cpu_data.x86_model) { - case 0x3C: - case 0x4A: + switch (boot_cpu_data.x86_vfm) { + case INTEL_ATOM_SILVERMONT_MID: x86_platform.legacy.rtc = 1; break; default: