From patchwork Thu Jul 27 13:50:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Michalik X-Patchwork-Id: 1813781 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256 header.s=default header.b=CDhEhEg+; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RBXHJ2BxBz1ybX for ; Thu, 27 Jul 2023 23:51:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id E9E1641EF1; Thu, 27 Jul 2023 13:51:21 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org E9E1641EF1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1690465882; bh=tOoLacs746AXYtowd2GXib75CvPgAS+XE6YpMVSXdJM=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=CDhEhEg+d+93eev4MjHbg+nQdOPeq7Q+EnuchCKrI6DiHnX81FEKtg6azSa5tt8lP aO2ChNzcaBOsTUsymur1P/325hLanOEvE/twGvRQ51CJbwKKATHFgtNgLMbvfiEwdJ tT56TRzMjIC7fqKnxm8wDWVSsC9iTDKI2SE2zlZBR3CaW9eB5/kHHnwsvIskWStemz SVfSzE9HGGMMddDgsi82B3Px+OCPT5RRPkU3n0H2gDPJTBUX9RTK5LWOAUECPpB5CG EEvc49O9Tbw1rgrh4Gkh3tjZf2ddv3dkzZnGTSVV1LBkIiN4HuyGfpBQT/8Url1UMp vlxwRflIo0iPQ== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XnJMpmqltcbX; Thu, 27 Jul 2023 13:51:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id C7F9A41D62; Thu, 27 Jul 2023 13:51:20 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org C7F9A41D62 X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id AD0461BF429 for ; Thu, 27 Jul 2023 13:51:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 793C740217 for ; Thu, 27 Jul 2023 13:51:19 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 793C740217 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x_nmLRvlQJiC for ; Thu, 27 Jul 2023 13:51:18 +0000 (UTC) Received: from mgamail.intel.com (unknown [192.55.52.88]) by smtp2.osuosl.org (Postfix) with ESMTPS id 8C0C8400D0 for ; Thu, 27 Jul 2023 13:51:18 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 8C0C8400D0 X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="399249083" X-IronPort-AV: E=Sophos;i="6.01,235,1684825200"; d="scan'208";a="399249083" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2023 06:51:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="730271408" X-IronPort-AV: E=Sophos;i="6.01,235,1684825200"; d="scan'208";a="730271408" Received: from mmichali-devpc.igk.intel.com ([10.211.235.239]) by fmsmga007.fm.intel.com with ESMTP; 27 Jul 2023 06:51:15 -0700 From: Michal Michalik To: intel-wired-lan@lists.osuosl.org Date: Thu, 27 Jul 2023 15:50:33 +0200 Message-Id: <20230727135037.28472-1-michal.michalik@intel.com> X-Mailer: git-send-email 2.9.5 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690465878; x=1722001878; h=from:to:cc:subject:date:message-id; bh=Ajs7wbk7OK+CpaROsNoEzDYO+/opqhqZNrDqF5DNyu0=; b=nze/5E2hy0bLk7Xm9rgtkwoZC6E3gJZ/ThAL/2EYJLmzrEraHRytC4xy pvqWEp8bPGZUUoaNrz9AYA1PeCDMZ+vlQMSB611RPbSTLlNHCSPalnS9t B+0QYt5y+bUh687gQA6DR2uij4NDhOO+50eA1jsVXcpsx6NDtHVBerKxA AKN1NFcr4BlqQ+HS4ybc1OWd8x3BTf6dFVhAaeTroQ04+H9cWV+uunUfs DJg+bV5yP/Kjkf6+m3nN5ic2QzMqgwmScOYvf4FrHH7lXOuCyVTKQEvkg aYN2n6AroJYikk3z2dVJd84JFAWkfeoJIdQScAMBCZIWUPIJTSrTHsv/9 w==; X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=nze/5E2h Subject: [Intel-wired-lan] [PATCH iwl-next v3 0/4] ice: add PTP auxiliary bus support X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: karol.kolacinski@intel.com, anthony.l.nguyen@intel.com, jesse.brandeburg@intel.com MIME-Version: 1.0 Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" Auxiliary bus allow exchanging information between PFs, which allows both fixing problems and simplifying new features implementation. The auxiliary bus is enabled for all devices supported by ice driver. Michal Michalik (4): ice: Auxbus devices & driver for E822 TS ice: Use PTP auxbus for all PHYs restart in E822 ice: PTP: add clock domain number to auxiliary interface ice: Remove the FW shared parameters drivers/net/ethernet/intel/ice/ice.h | 14 + drivers/net/ethernet/intel/ice/ice_adminq_cmd.h | 10 - drivers/net/ethernet/intel/ice/ice_common.c | 75 --- drivers/net/ethernet/intel/ice/ice_common.h | 6 - drivers/net/ethernet/intel/ice/ice_ethtool.c | 2 +- drivers/net/ethernet/intel/ice/ice_hw_autogen.h | 1 + drivers/net/ethernet/intel/ice/ice_main.c | 11 +- drivers/net/ethernet/intel/ice/ice_ptp.c | 578 +++++++++++++++++------- drivers/net/ethernet/intel/ice/ice_ptp.h | 41 +- 9 files changed, 486 insertions(+), 252 deletions(-)