Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp408991pxv; Thu, 8 Jul 2021 05:28:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz97wKFrl30qc8FDmulLWAL3A/dJIFifXjDs+osh1yaCODsQM4ujhiEKZAHW6RVZKtBl3X7 X-Received: by 2002:a92:d946:: with SMTP id l6mr8278478ilq.162.1625747320380; Thu, 08 Jul 2021 05:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625747320; cv=none; d=google.com; s=arc-20160816; b=z64TkHUV1Z3uMfOOuwC0Dgs002SsOA5tDo4odFusNQzHjV3VV94MaOwygRn4tPnHEj qwk1Y9X/I6nnGTcY54qyFW1dvRWztAnYJ2bVqSLWVxCzJC+kCb9y/49WS2Wh5+dQ6+Nn QbnMlOQhvJYQ7lk26ZAFrF7Pw6V8IsiGkwynSDIDh5Ko+yoyvTG10OKdRxgPhNTEgSft acu1rhkNBcykpsnRm1YsbnDFvks+fO1VUiE98/S8jxl+NsCWOlWNOsEs1fdg4DGi6mD6 f4FB8YR7s7VcnYAHUz/TConKHyZRdLc659QvARI6hFGHyEarqLxZ94XolcjZpaqdONe7 Qycw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Xyvepev7wZsmIthEL/XSkVRU860YrNyMUkAE2pVB3ms=; b=lWdTfWd6HUFjALi36jPsbf6w/wvG6XzW8Cq4PrPX2FWrk2yAogTpoghb0sQyWR5+qP Fyx/pDjgTu5AdqHi41GlFqWVe+1JGhbrdcRuryrk7oO4QBZcWIErevshQRMAdUD7P010 MiYtNZ3L8crNPmXVoyEkGwiKIaH9TDnk9qpwNnd78pp7L2JvoN6jwaZr5hhQsUwoMxMC dBv55z6oxkKOpDdfZUYmkaYn6aqhmp2ENp72UoNGGq1jgPKI0x3YD3gmCF4Qe0yeP6v+ 5VYvAynXxkXlRROLB5VreSmwa4e99sJhaAt0v6Fv5ERq6Uz+IydgSxJieFnT4IOoN5fu ubkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yadro.com header.s=mta-01 header.b=iUam7raN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yadro.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u12si2480751ilm.144.2021.07.08.05.28.27; Thu, 08 Jul 2021 05:28:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@yadro.com header.s=mta-01 header.b=iUam7raN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yadro.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231414AbhGHMag (ORCPT + 99 others); Thu, 8 Jul 2021 08:30:36 -0400 Received: from mta-02.yadro.com ([89.207.88.252]:44986 "EHLO mta-01.yadro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229659AbhGHMaf (ORCPT ); Thu, 8 Jul 2021 08:30:35 -0400 Received: from localhost (unknown [127.0.0.1]) by mta-01.yadro.com (Postfix) with ESMTP id 04C1349E3D; Thu, 8 Jul 2021 12:27:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yadro.com; h= content-type:content-type:content-transfer-encoding:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received:received:received; s=mta-01; t=1625747271; x= 1627561672; bh=bO6Qk1sZMJQVSInPZGyfZf+bln/u5E6eqcOxjG61nAI=; b=i Uam7raNvzYwN4+UwSq3eZuNlTjP5MUUCB9cggKvAaJV3IMfiTp3tTfoELDGyU78C PEE4y+++SLQ0O3+dxaPq0eYaGylne3oLUUs+TL6Z2B4I/Chyowea68IdB0NX7JDE mkuJZZKICAA9p5ywlFHaQo0psLvNEQekFsKFZ4KTos= X-Virus-Scanned: amavisd-new at yadro.com Received: from mta-01.yadro.com ([127.0.0.1]) by localhost (mta-01.yadro.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wb_Ks_nfBjDz; Thu, 8 Jul 2021 15:27:51 +0300 (MSK) Received: from T-EXCH-03.corp.yadro.com (t-exch-03.corp.yadro.com [172.17.100.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mta-01.yadro.com (Postfix) with ESMTPS id 0320949F4C; Thu, 8 Jul 2021 15:18:25 +0300 (MSK) Received: from fedora.mshome.net (10.199.0.196) by T-EXCH-03.corp.yadro.com (172.17.100.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Thu, 8 Jul 2021 15:18:25 +0300 From: Ivan Mikhaylov To: "David S . Miller" , Jakub Kicinski , Samuel Mendoza-Jonas CC: Ivan Mikhaylov , Joel Stanley , Benjamin Herrenschmidt , , , Subject: [PATCH v2 0/3] net/ncsi: Add NCSI Intel OEM command to keep PHY link up Date: Thu, 8 Jul 2021 15:27:51 +0300 Message-ID: <20210708122754.555846-1-i.mikhaylov@yadro.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.199.0.196] X-ClientProxiedBy: T-EXCH-01.corp.yadro.com (172.17.10.101) To T-EXCH-03.corp.yadro.com (172.17.100.103) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add NCSI Intel OEM command to keep PHY link up and prevents any channel resets during the host load on i210. Also includes dummy response handler for Intel manufacturer id. Changes from v1: 1. sparse fixes about casts 2. put it after ncsi_dev_state_probe_cis instead of ncsi_dev_state_probe_channel because sometimes channel is not ready after it 3. inl -> intel Ivan Mikhaylov (3): net/ncsi: fix restricted cast warning of sparse net/ncsi: add NCSI Intel OEM command to keep PHY up net/ncsi: add dummy response handler for Intel boards net/ncsi/Kconfig | 6 +++++ net/ncsi/internal.h | 5 +++++ net/ncsi/ncsi-manage.c | 51 +++++++++++++++++++++++++++++++++++++++--- net/ncsi/ncsi-rsp.c | 11 +++++++-- 4 files changed, 68 insertions(+), 5 deletions(-) -- 2.31.1