From patchwork Thu Apr 8 04:02:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quanyang Wang X-Patchwork-Id: 12189925 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A7FAC43460 for ; Thu, 8 Apr 2021 04:06:28 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CE86A61157 for ; Thu, 8 Apr 2021 04:06:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE86A61157 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=windriver.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=D3tTodY3wnBybDTPHX/pEEy99RfwL1s8zqZtSVpQxO4=; b=AawDmeR6tgsuAIyWM8CSA1qKzs t1QDAaVeU61WBnH9lO4IAjBelNJw6FwrwEWJkx5mtYTcYz/p6lu2h+/CBrF9Xh2SqSG0uABqrWQLS LjuG7G5hb88J9KsueotidoTmtOJsHW55+y2TyUawvSGfbOUfFECDX+Sc/E9M5na/Inlvjm0Fe78a+ ztKakpOX1ep1CfyO3fl01106qv+C/TNPdoaq7l+0/DP+/CXG/aVN7TQPgei2DGYrNBNdQdaOTBAOM GLD+uLhjVfM60AGWOtENRpeCZDgo/O2K2IYGlz+9XWfLQkIu5H6+Lgb3t6qQ3DD3XqDbPF3aAvwrI JbmTVFyw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lULtr-006l1n-9P; Thu, 08 Apr 2021 04:04:11 +0000 Received: from mail-mw2nam12on2066.outbound.protection.outlook.com ([40.107.244.66] helo=NAM12-MW2-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lULtf-006kxM-3f for linux-arm-kernel@lists.infradead.org; Thu, 08 Apr 2021 04:04:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Iw6mZXyuMSjCJ7RhFYqBiwS7cRPV9HL22Fs6OipOssAtcQKSt0qqz2KC+OCnzLlBJYzOb0T789CI2u8TkIQubprciTNnhje4d2aZCutPhZpaIMXasHbYckUoWT74Csc+WpbKXwXVUY+OwJBEtOpBVbn42196tq2Sd+Ig3Wb4r6LoY+NKSMogig5TY2fcAdFYJAmRg7kNUwrvn8xpPSAFK+rw6gVJOBV/wLuEVh5WY/dHLJXDoSSp6bNCcxanqia1p8zxE5nbcOJduLTbh2IAbxNnSmGvn2Y+gRtY5vPErsMq1LaW3LzDDspR4g9AO4JGdxnpGKNbMszzy0fNrXBQpg== 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-SenderADCheck; bh=nKJB8EfHS8zqr1Yx+KwOdHNojrW/K/l2Aa2Q9eDZwm4=; b=jrkNdH/ZHVJV9HWMjkWzOfhSOwsCXQplkgMPtXOst4FAqgCU2lRvQ24IWqRsvn1hFQ/78OmmzvD51gOMRBFHem0cRviNdSlYea88OUGnEjKOYJfL/x8aSnrxLJUeTV5RzhMinSaqknWVkwUg62wryuMMtFTz9ad4IQTgx5NCcFNJdqL/reeCl3TwPtoDnEO/dJl3oQMLIZ+fQIwI3zsGGJ0BIzQRBMtgb5HNGmqimmV+RPQyFJGQov5IiX29eo//m2usikb5uZ+A9WcQSfDbiHcv6U7Ct99yrmgiQXsKX7ZDgLYFqf4VGqrD6ufVrOo+6juwyl+2pcL9ZYE8q32OIQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriversystems.onmicrosoft.com; s=selector2-windriversystems-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nKJB8EfHS8zqr1Yx+KwOdHNojrW/K/l2Aa2Q9eDZwm4=; b=nOqGKVW38t75TfQQ9RjSJPg/CPi4H3hBl5xcBJcv7MwQW5JrYj8AwIM1obDR7r0gUV4bxXX5q+Bya/FBjE/0qEj+h9mYl4c9cysvSNHHBXJA+by6HOj55StK4+HZ3VU+K36ikVOrb2hXMZ0vPQ0r1aLRact6W+qi+cq0x5cqbQ0= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=windriver.com; Received: from CY4PR11MB0071.namprd11.prod.outlook.com (2603:10b6:910:7a::30) by CY4PR11MB1942.namprd11.prod.outlook.com (2603:10b6:903:125::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.18; Thu, 8 Apr 2021 04:03:45 +0000 Received: from CY4PR11MB0071.namprd11.prod.outlook.com ([fe80::f45f:e820:49f5:3725]) by CY4PR11MB0071.namprd11.prod.outlook.com ([fe80::f45f:e820:49f5:3725%6]) with mapi id 15.20.3999.032; Thu, 8 Apr 2021 04:03:45 +0000 From: quanyang.wang@windriver.com To: Mark Brown , Michal Simek , Amit Kumar Mahapatra Cc: linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Quanyang Wang Subject: [PATCH 0/4] spi: spi-zynqmp-gpspi: fix some issues Date: Thu, 8 Apr 2021 12:02:19 +0800 Message-Id: <20210408040223.23134-1-quanyang.wang@windriver.com> X-Mailer: git-send-email 2.25.1 X-Originating-IP: [60.247.85.82] X-ClientProxiedBy: HK2PR02CA0138.apcprd02.prod.outlook.com (2603:1096:202:16::22) To CY4PR11MB0071.namprd11.prod.outlook.com (2603:10b6:910:7a::30) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pek-qwang2-d1.wrs.com (60.247.85.82) by HK2PR02CA0138.apcprd02.prod.outlook.com (2603:1096:202:16::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.17 via Frontend Transport; Thu, 8 Apr 2021 04:03:42 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d9698d2c-5271-4fed-2a72-08d8fa434dbf X-MS-TrafficTypeDiagnostic: CY4PR11MB1942: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:551; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HQ8K36QaE1iKWYwEQJe/zLsNMAU7uJMXeMIxLds0i0N+kF0JJAkC0Er1j6N2hk6A/x9vmoQeAeVeAFCHANcXTb7Xsh3Se6weckeJ95LHtrTVsKipulgQpF3Aqg8LIo0nzpsne0DM6Cn6xqibtSYL+RgyuZ6SoGJXsamocBEthpMv5C/pB+jowVFOnXLpEv0vOwvQfc1kDRgNsBoKj2tCpipuZ8tLe5SqVLRHdKTtqdWHHijV/BAzCruagGEsRoqqxz7c0g1r1mnIRvMS1OcVmHhbcqVquhbT2t3o9yt0KAOP2olPNILkpOIuPZrXoZ3cUyovDfzoKNu9WM0l7Q6QXjBboqeVyybRj7vFWUzDqxYJv47wzcxe1AohCaLxc7ikDFN6M0yiyIET9rNsFcMfbpaq5zYuZ+lJ6PgpoWPTGmqMIAtvYrNVF3Ie1PiwHSqwpm1sPRDlfhPeJYBXSJKEw6u9TQcTvxLPHMo75qjwq3m+RIRSLpV9Txtn0OhHE7/EgPiBnqBSlBK3oxih0CRibpMugQ+UD1AGYSGyBhgEBfgZUpvVR71xQUOc0RjKXWbD4r2/8NypYc+XCb56mYZOUUmrodK9ogMt2+qqw+pePlQYPtS/Q9NAncyUIO1RMpccC8WylYjfC47rvWl2BQPcSJNS47kR3sv5wibsbP/7NtaVnokp4RRUhqtN95hXt+Wj X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR11MB0071.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(136003)(376002)(39850400004)(396003)(8936002)(6666004)(83380400001)(52116002)(107886003)(4326008)(5660300002)(956004)(110136005)(2616005)(6506007)(316002)(26005)(8676002)(38350700001)(16526019)(1076003)(66946007)(4744005)(4743002)(86362001)(478600001)(186003)(38100700001)(6486002)(2906002)(36756003)(6512007)(9686003)(66476007)(66556008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: nKDQ/qOyHz1RqJEqp2qd14Znij9Zs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kkdEqCaRtfR02V86oWvukQBOCZXc8Ku8FHFs3jgukEhYBkyE+sYdyZWQiRCuaEE6ZVmigi6NAgbNSRESvJWiPb374C1p09L7KZ3qsby+6ywvYDxSYtLS+g4slRGJ+/Ok/9ISvH0vU7HywvGHVk2ImzQGgkFLQs0XGKTzG1YES6Bz5HhRKtQ58xuUWGhpAffzjAT4UXLTE1D9HCvebCVkVteWM+j97iQIH8quDl5V3Eh14ZgpOuce3fB6C8j X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: d9698d2c-5271-4fed-2a72-08d8fa434dbf X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB0071.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Apr 2021 04:03:45.0959 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ovpfrIZ283gclthrG7JHwp39zvAIBZ1TAX64plk6nTmyqLn9U3aSPQup+bJ1oficaaboOgdFUG3J65AeWuXbdDazEeBwQLnzc8zufD1HW1I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1942 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210408_050359_331343_767F1679 X-CRM114-Status: UNSURE ( 7.04 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Quanyang Wang Hello, This series fix some issues that occurs when the gqspi driver switches to spi-mem framework. Hi Amit, I rewrite the "Subject" and "commit message" of these patches, so they look different from the ones which you reviewed before. I still keep your "Reviewed-by" and hope you will not mind. Regards, Quanyang Wang Quanyang Wang (4): spi: spi-zynqmp-gqspi: use wait_for_completion_timeout to make zynqmp_qspi_exec_op not interruptible spi: spi-zynqmp-gqspi: add mutex locking for exec_op spi: spi-zynqmp-gqspi: transmit dummy circles by using the controller's internal functionality spi: spi-zynqmp-gqspi: fix incorrect operating mode in zynqmp_qspi_read_op drivers/spi/spi-zynqmp-gqspi.c | 53 +++++++++++++++++----------------- 1 file changed, 27 insertions(+), 26 deletions(-)