Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6525699rwd; Mon, 5 Jun 2023 20:41:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7lACmb6cRucdCaj/yw4goToOThuEaweVX3B+meVfXvib6IbyNvSydW8ibANq087RyKpvFm X-Received: by 2002:a05:6214:5296:b0:626:1e4e:b5b7 with SMTP id kj22-20020a056214529600b006261e4eb5b7mr679494qvb.59.1686022908254; Mon, 05 Jun 2023 20:41:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686022908; cv=none; d=google.com; s=arc-20160816; b=jCD7MpaUkpICrqkCNP1kQ0I33ScMt8LCnjUVJAtycLwwGpAZyoxrBmL9vNCQ2q+oMo DmYcox1nkO136k5NEXQV4TDXZAH6Gki+7GmR9xyEn7nEi2XKMV2tzFDk8iI0qv8w6sSY KIClQAQV3uspXCKTGov1iIO2jQVGvVgL1yG3AXHMh1uZUQekRGm9OzhPQeZnNkydqg0h t21d/SsBQhtUIAmKuR2aC9qhJ1rsLmyyfCvGy1uA9IpzYXPaPLz3w8PInp4uo+MvsPra Bc6lbnjEW0iv9VCXH8LuKDrdkJfbQrVojlT+UlULNqPMdCqU1Awd47tcUI4mTcrzvBEK CQNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0qg/kqaPVlWZivbnEVmg3MqNSpg7FUcCuDn3ICOlAuE=; b=zPxX6/HVlARPUi1ZjrOvAJVEJ/HaaScgFRFuW8taDz3UZ5gt1ZoSM3zpWcMML91JmJ 74Ihl/O6457Q24y1e2xWpA2+NdFHotVnRe5xtwsyPa69X6eUlLb6ALRZY/0xcoxQsjcS wU9GX+bPoSPz2eRnOejDYPiVVLroWov2/9K2IojutntmRvd5vWxXkv90Zk37NJzHhN48 DFGPQ2v7aL18BjQtj3hG1j8hmdzlhUYEvkpW5ladT0dFNn/RYEqtCZdBRjn+0NWFK26X 83Afy4fV+203sjjDACQAeWaL09QEMF10Kf/GIOyPtyEObfob43aVYIuOKNbrVLsoapMc w6Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ypuutuj+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a05621421c500b005ef5a432c7esi6013426qvh.3.2023.06.05.20.41.34; Mon, 05 Jun 2023 20:41:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ypuutuj+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233867AbjFFDQr (ORCPT + 99 others); Mon, 5 Jun 2023 23:16:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230362AbjFFDQq (ORCPT ); Mon, 5 Jun 2023 23:16:46 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35142118; Mon, 5 Jun 2023 20:16:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686021405; x=1717557405; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=oUlLrc5Ni/1xulzZF/t/S0SsmZ8L576B70G4zSv0/sA=; b=Ypuutuj+CKTAXwZIdW605h+VrARgyaEpQCOKG+F6ma0tLWrm2+4eTmWS ArdaCTgmqEPbYPoKHZZEjsBNWGFdU/5SCBFnXwCJRSRQSrWRID+yCR6KM lfS6MkjrYB1hlbboT/VRZgX4RnoZ0daVFwjwQSFgYUfRLrWj4ngk+X+cw F7ABw7IpRjddcdUooDFncpIoTnRXmiHQMroO0VpepEJF7bB8AGVrBhORZ xac9GrKfXR7nUm6pOsJJxzN7LATrMvaI0/ai7B73QZxaHLU4mIqX+XuLH udokj4HppIWG7AD2sEFOv3X/tNzxM2T8wiAd6h207ebJzVTbvD8AgkNwH A==; X-IronPort-AV: E=McAfee;i="6600,9927,10732"; a="422377264" X-IronPort-AV: E=Sophos;i="6.00,219,1681196400"; d="scan'208";a="422377264" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2023 20:16:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10732"; a="778808700" X-IronPort-AV: E=Sophos;i="6.00,219,1681196400"; d="scan'208";a="778808700" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.165]) by fmsmga004.fm.intel.com with ESMTP; 05 Jun 2023 20:16:42 -0700 Date: Tue, 6 Jun 2023 19:16:08 +0800 From: Xu Yilun To: Nava kishore Manne Cc: mdf@kernel.org, hao.wu@intel.com, trix@redhat.com, michal.simek@amd.com, linux-fpga@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alfonso Rodriguez Subject: Re: [PATCH v3] fpga: zynq-fpga: Ensure proper xCAP interface switch Message-ID: References: <20230605115433.186087-1-nava.kishore.manne@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230605115433.186087-1-nava.kishore.manne@amd.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-06-05 at 17:24:33 +0530, Nava kishore Manne wrote: > From: Alfonso Rodriguez > > The Zynq platform has PCAP, ICAP and JTAG interfaces for configuring > programmable logic (PL). The existing driver implementation uses the > PCAP interface to configure the PL. Before switching the PL configuration > interface from PCAP to ICAP make sure that all outstanding Transactions > relevant to the PL configuration should be completed by the PCAP interface > otherwise it may lead to PL configuration issues. > > This patch provides a required fix to ensure that all existing PL > transactions are completed before switching from PCAP to ICAP. > > For detailed information relevant to PL configuration interfaces refer > Zynq 7000 TRM (section 6.5.1). > Link: https://docs.xilinx.com/v/u/en-US/ug585-Zynq-7000-TRM > > Signed-off-by: Alfonso Rodriguez > Signed-off-by: Nava kishore Manne Acked-by: Xu Yilun Applied.