Linux Tegra architecture development
 help / color / mirror / Atom feed
* Re: [PATCH V15 14/18] block: enable multipage bvecs
       [not found]     ` <6c9ae4de-c56f-a2b3-2542-da7d8b95601d@samsung.com>
@ 2019-02-27 20:47       ` Jon Hunter
  2019-02-27 23:29         ` Ming Lei
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Hunter @ 2019-02-27 20:47 UTC (permalink / raw)
  To: Marek Szyprowski, Ming Lei, Jens Axboe
  Cc: linux-block, linux-kernel, linux-mm, Theodore Ts'o,
	Omar Sandoval, Sagi Grimberg, Dave Chinner, Kent Overstreet,
	Mike Snitzer, dm-devel, Alexander Viro, linux-fsdevel, linux-raid,
	David Sterba, linux-btrfs, Darrick J . Wong, linux-xfs, Gao Xiang,
	Christoph Hellwig, linux-ext4, Coly Li, linux-bcache,
	Boaz Harrosh, Bob Peterson <rpeter>


On 21/02/2019 08:42, Marek Szyprowski wrote:
> Dear All,
> 
> On 2019-02-15 12:13, Ming Lei wrote:
>> This patch pulls the trigger for multi-page bvecs.
>>
>> Reviewed-by: Omar Sandoval <osandov@fb.com>
>> Signed-off-by: Ming Lei <ming.lei@redhat.com>
> 
> Since Linux next-20190218 I've observed problems with block layer on one
> of my test devices (Odroid U3 with EXT4 rootfs on SD card). Bisecting
> this issue led me to this change. This is also the first linux-next
> release with this change merged. The issue is fully reproducible and can
> be observed in the following kernel log:
> 
> sdhci: Secure Digital Host Controller Interface driver
> sdhci: Copyright(c) Pierre Ossman
> s3c-sdhci 12530000.sdhci: clock source 2: mmc_busclk.2 (100000000 Hz)
> s3c-sdhci 12530000.sdhci: Got CD GPIO
> mmc0: SDHCI controller on samsung-hsmmc [12530000.sdhci] using ADMA
> mmc0: new high speed SDHC card at address aaaa
> mmcblk0: mmc0:aaaa SL16G 14.8 GiB
I have also noticed some failures when writing to an eMMC device on one
of our Tegra boards. We have a simple eMMC write/read test and it is
currently failing because the data written does not match the source.

I did not seem the same crash as reported here, however, in our case the
rootfs is NFS mounted and so probably would not. However, the bisect
points to this commit and reverting on top of -next fixes the issues.

Cheers
Jon

-- 
nvpublic

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH V15 14/18] block: enable multipage bvecs
  2019-02-27 20:47       ` [PATCH V15 14/18] block: enable multipage bvecs Jon Hunter
@ 2019-02-27 23:29         ` Ming Lei
  2019-02-28  7:51           ` Marek Szyprowski
  0 siblings, 1 reply; 4+ messages in thread
From: Ming Lei @ 2019-02-27 23:29 UTC (permalink / raw)
  To: Jon Hunter
  Cc: Marek Szyprowski, Jens Axboe, linux-block, linux-kernel, linux-mm,
	Theodore Ts'o, Omar Sandoval, Sagi Grimberg, Dave Chinner,
	Kent Overstreet, Mike Snitzer, dm-devel, Alexander Viro,
	linux-fsdevel, linux-raid, David Sterba, linux-btrfs,
	Darrick J . Wong, linux-xfs, Gao Xiang, Christoph Hellwig,
	linux-ext4, Coly Li, linux-bcache, B

