Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp121069lqm; Mon, 10 Jun 2024 15:04:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWlHPwzWeYMho1FW2dPvS8GVGMuBg6TaMSXCsgbbQ2W9+mLZxPrirlsFZFDhd9y9d1rIo3//mTzBtIAkW1pitNRtRQSJlVdZGtNLa9pUw== X-Google-Smtp-Source: AGHT+IEzXm2XFfv04fu+NGM6jbxrSqyIn0bZJ2Y0JfZUs4C632QYeEp1UdBxvGMBvsqxrFcZ04yh X-Received: by 2002:a17:90a:9416:b0:2bd:d2f9:fa1e with SMTP id 98e67ed59e1d1-2c2bcc7b488mr11056514a91.43.1718057084953; Mon, 10 Jun 2024 15:04:44 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c2806bd615si10061774a91.101.2024.06.10.15.04.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 15:04:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208978-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aO+KWVFv; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-208978-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208978-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8FCC5281FEA for ; Mon, 10 Jun 2024 22:04:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CA3F14F13D; Mon, 10 Jun 2024 22:04:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="aO+KWVFv" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (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 4CD8D37143; Mon, 10 Jun 2024 22:04:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.15 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718057073; cv=fail; b=hycU+nDfouroK7OOn+ka3UH8j9US+1FDnAGy0KCfco1miCIS4MkYY0hQ8xhR1gI3dHXqlHCPLPXXN7zYab+rtzsUr3uhDewklB1X6j9S4DARzAAuGfdMUzNGVjVu47FO3HwBYpYyibeEeRcCgztTsnxhgrssuLfv1bPqLU99ug0= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718057073; c=relaxed/simple; bh=8hMNB887RgZ7LZbh0YEpdpDVxYUl1YhCAgqiyZLqSgY=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=FFKRIpCO61jAFy98y3/RU/k/YGQubvg7wItllLzj+5UT6HyoXthGrT4mOXPxlir2qkbeIhZdylrVM+GhGuqcQ8lZOfsBDe7RiXTSPcGK7NvwxX2zZaWYwKiIu6i8P+j3mJIFQc9neUId9P+YjNA8PvRABhvm49qHYxsRaRls74A= ARC-Authentication-Results:i=2; 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=aO+KWVFv; arc=fail smtp.client-ip=198.175.65.15 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=1718057072; x=1749593072; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=8hMNB887RgZ7LZbh0YEpdpDVxYUl1YhCAgqiyZLqSgY=; b=aO+KWVFvrszDTE+lxLJV4jqMkoKBu8qf0xW6I8u+DmKOUZwoSO+MHI9h ARgMFKYQuTbZgak3w93+yy0KT/4CJ+gG3nhXyBQsTzBgj8UPRbjremIti VyE1xP/qw4R/K/vnpNHCKDtKJ7/mD+E7E/4EW52NwnLgA7X8ENXLnaaj3 FT/pKfKHc+PUkflsquDRKU/m07yozGgHU0etJhnRuPSSAZo0A7g6iuzYS w8Nxc7TV2zkE00u7tX3AXrz/fxGCYjI1N+mk/jO0I0Wqy4RMT354oGHde YMu9MZeJ/YOxO4qB5gcu3RBsC3vV4b1z6swnk0lbTC0SKxjkk5B1BbJiB A==; X-CSE-ConnectionGUID: IJIvodtkTHW4oTup05q3Lw== X-CSE-MsgGUID: DtNC/lwcQ+KVnBs7AwS9oA== X-IronPort-AV: E=McAfee;i="6600,9927,11099"; a="18524993" X-IronPort-AV: E=Sophos;i="6.08,227,1712646000"; d="scan'208";a="18524993" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2024 15:04:11 -0700 X-CSE-ConnectionGUID: S3CpQLabRxyOtunomYz6ew== X-CSE-MsgGUID: ir634Y9STyyBFMTmMTif5w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,227,1712646000"; d="scan'208";a="39112543" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa006.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 10 Jun 2024 15:04:11 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 10 Jun 2024 15:04:10 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 10 Jun 2024 15:04:10 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Mon, 10 Jun 2024 15:04:10 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 10 Jun 2024 15:04:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PA+0wyuwh4ckIk9Fi4swinmMtCVVKwesbZDBbINFRHS59V16yj4psPsNEW25ZW0tWgnyWlfANtnTMLkCmK5Uf5ySExsl7FyIjIT4lRsbxxU8eKjBv5Iiv+s8sE+M5AVnouQFZNEBC4yvbFZkkOOBzmK9nqJGZSmZaDDTUy8iW31a49imrSKSBPev5pBMfzUiZP9GYCRfRgcgQjKwYrD2ii5qkquyIiV0dO8PZ7icrHvZpWuOHIO7patXONAwUjHCXRAnkgbVeVwLnupZHgMYY4VdIo9zjdcYhT2sKse9jmG8sHOZ3cyoiQTISYpPdnGWD6lh8NCYQBwWqe6aeaQN6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=R8gITsItvXghhbvNy8nGVNzmTRuoA57YXq5agEsfYPQ=; b=GANFgMYM63S9m6pcFzEnRIzdjN5Pkxo1YjOM6RIGuiwvlMNnAAI/yreYXlVn1utgnZeObylbOBETwIt/25l/7TTTTSbhN3wszvsqecr1IcJdxyaVD8pVuhKEK9xlvoyv4RKeJ4pqu634bYfa4E6WHTtMvCLISA+bBAJMlKfldHHrAgrEWFiClvxQtECdglzrjSGh/47mCh0UZIdT8Oeftx1mK2LLsb91TYZyGN1Aid+6dApsghuFVHXCAHW8aUNCk5GUdeGjsPUJ6mB0JWfS8XX8HKdTLqf49dODt3ZrtFkJRi9Iuegy4uNa1lVQqPVCQF5qcKx+Zl67v/Nk7zrv5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from CO1PR11MB5089.namprd11.prod.outlook.com (2603:10b6:303:9b::16) by DM4PR11MB7349.namprd11.prod.outlook.com (2603:10b6:8:106::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Mon, 10 Jun 2024 22:04:07 +0000 Received: from CO1PR11MB5089.namprd11.prod.outlook.com ([fe80::7de8:e1b1:a3b:b8a8]) by CO1PR11MB5089.namprd11.prod.outlook.com ([fe80::7de8:e1b1:a3b:b8a8%3]) with mapi id 15.20.7633.036; Mon, 10 Jun 2024 22:04:07 +0000 Message-ID: <4f2ec2fb-5d31-4a90-9ef6-a036d16a5cb4@intel.com> Date: Mon, 10 Jun 2024 15:04:06 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] igb: Add support for firmware update To: Richard chien , , , , CC: , , , , , Richard chien References: <20240609081526.5621-1-richard.chien@hpe.com> Content-Language: en-US From: Jacob Keller In-Reply-To: <20240609081526.5621-1-richard.chien@hpe.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MW4PR03CA0350.namprd03.prod.outlook.com (2603:10b6:303:dc::25) To CO1PR11MB5089.namprd11.prod.outlook.com (2603:10b6:303:9b::16) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR11MB5089:EE_|DM4PR11MB7349:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b6d6ee6-194f-4298-f01b-08dc89994002 X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|376005|366007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?K3lMQkhGU1dKb3d4N0paaGhhWndvV2NaVVlNVUlOQ2llS2pZNG84NXBPR25p?= =?utf-8?B?MlRya1hRblJGSzA3TEh4Z1ZQRDU5SUZobmZqRjNReVkwbjd6OWNBYlVaa0VQ?= =?utf-8?B?aHl1UEFha2ZhbmJGVzhxUC9oUmM5dldKa1V1OXRtdk1ZRURpZWU4c3hJYkpW?= =?utf-8?B?eThaNmtLN2NuK0o1Q2RIOWMwSlZqR1FHNkJ5OTJFNUdyR01pVFVBWmNCbzhn?= =?utf-8?B?b25tQXkvNVI1SzVwajhHY0JBU01YRkdMM1JNUi9SY3BwSWZMTHBDa01RNDNC?= =?utf-8?B?akI1UExKYUo2NnV0WldNQ3pqczJaZXdDVWFYb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RUM2bmxsT3lQRXlrSWorYzBvS2xZK3J1b2NlaTBFVVhPdkkraWVo?= =?utf-8?B?a3FFc2E2UGlSUk5qNHVYM3lKSE1qUmVZS0hTN0poYnNpdzNzK2NyK0w0TWpH?= =?utf-8?B?NFZPL3UzRXltRS83emU4QWZLTklzOTJtWEtxRldoS1o1RGpUSzViVGtPUEl1?= =?utf-8?B?NTRLSDVVb2JYb2d3RzB5OWordWdXdi9nOW1GYXZpMWV6bDdmVUZHQXg5SDR0?= =?utf-8?B?d2c2L3lCL29WM2k3SnRSSDVKRURINVpLaWEzWVhVQXRiTjFFdjhaREd5TEln?= =?utf-8?B?VEhFb1UzZk4wUnpPRTlZS1o5ZTlqK3pjb3RuU0xIK0tzSlN6MlFYMG9GWHov?= =?utf-8?B?aXVOVTJsQ1lvSjFWT2JFajlGanhaY1VrZzhBazFVZ0VuSXI3dERyT1hkMXk5?= =?utf-8?B?emhzQXhNZEVsMmxZcW9iMW9YVHVRSUpGS3JqTWlPeXFmVVA1alZWWno4bjl1?= =?utf-8?B?aEFSVXZnOU1QZGxTam16R2RGbUg0Tnl1UGdHaWluTXFnVTBTWElZcGhQOTI4?= =?utf-8?Q?kK4a1yr0g7ca3C/rws=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR11MB5089.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(376005)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QXZMbHhIK3dTV01vbStWMDBicnZmNWhoQ010ejhCWTRCd2tlbnpUakc1WWlZ?= =?utf-8?B?SlZwQytzZWJrdW53UWtFTnlUalU5ZW8vMUVmN2w4UERyWVVyL0w4UnR4WXd2?= =?utf-8?B?eStEU3I1Mm81SHdqYlhSckRRSFZlYTRUT2NuM3hUeUQrbWFLM25S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4cVM4RXlVbVlXZU9YY085dnMwOWhqbXh0aHA1QlFWN1hZUmhN?= =?utf-8?B?TzJLeDUyQ3BManp5VEF6VmJ4dXFyT1lJZlYrUkFKQ3dIbm5uSVl5YnQ4TjUv?= =?utf-8?B?TmtUVExpSXYzcjEvazVhcnN6WlBRZkVYTGtkN0ZPNDYyTEhUUm5nR3pmOTJ4?= =?utf-8?B?citRVzNiczA4dy9RS3F4MWpPQUx5QmlzSVlZcm1XV2Q2akNuM0hQbzVnYUl3?= =?utf-8?B?Qmc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 5b6d6ee6-194f-4298-f01b-08dc89994002 X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB5089.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2024 22:04:07.8076 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FAT47FQ7xyG6eYbbXpRhZxNrtegCyXjgxthnjUxN89Qkf2coaguay4gQMzEDAKFSYqkzaDdB5PSsjhMpXDE2LS/kIfDxXmHhqxKG7PiusUI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB7349 X-OriginatorOrg: intel.com On 6/9/2024 1:15 AM, Richard chien wrote: > This patch adds support for firmware update to the in-tree igb driver and it is actually a port from the out-of-tree igb driver. > In-band firmware update is one of the essential system maintenance tasks. To simplify this task, the Intel online firmware update > utility provides a common interface that works across different Intel NICs running the igb/ixgbe/i40e drivers. Unfortunately, the > in-tree igb and ixgbe drivers are unable to support this firmware update utility, causing problems for enterprise users who do not > or cannot use out-of-distro drivers due to security and various other reasons (e.g. commercial Linux distros do not provide technical > support for out-of-distro drivers). As a result, getting this feature into the in-tree igb driver is highly desirable. > > Signed-off-by: Richard chien The motivation to support updating flash with in-kernel drivers is good. > static int igb_set_eeprom(struct net_device *netdev, > + struct ethtool_eeprom *eeprom, u8 *bytes) > +{ > + struct igb_adapter *adapter = netdev_priv(netdev); > + struct e1000_hw *hw = &adapter->hw; > + u16 *eeprom_buff; > + void *ptr; > + int max_len, first_word, last_word, ret_val = 0; > + struct e1000_nvm_access *nvm; > + u32 magic; > + u16 i; > + > + if (eeprom->len == 0) > + return -EOPNOTSUPP; > + > + magic = hw->vendor_id | (hw->device_id << 16); > + if (eeprom->magic && eeprom->magic != magic) { > + nvm = (struct e1000_nvm_access *)eeprom; > + ret_val = igb_nvmupd_command(hw, nvm, bytes); > + return ret_val; > + } > + However, this implementation is wrong. It is exposing the ETHTOOL_GEEPROM and ETHTOOL_SEEPROM interface and abusing it to implement a non-standard interface that is custom to the out-of-tree Intel drivers to support the flash update utility. This implementation was widely rejected when discovered in i40e and in submissions for the ice driver. It abuses the ETHTOOL_GEEPROM and ETHTOOL_SEEPROM interface in order to allow tools to access the hardware. The use violates the documented behavior of the ethtool interface and breaks the intended functionality of ETHTOOL_GEEPROM and ETHTOOL_SEEPROM. The correct way to implement flash update is via the devlink dev flash interface, using request_firmware, and implementing the entire update process in the driver. The common portions of this could be done in a shared module. Attempting to support the broken legacy update that is supported by the out-of-tree drivers is a non-starter for upstream. We (Intel) have known this for some time, and this is why the patches and support have never been published.