From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4B8E93E6DD2 for ; Tue, 17 Mar 2026 14:45:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773758746; cv=none; b=C6vdaav3KB6XgQoZnzQSenRRWAv3W+lWvaeOzLxaNCfddkaUk5ck68nXajNhpU5Iv11bDtxOWU1akTllsnmpBDpY8EUr995ORkhca6rw9MlnmqZadA2JKgpnL2b32RVKFAbx9xOUmzSIGcfGLTUpk03jU0FIhCuLJtLY0GBhkp4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773758746; c=relaxed/simple; bh=+dUqwQ9ZxkdAz59edUNWhJBkMzkciTOeKgVZVX+fIGY=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=rzxoZlrX6FwJMsFj9X07HVRDZepyIPV2K/qZ9gQ7y2ylJ5bJoaRJpcAYuWqicqTelpJvxGwh0T+ibe1cj/3Rgv4U5qT0HpoQk5HnRv9Hug7jKtlIHvmf8zWqtxm2ozW7MnIkaXg38PF/eFyQ6w5ynDXuHrc8JjVD2GS2R7ry8Rk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GHc5myxo; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="GHc5myxo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2F12C19424; Tue, 17 Mar 2026 14:45:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773758746; bh=+dUqwQ9ZxkdAz59edUNWhJBkMzkciTOeKgVZVX+fIGY=; h=Subject:To:Cc:From:Date:From; b=GHc5myxosrnC5+XzK5sHlc2aNdJLtR6t14C9qp86TX7zb6yt85N/Q32kIhZDHcO3z dtAJk7+/gyZTuSK7LSN04Ve4xoSfECdG26SlmX5YL4wbqklm4BK5gBEeQwZptKFqq4 Bsubk1gvs2FwzYp58Q4FsEw3WieSNI0VrVU7ZImA= Subject: FAILED: patch "[PATCH] i3c: mipi-i3c-hci: Fix Hot-Join NACK" failed to apply to 6.6-stable tree To: adrian.hunter@intel.com,Frank.Li@nxp.com,alexandre.belloni@bootlin.com Cc: From: Date: Tue, 17 Mar 2026 15:45:29 +0100 Message-ID: <2026031729-cod-volatile-2e41@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.6-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.6.y git checkout FETCH_HEAD git cherry-pick -x fa9586bd77ada1e3861c7bef65f6bb9dcf8d9481 # git commit -s git send-email --to '' --in-reply-to '2026031729-cod-volatile-2e41@gregkh' --subject-prefix 'PATCH 6.6.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From fa9586bd77ada1e3861c7bef65f6bb9dcf8d9481 Mon Sep 17 00:00:00 2001 From: Adrian Hunter Date: Fri, 6 Mar 2026 09:24:39 +0200 Subject: [PATCH] i3c: mipi-i3c-hci: Fix Hot-Join NACK The MIPI I3C HCI host controller driver does not implement Hot-Join handling, yet Hot-Join response control defaults to allowing devices to Hot-Join the bus. Configure HC_CONTROL_HOT_JOIN_CTRL to NACK all Hot-Join attempts. Fixes: 9ad9a52cce282 ("i3c/master: introduce the mipi-i3c-hci driver") Cc: stable@vger.kernel.org Signed-off-by: Adrian Hunter Reviewed-by: Frank Li Link: https://patch.msgid.link/20260306072451.11131-3-adrian.hunter@intel.com Signed-off-by: Alexandre Belloni diff --git a/drivers/i3c/master/mipi-i3c-hci/core.c b/drivers/i3c/master/mipi-i3c-hci/core.c index dbe93df0c70e..4877a321edf9 100644 --- a/drivers/i3c/master/mipi-i3c-hci/core.c +++ b/drivers/i3c/master/mipi-i3c-hci/core.c @@ -152,7 +152,8 @@ static int i3c_hci_bus_init(struct i3c_master_controller *m) if (hci->quirks & HCI_QUIRK_RESP_BUF_THLD) amd_set_resp_buf_thld(hci); - reg_set(HC_CONTROL, HC_CONTROL_BUS_ENABLE); + /* Enable bus with Hot-Join disabled */ + reg_set(HC_CONTROL, HC_CONTROL_BUS_ENABLE | HC_CONTROL_HOT_JOIN_CTRL); dev_dbg(&hci->master.dev, "HC_CONTROL = %#x", reg_read(HC_CONTROL)); return 0; @@ -764,7 +765,8 @@ static int i3c_hci_runtime_resume(struct device *dev) hci->io->resume(hci); - reg_set(HC_CONTROL, HC_CONTROL_BUS_ENABLE); + /* Enable bus with Hot-Join disabled */ + reg_set(HC_CONTROL, HC_CONTROL_BUS_ENABLE | HC_CONTROL_HOT_JOIN_CTRL); return 0; }