On Wed, Feb 27, 2019 at 08:47:09PM +0000, Jon Hunter wrote:
> 
> On 21/02/2019 08:42, Marek Szyprowski wrote:
> > Dear All,
> > 
> > On 2019-02-15 12:13, Ming Lei wrote:
> >> This patch pulls the trigger for multi-page bvecs.
> >>
> >> Reviewed-by: Omar Sandoval <osandov@fb.com>
> >> Signed-off-by: Ming Lei <ming.lei@redhat.com>
> > 
> > Since Linux next-20190218 I've observed problems with block layer on one
> > of my test devices (Odroid U3 with EXT4 rootfs on SD card). Bisecting
> > this issue led me to this change. This is also the first linux-next
> > release with this change merged. The issue is fully reproducible and can
> > be observed in the following kernel log:
> > 
> > sdhci: Secure Digital Host Controller Interface driver
> > sdhci: Copyright(c) Pierre Ossman
> > s3c-sdhci 12530000.sdhci: clock source 2: mmc_busclk.2 (100000000 Hz)
> > s3c-sdhci 12530000.sdhci: Got CD GPIO
> > mmc0: SDHCI controller on samsung-hsmmc [12530000.sdhci] using ADMA
> > mmc0: new high speed SDHC card at address aaaa
> > mmcblk0: mmc0:aaaa SL16G 14.8 GiB
> I have also noticed some failures when writing to an eMMC device on one
> of our Tegra boards. We have a simple eMMC write/read test and it is
> currently failing because the data written does not match the source.
> 
> I did not seem the same crash as reported here, however, in our case the
> rootfs is NFS mounted and so probably would not. However, the bisect
> points to this commit and reverting on top of -next fixes the issues.

It is sdhci, probably related with max segment size, could you test the
following patch:

https://marc.info/?l=linux-mmc&m=155128334122951&w=2

Thanks,
Ming

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH V15 14/18] block: enable multipage bvecs
  2019-02-27 23:29         ` Ming Lei
@ 2019-02-28  7:51           ` Marek Szyprowski
  2019-02-28 12:39             ` Jon Hunter
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Szyprowski @ 2019-02-28  7:51 UTC (permalink / raw)
  To: Ming Lei, Jon Hunter
  Cc: Jens Axboe, linux-block, linux-kernel, linux-mm,
	Theodore Ts'o, Omar Sandoval, Sagi Grimberg, Dave Chinner,
	Kent Overstreet, Mike Snitzer, dm-devel, Alexander Viro,
	linux-fsdevel, linux-raid, David Sterba, linux-btrfs,
	Darrick J . Wong, linux-xfs, Gao Xiang, Christoph Hellwig,
	linux-ext4, Coly Li, linux-bcache, Boaz Harrosh, Bob

Hi Ming,

On 2019-02-28 00:29, Ming Lei wrote:
> On Wed, Feb 27, 2019 at 08:47:09PM +0000, Jon Hunter wrote:
>> On 21/02/2019 08:42, Marek Szyprowski wrote:
>>> On 2019-02-15 12:13, Ming Lei wrote:
>>>> This patch pulls the trigger for multi-page bvecs.
>>>>
>>>> Reviewed-by: Omar Sandoval <osandov@fb.com>
>>>> Signed-off-by: Ming Lei <ming.lei@redhat.com>
>>> Since Linux next-20190218 I've observed problems with block layer on one
>>> of my test devices (Odroid U3 with EXT4 rootfs on SD card). Bisecting
>>> this issue led me to this change. This is also the first linux-next
>>> release with this change merged. The issue is fully reproducible and can
>>> be observed in the following kernel log:
>>>
>>> sdhci: Secure Digital Host Controller Interface driver
>>> sdhci: Copyright(c) Pierre Ossman
>>> s3c-sdhci 12530000.sdhci: clock source 2: mmc_busclk.2 (100000000 Hz)
>>> s3c-sdhci 12530000.sdhci: Got CD GPIO
>>> mmc0: SDHCI controller on samsung-hsmmc [12530000.sdhci] using ADMA
>>> mmc0: new high speed SDHC card at address aaaa
>>> mmcblk0: mmc0:aaaa SL16G 14.8 GiB
>> I have also noticed some failures when writing to an eMMC device on one
>> of our Tegra boards. We have a simple eMMC write/read test and it is
>> currently failing because the data written does not match the source.
>>
>> I did not seem the same crash as reported here, however, in our case the
>> rootfs is NFS mounted and so probably would not. However, the bisect
>> points to this commit and reverting on top of -next fixes the issues.
> It is sdhci, probably related with max segment size, could you test the
> following patch:
>
> https://marc.info/?l=linux-mmc&m=155128334122951&w=2

This seems to be fixing my issue too! Thanks!

It also fixed the boot issue from USB stick (Exynos EHCI / Mass
Storage), but I suspect that reading the partition table from the sd
card (which hold the bootloader and thus must be present to boot the
device) was enough to trash memory/page cache and break the boot process.

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH V15 14/18] block: enable multipage bvecs
  2019-02-28  7:51           ` Marek Szyprowski
