On 12/01/19 4:31 AM, Evan Green wrote:
> Expose a reset controller that the phy can use to perform its
> initialization in a single callback.
>
> Also, change the use of the phy functions from ufs-qcom such that
> phy_poweron actually fires up the phy, and phy_poweroff actually
> powers it down
On 09/01/2019 16:38, Jeffrey Hugo wrote:
>> On 11/12/2018 15:18, Marc Gonzalez wrote:
>>
>>> memcpy_fromio() doesn't provide any control over access size.
>>> For example, on arm64, it is implemented using readb and readq.
>>> This may trigger a synchronous external abort:
>>>
>>> [3.729943] I
>
> On 09/01/2019 16:38, Jeffrey Hugo wrote:
>
> >> On 11/12/2018 15:18, Marc Gonzalez wrote:
> >>
> >>> memcpy_fromio() doesn't provide any control over access size.
> >>> For example, on arm64, it is implemented using readb and readq.
> >>> This may trigger a synchronous external abort:
> >>>
>
On Wed, 2019-01-16 at 08:35 +0100, Hannes Reinecke wrote:
> If the device is _not_ removable we should not start the event
> poller as the media will not go away. Having the event poller running
> will block the open() call as it will try to flush outstanding
> events,
> which it can't if the devic
On 1/16/19 11:26 AM, Martin Wilck wrote:
On Wed, 2019-01-16 at 08:35 +0100, Hannes Reinecke wrote:
If the device is _not_ removable we should not start the event
poller as the media will not go away. Having the event poller running
will block the open() call as it will try to flush outstanding
e
On Wed, 2019-01-16 at 11:32 +0100, Hannes Reinecke wrote:
> On 1/16/19 11:26 AM, Martin Wilck wrote:
> > On Wed, 2019-01-16 at 08:35 +0100, Hannes Reinecke wrote:
> > > If the device is _not_ removable we should not start the event
> > > poller as the media will not go away. Having the event poller
On 16/01/2019 02:54, Martin K. Petersen wrote:
Hi John,
Hi Martin,
So in this case I think that accessor functions are actually better
because they allow us to print a big fat warning when you twiddle
something you shouldn't post-initialization. So that's something I think
we could--and sho
The block layer assumes scsi_request:sense is always a valid
pointer. This is set up once in scsi_mq_init_request() and the
containing scsi_cmnd object is used often, being re-initialized
by scsi_init_command(). That works unless some code re-purposes
part of the scsi_cmnd object for something else
When a host driver sets a maximum segment size we should not only
propagate that setting to the block layer, which can merge segments,
but also to the DMA mapping layer which can merge segments as well.
Fixes: 50c2e9107f ("scsi: introduce a max_segment_size host_template
parameters")
Signed-off-b
On 2019-01-16 5:58 a.m., Martin Wilck wrote:
On Wed, 2019-01-16 at 11:32 +0100, Hannes Reinecke wrote:
On 1/16/19 11:26 AM, Martin Wilck wrote:
On Wed, 2019-01-16 at 08:35 +0100, Hannes Reinecke wrote:
If the device is _not_ removable we should not start the event
poller as the media will not
Ping
If these types of disks (ones that can fast format between 512 and
4096 bytes) are not out in the field yet, they soon will be. This
problem requires a hard reboot (i.e. hold you finger on the power
button for 5-10 seconds). Sad
Doug Gilbert
On 2018-12-24 9:19 p.m., Douglas Gilb
Doug,
> If these types of disks (ones that can fast format between 512 and
> 4096 bytes) are not out in the field yet, they soon will be. This
> problem requires a hard reboot (i.e. hold you finger on the power
> button for 5-10 seconds). Sad
Do we get a notification from the drive that in
On 2019-01-16 11:44 a.m., Martin K. Petersen wrote:
Doug,
If these types of disks (ones that can fast format between 512 and
4096 bytes) are not out in the field yet, they soon will be. This
problem requires a hard reboot (i.e. hold you finger on the power
button for 5-10 seconds). Sad
On Wed, 2019-01-16 at 08:35 +0100, Hannes Reinecke wrote:
> If the device is _not_ removable we should not start the event
> poller as the media will not go away. Having the event poller running
> will block the open() call as it will try to flush outstanding events,
> which it can't if the device
On 2019-01-16 11:55 a.m., Douglas Gilbert wrote:
On 2019-01-16 11:44 a.m., Martin K. Petersen wrote:
Doug,
If these types of disks (ones that can fast format between 512 and
4096 bytes) are not out in the field yet, they soon will be. This
problem requires a hard reboot (i.e. hold you finger
On Wed, 2019-01-16 at 11:32 -0500, Douglas Gilbert wrote:
> On 2019-01-16 5:58 a.m., Martin Wilck wrote:
> > On Wed, 2019-01-16 at 11:32 +0100, Hannes Reinecke wrote:
> > > On 1/16/19 11:26 AM, Martin Wilck wrote:
> > > > On Wed, 2019-01-16 at 08:35 +0100, Hannes Reinecke wrote:
> > > > > If the de
On Sun, Jan 13, 2019 at 7:25 PM Zang Leigang wrote:
> I think there are two different issues:
>
> 1. clk_gating's state(including state's trace event) and is_suspended is not
> wrapped by ufshcd_is_clkgating_allowed which Hisilicon's kirin platoform
> soc does not need but is set and
Quoting Evan Green (2019-01-11 15:01:21)
>
> Because the UFS PHY reset bit is now toggled in the PHY, rather
> than in ufs-qcom, this also percolated to all other PHYs using
> ufs-qcom, which from what I can see is just 8996.
>
> There are a couple of tradeoffs in this series that I'd welcome fee
Fix potential NULL pointer dereference wich might happen in
beiscsi_alloc_mem(). If kmalloc_array() fails and mem_descr->mem_array
is set to NULL, then its dereferencing happens when passing
mem_descr->mem_array[] to dma_free_coherent().
Signed-off-by: Dmitry Voytik
---
Changes since v1:
- prev
On Wed, 2019-01-16 at 08:35 +0100, Hannes Reinecke wrote:
> If the device is _not_ removable we should not start the event
> poller as the media will not go away. Having the event poller running
> will block the open() call as it will try to flush outstanding
> events,
> which it can't if the devic
On Wed, 2019-01-16 at 10:57 -0500, Douglas Gilbert wrote:
> The block layer assumes scsi_request:sense is always a valid
> pointer. This is set up once in scsi_mq_init_request() and the
> containing scsi_cmnd object is used often, being re-initialized
> by scsi_init_command(). That works unless som
On 2019-01-16 6:56 p.m., Bart Van Assche wrote:
On Wed, 2019-01-16 at 10:57 -0500, Douglas Gilbert wrote:
The block layer assumes scsi_request:sense is always a valid
pointer. This is set up once in scsi_mq_init_request() and the
containing scsi_cmnd object is used often, being re-initialized
by
There is an update to the SCSI Generic (sg) v4 driver adding synchronous
and asynchronous bidi command support. Plus lots of fixes and some minor
improvements. See:
http://sg.danny.cz/sg/sg_v40.html
The kernel code is split in two in the tarball below, one targeting
lk 5.0 and the other targe
On Wed, 2019-01-16 at 19:54 -0500, Douglas Gilbert wrote:
> On 2019-01-16 6:56 p.m., Bart Van Assche wrote:
> > On Wed, 2019-01-16 at 10:57 -0500, Douglas Gilbert wrote:
> > > The block layer assumes scsi_request:sense is always a valid
> > > pointer. This is set up once in scsi_mq_init_request() a
Doug,
> except the I_T nexus on which the command causing the change was
> received with the additional sense code set to CAPACITY DATA HAS
> CHANGED."
>
> So seeing I'm using the I_T nexus that sent the FORMAT UNIT, then no
> Unit Attention is expected, as per above.
But that assumes that ther
Kishon,
> On 12/01/19 4:31 AM, Evan Green wrote:
>> Expose a reset controller that the phy can use to perform its
>> initialization in a single callback.
>>
>> Also, change the use of the phy functions from ufs-qcom such that
>> phy_poweron actually fires up the phy, and phy_poweroff actually
>
Bart,
> If any changes have been left out that is the result of an
> oversight. Can you clarify which changes you think are missing?
It appears you got everything. Things were just sliced and diced
slightly differently.
I'll run some tests and apply unless something breaks.
Thanks again for d
This patch series are against to mkp's 5.1/scsi-queue.
1. Due to dma_zalloc_coherent will be phase out, so use dma_alloc_coherent to
replace it.
2. Fix suspend/resume of ACB_ADAPTER_TYPE_B part 2.
3. Update driver version to v1.40.00.10-20190116
---
>From Ching Huang
Due to dma_zalloc_coherent will be phase out, so use dma_alloc_coherent to
replace
it.
Signed-off-by: Ching Huang
---
diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c
index 9f85d5a..5736434 100755
--- a/drivers/scsi/arcmsr/arcmsr_hba.c
+++ b/
>From Ching Huang
Fix suspend/resume of ACB_ADAPTER_TYPE_B part 2.
Signed-off-by: Ching Huang
---
diff --git a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h
index a94c513..b98c632 100755
--- a/drivers/scsi/arcmsr/arcmsr.h
+++ b/drivers/scsi/arcmsr/arcmsr.h
@@ -508,9 +508,9 @@ str
>From Ching Huang
Update driver version to v1.40.00.10-20190116.
Signed-off-by: Ching Huang
---
diff --git a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h
index b98c632..6033bcc 100755
--- a/drivers/scsi/arcmsr/arcmsr.h
+++ b/drivers/scsi/arcmsr/arcmsr.h
@@ -49,7 +49,7 @@ str
This patch series are against to mkp's 5.1/scsi-queue.
1. Due to dma_zalloc_coherent will be phase out, so use dma_alloc_coherent to
replace
it.
2. Fix suspend/resume of ACB_ADAPTER_TYPE_B part 2.
3. Update driver version to v1.40.00.10-20190116
---
> > Hello Tomas,
> >
> > >
> > > Define new a type: uc_string_id for easier string handling and less
> > > casting. Reduce number or string copies in price of a dynamic
> > > allocation.
> > >
> > > Signed-off-by: Tomas Winkler
> > Tested-by: Avri Altman
> >
> > Just one nit - doesn't really matt
33 matches
Mail list logo