From: Xu Yilun <yilun.xu@intel.com>
To: tien.sung.ang@intel.com
Cc: mdf@kernel.org, hao.wu@intel.com, trix@redhat.com,
linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fpga: altera-cvp: Truncated bitstream error support
Date: Sat, 28 May 2022 18:01:40 +0800 [thread overview]
Message-ID: <20220528100140.GC175008@yilunxu-OptiPlex-7050> (raw)
In-Reply-To: <20220519043412.2805706-1-tien.sung.ang@intel.com>
On Thu, May 19, 2022 at 12:34:12PM +0800, tien.sung.ang@intel.com wrote:
> The send_buf is always used throughout the life-span of the CvP driver.
> Hence, we thought it would be wise to just pre-allocate it one time
> at the start of the probe/init.
> It is also fine if we do it in the altera_cvp_write. The only issue we
> see in this is that, a minor hit on the performance as you need to
> then, allocate the buffer on every new CvP FPGA configuration write.
>
> As for STEP 16, the previous implementation checks the Error latch bit
> which stores the previous transaction's result. If an error occurs
> prior to this, the driver would throw an error which is not right.
> The correct step is to just check for the current CvP error status
> from the register.
> Hope that is fine with you. Thanks
Please comment inline in the mail, like others do.
Thanks,
Yilun
next prev parent reply other threads:[~2022-05-28 10:09 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-18 6:48 tien.sung.ang
2022-05-18 20:08 ` Tom Rix
2022-05-19 4:34 ` tien.sung.ang
2022-05-28 10:01 ` Xu Yilun [this message]
2022-05-28 10:03 ` Xu Yilun
2022-05-18 20:54 ` Christophe JAILLET
2022-05-19 4:21 ` tien.sung.ang
2022-05-28 10:08 ` Xu Yilun
2022-05-20 1:30 ` [PATCH v2] " tien.sung.ang
2022-05-28 9:59 ` Xu Yilun
2022-05-31 1:53 ` tien.sung.ang
2022-06-03 9:49 ` Xu Yilun
2022-06-07 5:55 ` tien.sung.ang
2022-06-08 10:30 ` Xu Yilun
2022-06-27 7:45 ` tien.sung.ang
2022-06-27 8:52 ` Xu Yilun
2022-05-18 14:04 [PATCH] fpga: altera-cvp: allow interrupt to continue next time Tom Rix
2022-05-19 9:39 ` [PATCH] fpga: altera-cvp: Truncated bitstream error support tien.sung.ang
2022-05-28 12:05 ` Xu Yilun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220528100140.GC175008@yilunxu-OptiPlex-7050 \
--to=yilun.xu@intel.com \
--cc=hao.wu@intel.com \
--cc=linux-fpga@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mdf@kernel.org \
--cc=tien.sung.ang@intel.com \
--cc=trix@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®