program12 | 29 May 02:44 2016

Hello

Hi,
I am Kristi and i saw your contact through google page of your country which impress me and i feel we can be
friends to share ideals and reason together for good,if not bad then let us know more about each other and i
hope there will be no problem for us to be friend with no bad intention.You can also reply me through
email(cplkristibakar <at> outlook.com) so that i can share details about myself, i will be waiting to hear
from you soon. 
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Wei Fang | 28 May 05:51 2016

[PATCH] scsi: fix race between simultaneous decrements of ->host_failed

async_sas_ata_eh(), which will call scsi_eh_finish_cmd() in some case,
would be performed simultaneously in sas_ata_strategy_handler(). In this
case, ->host_failed may be decreased simultaneously in
scsi_eh_finish_cmd() on different CPUs, and become abnormal.

It will lead to permanently inequal between ->host_failed and
 ->host_busy. Then SCSI error handler thread won't become running,
SCSI errors after that won't be handled forever.

Use atomic type for ->host_failed to fix this race.

Signed-off-by: Wei Fang <fangwei1 <at> huawei.com>
---
 drivers/ata/libata-eh.c             |    2 +-
 drivers/scsi/libsas/sas_scsi_host.c |    5 +++--
 drivers/scsi/scsi.c                 |    2 +-
 drivers/scsi/scsi_error.c           |   15 +++++++++------
 drivers/scsi/scsi_lib.c             |    3 ++-
 include/scsi/scsi_host.h            |    2 +-
 6 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index 961acc7..a0e7612 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
 <at>  <at>  -606,7 +606,7  <at>  <at>  void ata_scsi_error(struct Scsi_Host *host)
 	ata_scsi_port_error_handler(host, ap);

 	/* finish or retry handled scmd's and clean up */
-	WARN_ON(host->host_failed || !list_empty(&eh_work_q));
(Continue reading)

Mason | 27 May 19:33 2016
Picon

Re: sata_dwc_460ex driver

On 27/05/2016 17:12, Christian Lamparter wrote:

> As far as I know, the ahci dwc core can be supported via the libahci of.
> The binding is already present.
> See http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/ata/ahci-platform.txt
> (snps,dwc-ahci). The SATA_dwc_460ex is not necessary in this case.

Hello Christian,

Thanks for the information.

By the way, I see no difference between using "snps,dwc-ahci"
and "generic-ahci" compatible strings, correct?

Note: I've added linux-ide back to the mix ;-)

Regards.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Mason | 27 May 16:54 2016
Picon

sata_dwc_460ex driver

Hello everyone,

I'm working on a SoC which embeds an IP block from Synopsys labeled
Synopsys DesignWare Cores Serial ATA AHCI Core, aka DWC_ahsata
(DWC SATA AHCI Host 6Gb/s AXI Interface).

Would the sata_dwc_460ex driver support this DWC_ahsata hardware?

I suppose I would also need to enable AHCI support, right?

What is the difference between SATA_AHCI and SATA_AHCI_PLATFORM ?

SATA_AHCI          = 971db06e09231
SATA_AHCI_PLATFORM = 1c2a49f61785e

If I understand correctly, SATA_AHCI is for platforms with a PCI bus,
while SATA_AHCI_PLATFORM is for other platforms. I probably want the
latter then?

On the analog side, the SATA PHY is also made by Synopsys.
Do I need to enable a specific driver?
I didn't see anything relevant in drivers/phy

(The documentation mentions 11 registers for tweaking the controller,
but maybe it's the boot-loader's job to set this up correctly?)

Regards.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo <at> vger.kernel.org
(Continue reading)

DR. JOHN AXILLA | 26 May 15:05 2016
Picon

(unknown)


Open the attachment file 
Peter Rabbitson | 23 May 23:01 2016
Picon

Kernel option to disable TRIM/discard system-wide?

Hello!

I have looked through the archives, but can not find anything even 
remotely related to the subject:

I want to disable trim on my system for good - yet there seems to be no 
kernel boot parameter for this.

My rationale is simple: I want best data integrity guarantees, followed 
by better battery-life + mechanical robustness (I throw my laptop around 
a lot), and only last am I concerned about performance.

There seem to be a new TRIM-related bug discovered every couple months 
for quite some time now. Combined with the "metadata leak via dm-crypt" 
makes it a no-brainer decision that I want to avoid TRIM system-wide.

I currently have my sytsem configured properly, but I am concerned a 
future OS upgrade will introduce some well meaning cron-job or something 
along these lines that will re-enable discards without me ever noticing.

Is there a boot parameter I can hard-code for forward-compatible peace 
of mind?

Thank you!
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Tejun Heo | 23 May 17:09 2016

[GIT PULL] libata sata_dwc_460ex changes for v4.7-rc1

Hello, Linus.

Patches to bring sata_dwc_460ex up to snuff.  It's a separate pull
request because it depends on dmaengine dw platform changes which are
now in mainline.

