From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout09.his.huawei.com (canpmsgout09.his.huawei.com [113.46.200.224]) (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 46B93145A1F; Wed, 13 May 2026 06:23:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.224 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778653418; cv=none; b=ej4r1L9KjbYWhnTbPpFj7Z8hSGFMTgWGuhEM+3pm3Hk5PKSkdfRVZiV9+cWGs2XVtUL5mwnQJ6aMkykq5pdbkUylzzV0j1eqPc7rf19pkDuoY7uuchUkHN8B75dARygOTJEQ69fzL3PqFI0Iws5bJ3drd/ct24e+6xsHnNo8qso= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778653418; c=relaxed/simple; bh=PdmLJ9+8nG64WQycIfFsF45vICCwcpAuIvDAQHoz3R4=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=it4lkmkJtotJb4HBkGmQkY7uZ24SrTkiCj1Pwoc+VskMVa8n+1zR7iIi0WJoqpwLBTdegA6AAx3FMRR5JBpKtFjoKcjIlpGd/UO3fLz7Mbh05aog6riGqi+iEG1WKn/wxet24ae/px6tzemh6YLnPIjRcnWYoE6Fnf+J43HQkkU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=Vm5FHb2C; arc=none smtp.client-ip=113.46.200.224 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="Vm5FHb2C" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=/hyPxL9xO96odz5eXSpgxiX5JGILi3Lj/lGP9gQ/oU8=; b=Vm5FHb2C7m/5BODFt0iEkkI7OO72+SHwUb55Nm9zAjOKWaxTltrjqp5Ga8kCcRGb+9OGV22kh E3EarbhGjSTmpg+l/VNa64UnwfsNSOj9ZZPV8xuEGlhjZQ2FSlZZVUymmQwKwIGzdPrRQMups21 FikfjWmxQQygiUWPgbZanI4= Received: from mail.maildlp.com (unknown [172.19.163.200]) by canpmsgout09.his.huawei.com (SkyGuard) with ESMTPS id 4gFjrZ69vTz1cyPP; Wed, 13 May 2026 14:15:58 +0800 (CST) Received: from dggpemf500002.china.huawei.com (unknown [7.185.36.57]) by mail.maildlp.com (Postfix) with ESMTPS id 9CCA640563; Wed, 13 May 2026 14:23:34 +0800 (CST) Received: from [10.174.179.11] (10.174.179.11) by dggpemf500002.china.huawei.com (7.185.36.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Wed, 13 May 2026 14:23:33 +0800 Message-ID: Date: Wed, 13 May 2026 14:23:32 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/3] scsi: hisi_sas: add support for dev info update notification To: Xingui Yang , , , CC: , , , , , References: <20260513021603.3023329-1-yangxingui@huawei.com> <20260513021603.3023329-4-yangxingui@huawei.com> From: Jason Yan In-Reply-To: <20260513021603.3023329-4-yangxingui@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: kwepems100002.china.huawei.com (7.221.188.206) To dggpemf500002.china.huawei.com (7.185.36.57) 在 2026/5/13 10:16, Xingui Yang 写道: > Implement the lldd_dev_info_update callback for hisi_sas driver. When > a device's information changes (such as linkrate), clear the old ITCT > entry and setup a new one to reflect the new settings. This ensures the > hardware uses the correct information after events like cable reconnection > or renegotiation. > > Signed-off-by: Xingui Yang > --- > drivers/scsi/hisi_sas/hisi_sas_main.c | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) Reviewed-by: Jason Yan