From: Niklas Cassel <cassel@kernel.org>
To: Damien Le Moal <dlemoal@kernel.org>
Cc: "Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org>,
"Krzysztof Wilczyński" <kw@linux.com>,
"Kishon Vijay Abraham I" <kishon@kernel.org>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Jonathan Corbet" <corbet@lwn.net>,
"Jingoo Han" <jingoohan1@gmail.com>,
linux-pci@vger.kernel.org,
"Rick Wertenbroek" <rick.wertenbroek@gmail.com>
Subject: Re: [PATCH v3 0/7] Improve PCI memory mapping API
Date: Sun, 6 Oct 2024 13:46:50 +0200 [thread overview]
Message-ID: <ZwJ4qmueen8HHTnc@ryzen.lan> (raw)
In-Reply-To: <00e56c66-fed0-417e-b009-5bf11b05b1cc@kernel.org>
On Fri, Oct 04, 2024 at 10:25:54PM +0900, Damien Le Moal wrote:
> On 10/4/24 22:13, Niklas Cassel wrote:
> > On Fri, Oct 04, 2024 at 02:07:35PM +0900, Damien Le Moal wrote:
(snip)
> > I think the cover letter is missing some text on how this series has been
> > tested.
> >
> > In V2 I suggested adding a new option to pcitest.c, so that it doesn't
> > ensure that buffers are aligned. pci_test will currently use a 4k alignment
> > by default, and for some PCI device IDs and vendor IDs, it will ensure that
> > the buffers are aligned to something else. (E.g. for the PCI device ID used
> > by rk3588, buffers will be aligned to 64K.)
> >
> > By adding an --no-alignment option to pci_test, we can ensure that this new
> > API is actually working.
> >
> > Did you perhaps ifdef out all the alignment from pci_endpoint_test.c when
> > testing?
>
> Yes I did. And I also extensively tested using the nvme epf function driver
> (coming soon !) which has very random PCI addresses for data buffers (e.g.
> BIOSes and GRUB are happy using on-stack totally unaligned buffers...).
I know that you did test using a nvme EPF :)
But for anyone reading the cover letter, it wasn't clear how this series
was tested, so it would have been nice if the information which you
provided above would have been part of the cover letter.
Kind regards,
Niklas
prev parent reply other threads:[~2024-10-06 11:46 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-04 5:07 [PATCH v3 0/7] Improve PCI memory mapping API Damien Le Moal
2024-10-04 5:07 ` [PATCH v3 1/7] PCI: endpoint: Introduce pci_epc_function_is_valid() Damien Le Moal
2024-10-04 5:07 ` [PATCH v3 2/7] PCI: endpoint: Improve pci_epc_mem_alloc_addr() Damien Le Moal
2024-10-04 11:45 ` Niklas Cassel
2024-10-04 5:07 ` [PATCH v3 3/7] PCI: endpoint: Introduce pci_epc_map_align() Damien Le Moal
2024-10-04 11:45 ` Niklas Cassel
2024-10-04 5:07 ` [PATCH v3 4/7] PCI: endpoint: Introduce pci_epc_mem_map()/unmap() Damien Le Moal
2024-10-04 11:47 ` Niklas Cassel
2024-10-04 13:29 ` Damien Le Moal
2024-10-07 2:01 ` kernel test robot
2024-10-04 5:07 ` [PATCH v3 5/7] PCI: endpoint: Update documentation Damien Le Moal
2024-10-04 11:51 ` Niklas Cassel
2024-10-04 5:07 ` [PATCH v3 6/7] PCI: endpoint: test: Use pci_epc_mem_map/unmap() Damien Le Moal
2024-10-04 12:11 ` Niklas Cassel
2024-10-04 13:47 ` Damien Le Moal
2024-10-06 11:48 ` Niklas Cassel
2024-10-06 22:15 ` Damien Le Moal
2024-10-04 5:07 ` [PATCH v3 7/7] PCI: dwc: endpoint: Define the .map_align() controller operation Damien Le Moal
2024-10-04 12:12 ` Niklas Cassel
2024-10-04 11:45 ` [PATCH v3 0/7] Improve PCI memory mapping API Niklas Cassel
2024-10-04 13:13 ` Niklas Cassel
2024-10-04 13:25 ` Damien Le Moal
2024-10-06 11:46 ` Niklas Cassel [this message]
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=ZwJ4qmueen8HHTnc@ryzen.lan \
--to=cassel@kernel.org \
--cc=bhelgaas@google.com \
--cc=corbet@lwn.net \
--cc=dlemoal@kernel.org \
--cc=jingoohan1@gmail.com \
--cc=kishon@kernel.org \
--cc=kw@linux.com \
--cc=linux-pci@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=rick.wertenbroek@gmail.com \
--cc=robh@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.