Thanks.

The following changes since commit 3a14c66d43d018baed96ceb74f9ab548878c09b8:

  dmaengine: dw: pass platform data via struct dw_dma_chip (2016-05-02 15:31:05 +0530)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata.git for-4.7-dw

for you to fetch changes up to 7598469a6184e1017a77ebe78b5b66c52a6afc1c:

  ata: dwc: add DMADEVICES dependency (2016-05-12 12:04:13 -0400)

----------------------------------------------------------------
Andy Shevchenko (11):
      ata: sata_dwc_460ex: set dma_boundary to 0x1fff
      ata: sata_dwc_460ex: burst size must be in items not bytes
      ata: sata_dwc_460ex: DMA is always a flow controller
      ata: sata_dwc_460ex: select only core part of DMA driver
      ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands
      ata: sata_dwc_460ex: correct HOSTDEV{P}_FROM_*() macros
      ata: sata_dwc_460ex: switch to new dmaengine_terminate_* API
      ata: sata_dwc_460ex: use devm_ioremap
(Continue reading)

MRS. LIRA MANDOZA | 22 May 21:11 2016

THIS IS FROM MRS. LIRA MANDOZA


PLEASE KINDLY READ MY EMAIL ATTACHMENT AND GET BACK TO ME. I NEED YOUR ASSISTANCE.
Attachment (Mrs Lira Mandoza.pdf): application/pdf, 197 KiB
Javier Martinez Canillas | 18 May 22:11 2016

[PATCH] ata: Use IS_ENABLED() instead of checking for built-in or module

The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either
built-in or as a module, use that macro instead of open coding the same.

Signed-off-by: Javier Martinez Canillas <javier <at> osg.samsung.com>
---

 drivers/ata/ahci.c         | 2 +-
 drivers/ata/pata_marvell.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index a83bbcc58b4c..90eabaf81215 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
 <at>  <at>  -580,7 +580,7  <at>  <at>  static struct pci_driver ahci_pci_driver = {
 	},
 };

-#if defined(CONFIG_PATA_MARVELL) || defined(CONFIG_PATA_MARVELL_MODULE)
+#if IS_ENABLED(CONFIG_PATA_MARVELL)
 static int marvell_enable;
 #else
 static int marvell_enable = 1;
diff --git a/drivers/ata/pata_marvell.c b/drivers/ata/pata_marvell.c
index ae9feb1ba8f7..ff468a6fd8dd 100644
--- a/drivers/ata/pata_marvell.c
+++ b/drivers/ata/pata_marvell.c
 <at>  <at>  -146,7 +146,7  <at>  <at>  static int marvell_init_one (struct pci_dev *pdev, const struct pci_device_id *i
 	if (pdev->device == 0x6101)
 		ppi[1] = &ata_dummy_port_info;
(Continue reading)

MRS GRACE MANDA | 18 May 10:49 2016
Picon

FROM GRACE MANDA ( PLEASE VIEW THE ATTACHMENT FILE )


From Mrs. Grace Manda 

Formal worker in South Africa Gold panning association 
Email : msgraceemanda <at> yahoo.co.za 

Please view the attachment file 

Thank you 
Mrs. Grace Manda and Son Brian 
Attachment (Mrs Grace Manda.pdf): application/pdf, 180 KiB
Damien Le Moal | 18 May 02:53 2016

[PATCH 3/3] libata: Fix ATA_CMD_NCQ_NON_DATA processing

For this NCQ command, ata_is_data and ata_is_dma
always return true since its protocol is ATA_PROT_NCQ.
Since this command has no data, both should return false.
This is fixed by changing the interface of these two
functions to take a pointer to the command task file
so that the command code can be tested in addition to
the command protocol value.

Signed-off-by: Damien Le Moal <damien.lemoal <at> hgst.com>
---
  drivers/ata/libata-core.c    |  4 ++--
  drivers/ata/libata-sff.c     | 10 +++++-----
  drivers/ata/pata_arasan_cf.c |  4 ++--
  drivers/ata/sata_dwc_460ex.c |  6 +++---
  drivers/ata/sata_inic162x.c  |  4 ++--
  drivers/ata/sata_sil.c       |  4 ++--
  drivers/ata/sata_sil24.c     |  4 ++--
  include/linux/libata.h       | 18 ++++++++++++++----
  8 files changed, 32 insertions(+), 22 deletions(-)

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 97f3170..54acdb0 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
 <at>  <at>  -5246,11 +5246,11  <at>  <at>  void ata_qc_issue(struct ata_queued_cmd *qc)
  	 * We guarantee to LLDs that they will have at least one
  	 * non-zero sg if the command is a data command.
  	 */
-	if (WARN_ON_ONCE(ata_is_data(prot) &&
+	if (WARN_ON_ONCE(ata_is_data(&qc->tf) &&
(Continue reading)


Gmane