From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.21 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796445729; b=3o3pT8+mKyLUHDt2ycLMnLLN9WdUTWNSgW9wQP9SyJw0kU9QRFQdMMA5MKOShpK1q5Zl bnZmtetqFV3xfrJ7Qb3oUa3BWqIhqf6k5N1tslse9CJ7bCk1UFday5q0yEiovArR0D7sV 3jLqzFkowMz3nh+8kHDQpcTah970+lG/l4YtpwQRD96dke7XVqsptOug0wtotrVvofoAk hK30crOQjT2WzGU0ThQ6wWcPq+IhjfPIB2Ir1RYNPbYjhtZJt8wQhxuF1nNNCL10lqLnU rEYG/WIqbd+EqaD63PbYacoF4cxuIZ5+tQK/Mv85wM3m3SyAB99yfTb8xIzyZL7/GNg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796445729; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Message-ID:Date: MIME-Version:User-Agent:Subject:To:Cc:References:Content-Language: From:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=f/35umQTKWOF/oYIv/WToz39hGFQF++DaHJFh73boRU=; b=XTU8cgV1GFQgsg+ZXvSb2eUi5BOSWNvrdixvbFgHeHF7EqQ31uI8y0JLa3qMhB6kI7xX NST1j/fwBN7Ca0KbeDuTExizir3lwGE6Y7mKTcVkP+Q+FJKdaJqoM6Cmb+tgDoNciJUeH jeffCfqV1x1MqBymEBs7SXlD/Y+BwLI0gGAURQA/iYQOpU+GHOOAJZ5Bb2ChD5R4NMq2+ zajDGU+Ebok1I0Ug2/bQMgVc2evi0cGfDGU89S58/NeizOdV/5U4hdaFf0EXubaft2QwX c8NoMSB0jNb/S3MUh3Fo9JrYVM7bH1/uYy2glXf49S1b40ffKEXDEPxqhSKD03p6i1w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=M8OPkzzB; arc=none smtp.remote-ip=198.175.65.21 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5EDDE606A322 for ; Sat, 5 Dec 2026 04:42:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5EDDE606A322 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=M8OPkzzB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796445728; x=1827981728; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=f/35umQTKWOF/oYIv/WToz39hGFQF++DaHJFh73boRU=; b=M8OPkzzB5FA0tZwH07MTZP+c2mjgpPnEJbn87vJFDINeZyITW3xOFeNi U1XxH0qa0yg0RZTujtCgdhnMq6SvUTkV95fJVHf0Yfw0RqgHyV7jTe5jG dhmeKRnw8huFKQXKwmnfL0IzDEnUOZCtkgU0TjP+SbVwR9hiFJfXLNZPl NpXden8PV5X+uku8zgUGi7FPXE7rU8YJstiSU4yI3grXCwMmJCOjfB888 Rf1AZ3qJ8AHePJzKQZIIkLhKxRNndNhF7ZxbeBcCLDS7msI3qD88dNQqB 873rZ/xiy7bOWz4Y88ZAZZU6G8pghTOB0zFoXrC1p9AjWlBjelCLNG/LX A==; X-CSE-ConnectionGUID: bJbp3+SuT/OeKCW0mPR3yA== X-CSE-MsgGUID: nstx6fjuRuSnBYuxphYdIw== X-IronPort-AV: E=McAfee;i="6800,10657,11986"; a="5531945" X-IronPort-AV: E=Sophos;i="6.29,79,1794902400"; d="scan'208";a="5531945" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 20:42:08 -0800 X-CSE-ConnectionGUID: a2QxJeZsROKW6UwDNKgRrQ== X-CSE-MsgGUID: 5Vi538ezRASGvjGmQ/TiKg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,79,1794902400"; d="scan'208";a="14796828" Received: from hjeisenb-mobl.amr.corp.intel.com (HELO [10.246.162.21]) ([10.246.162.21]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 20:42:07 -0800 Message-ID: <72c66792-262c-4a7c-bba4-dc2ba00f6740@intel.com> Date: Fri, 4 Dec 2026 22:42:06 -0600 X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 11/12] perf/x86/intel/uncore: Consolidate SKX, SNR and ICX PCI uncore ops To: sashiko-reviews@lists.linux.dev Cc: linux-perf-users@vger.kernel.org References: <20261205032253.258646-1-zide.chen@intel.com> <20261205032253.258646-12-zide.chen@intel.com> Content-Language: en-US From: "Chen, Zide" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/4/2026 9:53 PM, sashiko-bot@kernel.org wrote: > Thank you for your contribution! Sashiko AI review found 1 potential > issue to consider: > - [Low] perf/x86/intel/uncore: inaccurate prerequisite in commit message > rationale > -- > > commit 61c1c6333811b4a38a88e98d376bc02052ac4e9e > Author: Zide Chen > > perf/x86/intel/uncore: Consolidate SKX, SNR and ICX PCI uncore ops > > This commit switches the SKX UPI/M2M, SNR M2M and ICX UPI/M2M uncore > types to ivbep_uncore_pci_ops and drops their custom init_box callbacks > and ops structs. > >> Now that snbep_uncore_pci_enable_event() programs the upper dword and >> ivbep_uncore_pci_init_box() uses uncore_pci_box_ctl(), customized PCI >> ops for SKX, SNR and ICX become redundant with ivbep_uncore_pci_ops. > > [Severity: Low] > Is the reference to snbep_uncore_pci_enable_event() accurate here? > > All three removed ops structs (skx_upi_uncore_pci_ops, > skx_m2m_uncore_pci_ops, and snr_m2m_uncore_pci_ops) already used > snbep_uncore_pci_enable_event() before this change. > > What eliminated the remaining difference with ivbep_uncore_pci_ops was > moving the ctl_offs8 flag into struct intel_uncore_type in commit > "perf/x86/intel/uncore: Replace CTL_OFFS8 box flag with type flag", > together with ivbep_uncore_pci_init_box() using uncore_pci_box_ctl(). > You are right! The removed ops structs already shared snbep_uncore_pci_enable_event() with ivbep_uncore_pci_ops. The reference was an errant carryover from other patches in the series. I will update the commit log in v2.