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 EAE5C1386CC; Tue, 14 May 2024 11:00:31 +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=1715684432; cv=none; b=Gv7uI3SKYBa914ImYx3foPy3He/FOm5P+C99xZ2HAom80dQIPG4uq5lgM/Y4wFvB8IScAA80/YXQ+383XRA04/07MCpDDgE9hi1FyxSxTGohKbVz7aSjtdVSlr8WNNrEoCWBI+s+CEeZmFc+RbIH3epoNzpBYkmhtK6DGV+x1tE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715684432; c=relaxed/simple; bh=kxuuqiXnQtthnaXhYlElOm2RbUIpf3+Zx6d+nP590Ao=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iQUYHA8sB5U0IEXElTufMpW2Tl5UwqlguOntDLFSHM2VDFeC0AaWTgJeTG25R1zQHEt3d28M5sC/pkZMT+IWlQGl/fVpogRPYiUd9m6z/CA8mRMFHd7OFtx53JCCCc5dgfaXqh+l3qOTbb6nihdMfoDJEN/a1tOh84r0YpKr1xs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=W/IiICJV; 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="W/IiICJV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A170AC2BD10; Tue, 14 May 2024 11:00:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715684431; bh=kxuuqiXnQtthnaXhYlElOm2RbUIpf3+Zx6d+nP590Ao=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W/IiICJVnEXLNwsTB7x03xlT2FV0SZswzNchBigzF76ZrwMRDd5XrjKbvpJ8vp3vW 7+ZdbCEE9gtlM/7c0lgtWxGvifijpI9H49yQt0JLgEkGvWCR7uBNHGX3QRuga6qHtF LYFSt6mWnxAfDkghEaf4ueY32J63L4lYNK3I2cSM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Devyn Liu , Jay Fang , Mark Brown , Sasha Levin Subject: [PATCH 6.6 041/301] spi: hisi-kunpeng: Delete the dump interface of data registers in debugfs Date: Tue, 14 May 2024 12:15:12 +0200 Message-ID: <20240514101033.797449811@linuxfoundation.org> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240514101032.219857983@linuxfoundation.org> References: <20240514101032.219857983@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Devyn Liu [ Upstream commit 7430764f5a85d30314aeef2d5438dff1fb0b1d68 ] Due to the reading of FIFO during the dump of data registers in debugfs, if SPI transmission is in progress, it will be affected and may result in transmission failure. Therefore, the dump interface of data registers in debugfs is removed. Fixes: 2b2142f247eb ("spi: hisi-kunpeng: Add debugfs support") Signed-off-by: Devyn Liu Reviewed-by: Jay Fang Link: https://lore.kernel.org/r/20240416015839.3323398-1-liudingyuan@huawei.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/spi/spi-hisi-kunpeng.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/spi-hisi-kunpeng.c b/drivers/spi/spi-hisi-kunpeng.c index 35ef5e8e2ffd2..77e9738e42f60 100644 --- a/drivers/spi/spi-hisi-kunpeng.c +++ b/drivers/spi/spi-hisi-kunpeng.c @@ -151,8 +151,6 @@ static const struct debugfs_reg32 hisi_spi_regs[] = { HISI_SPI_DBGFS_REG("ENR", HISI_SPI_ENR), HISI_SPI_DBGFS_REG("FIFOC", HISI_SPI_FIFOC), HISI_SPI_DBGFS_REG("IMR", HISI_SPI_IMR), - HISI_SPI_DBGFS_REG("DIN", HISI_SPI_DIN), - HISI_SPI_DBGFS_REG("DOUT", HISI_SPI_DOUT), HISI_SPI_DBGFS_REG("SR", HISI_SPI_SR), HISI_SPI_DBGFS_REG("RISR", HISI_SPI_RISR), HISI_SPI_DBGFS_REG("ISR", HISI_SPI_ISR), -- 2.43.0