@ 2019-02-28 12:39             ` Jon Hunter
  0 siblings, 0 replies; 4+ messages in thread
From: Jon Hunter @ 2019-02-28 12:39 UTC (permalink / raw)
  To: Marek Szyprowski, Ming Lei
  Cc: Jens Axboe, linux-block, linux-kernel, linux-mm,
	Theodore Ts'o, Omar Sandoval, Sagi Grimberg, Dave Chinner,
	Kent Overstreet, Mike Snitzer, dm-devel, Alexander Viro,
	linux-fsdevel, linux-raid, David Sterba, linux-btrfs,
	Darrick J . Wong, linux-xfs, Gao Xiang, Christoph Hellwig,
	linux-ext4, Coly Li, linux-bcache, Boaz Harrosh


On 28/02/2019 07:51, Marek Szyprowski wrote:
> Hi Ming,
> 
> On 2019-02-28 00:29, Ming Lei wrote:
>> On Wed, Feb 27, 2019 at 08:47:09PM +0000, Jon Hunter wrote:
>>> On 21/02/2019 08:42, Marek Szyprowski wrote:
>>>> On 2019-02-15 12:13, Ming Lei wrote:
>>>>> This patch pulls the trigger for multi-page bvecs.
>>>>>
>>>>> Reviewed-by: Omar Sandoval <osandov@fb.com>
>>>>> Signed-off-by: Ming Lei <ming.lei@redhat.com>
>>>> Since Linux next-20190218 I've observed problems with block layer on one
>>>> of my test devices (Odroid U3 with EXT4 rootfs on SD card). Bisecting
>>>> this issue led me to this change. This is also the first linux-next
>>>> release with this change merged. The issue is fully reproducible and can
>>>> be observed in the following kernel log:
>>>>
>>>> sdhci: Secure Digital Host Controller Interface driver
>>>> sdhci: Copyright(c) Pierre Ossman
>>>> s3c-sdhci 12530000.sdhci: clock source 2: mmc_busclk.2 (100000000 Hz)
>>>> s3c-sdhci 12530000.sdhci: Got CD GPIO
>>>> mmc0: SDHCI controller on samsung-hsmmc [12530000.sdhci] using ADMA
>>>> mmc0: new high speed SDHC card at address aaaa
>>>> mmcblk0: mmc0:aaaa SL16G 14.8 GiB
>>> I have also noticed some failures when writing to an eMMC device on one
>>> of our Tegra boards. We have a simple eMMC write/read test and it is
>>> currently failing because the data written does not match the source.
>>>
>>> I did not seem the same crash as reported here, however, in our case the
>>> rootfs is NFS mounted and so probably would not. However, the bisect
>>> points to this commit and reverting on top of -next fixes the issues.
>> It is sdhci, probably related with max segment size, could you test the
>> following patch:
>>
>> https://marc.info/?l=linux-mmc&m=155128334122951&w=2
> 
> This seems to be fixing my issue too! Thanks!

Thanks, I can confirm this fixes the issue for Tegra. So feel free to
add my ...

Tested-by: Jon Hunter <jonathanh@nvidia.com>

Cheers!
Jon

-- 
nvpublic

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-28 12:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20190215111324.30129-1-ming.lei@redhat.com>
     [not found] ` <20190215111324.30129-15-ming.lei@redhat.com>
     [not found]   ` <CGME20190221084301eucas1p11e8841a62b4b1da3cccca661b6f4c29d@eucas1p1.samsung.com>
     [not found]     ` <6c9ae4de-c56f-a2b3-2542-da7d8b95601d@samsung.com>
2019-02-27 20:47       ` [PATCH V15 14/18] block: enable multipage bvecs Jon Hunter
2019-02-27 23:29         ` Ming Lei
2019-02-28  7:51           ` Marek Szyprowski
2019-02-28 12:39             ` Jon Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox