From: tien.sung.ang@intel.com
To: yilun.xu@intel.com
Cc: christophe.jaillet@wanadoo.fr, hao.wu@intel.com,
linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org,
mdf@kernel.org, tien.sung.ang@intel.com, trix@redhat.com
Subject: Re: [PATCH v2] fpga: altera-cvp: Truncated bitstream error support
Date: Mon, 27 Jun 2022 15:45:53 +0800 [thread overview]
Message-ID: <20220627074553.3136597-1-tien.sung.ang@intel.com> (raw)
In-Reply-To: <20220608103058.GG481269@yilunxu-OptiPlex-7050>
> > Though without doubt, your solution is doable, I have a
> > discussion with the Intel architect and they insisted that
> > the device driver must not make such a decision. The decision to
> > drop or accept a transfer is up to the firmware. The firmware
> Why dropping or accepting is forbidden, but padding is allowed? If the
> decision is no operation to the data, then padding should also be
> forbidden.
> > insisted that the buffer be padded with whatever value. They
> If I understand right, the 2 decisions are conflicted. On one hand,
> the driver should not care about the data. On another hand, the
> driver should still care about the data for some rule.
> So please firstly reach your agreement before making patches.
Had some delays in replying,from the perspective of the driver,
Intel architects want it to be just purely on the transfer of
data without inspecting the data.
If the size of a transfer is 4096bytes, we can padd it.
I can do that which I think it is not an issue.
Let me create a reworked patch to pad the payload with Zeros.
Would this be OK for patch v3?
> > Yes, it could look confusing to other programmers. And, yes, the
> > padding doesn't matter. Let me relook into this. As the driver is
> > already re-tested by the silicon validatioin.
> > I want to avoid making any change as it
> > would meant another couple of weeks of re-testing.
> > Can this be accepted as it is?
> Sorry, I can't. Some clarification is needed.
Reply as above, let us implement the padding in the
next patch v3. Appreciate your inputs. Thanks
next prev parent reply other threads:[~2022-06-27 7:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-18 6:48 [PATCH] " 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
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 [this message]
2022-06-27 8:52 ` 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=20220627074553.3136597-1-tien.sung.ang@intel.com \
--to=tien.sung.ang@intel.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=hao.wu@intel.com \
--cc=linux-fpga@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mdf@kernel.org \
--cc=trix@redhat.com \
--cc=yilun.xu@intel.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®