Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp627991lqd; Wed, 24 Apr 2024 11:54:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUgQMEO9Q4WHQfhDsnVLHcjyoDbFuvxlC8atwzwM33/fBsqFba3rko3sXu7bVEgN8G2Y0ob+GaC+ZY6xnwFzyD1tuK/Cg9L0nPNL/4rJQ== X-Google-Smtp-Source: AGHT+IGNCZ15/6vYUU+74bcPR2Vhiqc8e5VEGKkk316f/qcdpYpImUK8PzReWbFkjSrP0uG+aYJx X-Received: by 2002:a17:90b:374f:b0:2ae:f95c:96b8 with SMTP id ne15-20020a17090b374f00b002aef95c96b8mr3010242pjb.15.1713984885962; Wed, 24 Apr 2024 11:54:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713984885; cv=pass; d=google.com; s=arc-20160816; b=PpiHVAW7iwXkACcHlJOvy8v71nYsl0eJUbAXfm/VlBbiePIH01PBeJLjGGr7/CZu22 16RDdz1sMKslx0yHyuKvVt87kq1teTlQ+AZk+2XwS2UAofwk2vTmNKBdf3lKetwoM40w CMn6+OBAXWnRqsKcenN1Dwwbq3R/TfjurZ5oYHxPo6b7otE501pxKT6Ha10kyQUr6d+i YVHDrvfn+1zhFzWYa6xCMzugl/IuHtk59hIOhvjnE4VLrykHoxBhksKTPb77mW5/FMGO q4dmDsPh2XnMcfFptN2AYkeNRB1HBRbP46xPwNMtdwMfsyl2ts8HCLaxcAHfsXhJ0rv/ Sl9Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=71dWW5kViUQc1+Uonkd4KjusJ5T6Mg+HB/LmpmLFfEs=; fh=rMUER6/6LDUD3IphtgJcluSYLmip6tPJI1NKc16IHHU=; b=m3gDWCF0VV8Y1W3vQWF7qybRPysbtzyVSPf0Rgx6hssxH1ZmJrayMagXX1uAKt+bXq B4IxmlNJZ3EdiWaLk6P7KEFoekXozmMSWoU+1xc2GtN9WvgwQLtvbbA/krE36vj741n4 7ypkfOO5KgILy16neSTeuD811zd4JNL9gFcxtM7kprhkiFOdzfqB5TNWE42R4on8PWJt H2hKwXSlXSLHg1cms1SHoQtGNdN4uiydSxYoJgvCrCndvNZSBD4gV8QdLufRPk3E+rfB g7FycyzLUf/N2OOnrEJaMH1wD0ZD8sE63NvfHVcP1piBXceK3fYGIPIUrXEpbKUFVBf/ OwMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZXVjhE63; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-157521-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157521-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g13-20020a17090a708d00b002a2ab60261fsi11813409pjk.95.2024.04.24.11.54.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 11:54:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157521-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZXVjhE63; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-157521-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157521-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 73ABFB2F51F for ; Wed, 24 Apr 2024 18:29:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19E0B210195; Wed, 24 Apr 2024 18:15:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ZXVjhE63" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (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 A8B6B20FAA7 for ; Wed, 24 Apr 2024 18:15:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982557; cv=none; b=kDkM4Yagt53vPIDBwgbapE0EPmEbewhRNJgZbOaU34h/06RJi1s7sAM0CKoQ3tJSJabICJih+CwcVFMKGaToE9kSqaeplcD/qYMM0jxaY6bwZSzfXst0hs4EDDV2lmzljZ42clHAWiU53hS1m/bOUjnF+M1KhG9bpQ5DUMpiOLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982557; c=relaxed/simple; bh=zirzD5gjQx1LhVNoHM15DovF6WfvcOF7SWq+fCxGhz4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZtE3hRgqZKBk/aVBZvQMXHpmABbxfGKxkFePidSH1ENgHqG4Hvm9EdZnZog1F9fdLlrTFz13TAO0HuPpulniOGwt2XctlAm4JOpuzHau8+39DcjT+4e/RC7O8mfXJu0gk0OdcnYKr6pQpiU009PIxAf39gCtWoWbtWHzcQEETpI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ZXVjhE63; arc=none smtp.client-ip=198.175.65.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713982553; x=1745518553; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zirzD5gjQx1LhVNoHM15DovF6WfvcOF7SWq+fCxGhz4=; b=ZXVjhE635U7ZVP8lIcD3fiuRFv4QsPLjqouMiZCp2Cc35Vik695qyBAv UnIeukHmkIJQG2I9X7bvx+bxz9WQdgUk19ciSfyv0zN7VHqu3NINlpEhu 0xQZaPZX8e/tYjvAqBo88wWUAajGjbOxwDPpi2dBrllms0X9KMkApdAtz Hjw/mCwJD2xU55gIB0YDmZZBajqjeJYL0JDfMRGGP6bt5HI6bjkF5fc8y D6cy2W+dC2bFWcDBHWmCR6oQE7S/SCpaQno+7hCttDbsHFsqSomzBWVve fdWQXy042sQp1rwULrHPui96txsufCrJoXXJ9DJwqC+gxgyOf8Fe7h2JE Q==; X-CSE-ConnectionGUID: SuCLdbz+S+ObMtRkb8fMMQ== X-CSE-MsgGUID: L6PQey4iSvmt0FJjTq/+kg== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="9756077" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="9756077" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:53 -0700 X-CSE-ConnectionGUID: 7y2dXEhIQLWfyjsTXUC4rw== X-CSE-MsgGUID: 8gEDJ61bT6SI6zGMF1H9aw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="24751206" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by orviesa009-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:54 -0700 From: Tony Luck To: Borislav Petkov , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org Cc: "H. Peter Anvin" , Tony Luck , linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: [PATCH v4 70/71] x86/cpu/vfm: Delete X86_MATCH_INTEL_FAM6_MODEL[_STEPPING]() macros Date: Wed, 24 Apr 2024 11:15:52 -0700 Message-ID: <20240424181552.42505-1-tony.luck@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240424181245.41141-1-tony.luck@intel.com> References: <20240424181245.41141-1-tony.luck@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit These macros have been replaced by X86_MATCH_VFM[_STEPPING]() Signed-off-by: Tony Luck --- arch/x86/include/asm/cpu_device_id.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/arch/x86/include/asm/cpu_device_id.h b/arch/x86/include/asm/cpu_device_id.h index cac33812c609..92b54e320294 100644 --- a/arch/x86/include/asm/cpu_device_id.h +++ b/arch/x86/include/asm/cpu_device_id.h @@ -187,26 +187,6 @@ #define X86_MATCH_VENDOR_FAM(vendor, family, data) \ X86_MATCH_VENDOR_FAM_MODEL(vendor, family, X86_MODEL_ANY, data) -/** - * X86_MATCH_INTEL_FAM6_MODEL - Match vendor INTEL, family 6 and model - * @model: The model name without the INTEL_FAM6_ prefix or ANY - * The model name is expanded to INTEL_FAM6_@model internally - * @data: Driver specific data or NULL. The internal storage - * format is unsigned long. The supplied value, pointer - * etc. is casted to unsigned long internally. - * - * The vendor is set to INTEL, the family to 6 and all other missing - * arguments of X86_MATCH_VENDOR_FAM_MODEL_FEATURE() are set to wildcards. - * - * See X86_MATCH_VENDOR_FAM_MODEL_FEATURE() for further information. - */ -#define X86_MATCH_INTEL_FAM6_MODEL(model, data) \ - X86_MATCH_VENDOR_FAM_MODEL(INTEL, 6, INTEL_FAM6_##model, data) - -#define X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(model, steppings, data) \ - X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(INTEL, 6, INTEL_FAM6_##model, \ - steppings, X86_FEATURE_ANY, data) - /** * X86_MATCH_VFM - Match encoded vendor/family/model * @vfm: Encoded 8-bits each for vendor, family, model -- 2.44.0