Suravee Suthikulpanit | 19 Dec 21:13 2014
Picon

[PATCH 0/2] Introduce ACPI support for ahci_platform driver

This patch series introduce ACPI support for non-PCI AHCI platform driver.
Existing ACPI support for AHCI assumes the device controller is a PCI device.

Also, since there is no ACPI _HID/_CID for generic AHCI controller, the driver
could not use them for matching devices. Therefore, this patch introduces a mechanism
for drivers to match devices using ACPI _CLS method.

This patch series is rebased from:

    http://git.linaro.org/leg/acpi/acpi.git acpi-5.1-v6

This topic was discussed earlier here (as part of introducing support for
AMD Seattle SATA controller):

    http://marc.info/?l=linux-arm-kernel&m=141083492521584&w=2

Changes from RFC (https://lkml.org/lkml/2014/12/17/446)
	* Remove #ifdef and make non-ACPI version of the acpi_match_device_cls
	  as inline. (per Arnd)
	* Simplify logic to retrieve and evaluate _CLS handle. (per Hanjun)

Suravee Suthikulpanit (2):
  ACPI / scan: Add support for ACPI _CLS device matching
  ata: ahci_platform: Add ACPI _CLS matching

 drivers/acpi/scan.c             | 63 +++++++++++++++++++++++++++++++++++++++++
 drivers/ata/Kconfig             |  2 +-
 drivers/ata/ahci_platform.c     |  3 ++
 include/acpi/acnames.h          |  1 +
 include/linux/acpi.h            | 12 +++++++-
(Continue reading)

Dale R. Worley | 19 Dec 00:12 2014
Picon

Driver for Initio inic162x

I am running kernel 3.14.23, specifically

# uname -a
Linux freeze.ariadne.com 3.14.23-100.fc19.i686.PAE #1 SMP Thu Oct 30 18:49:10 UTC 2014 i686 i686 i386 GNU/Linux

I've installed a SATA controller which seems to use the Initio inic162x
chip.  When it is booted, the kernel reports

Nov 23 23:31:25 localhost kernel: [    2.055310] sata_inic162x 0000:02:09.0: inic162x support is broken
with common data corruption issues and will be disabled by default, contact linux-ide <at> vger.kernel.org
if in production use

For the time being, I've attached the SATA disk using a "Diablo"
USB-to-SATA dongle, but I'd really like to use the controller card that
I've installed.

The discussions I've been able to find online are very thin, but it
appears that the problem is with the driver, not the controller chip.
Has anyone looked into fixing whatever the problem is?

http://www.spinics.net/lists/linux-ide/msg06499.html
http://www.spinics.net/lists/linux-ide/msg22920.html
http://www.spinics.net/lists/linux-ide/msg49293.html

Thanks,

Dale
--
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)

Shaohua Li | 18 Dec 19:46 2014

[PATCH v2 1/3] block: support different tag allocation policy

The libata tag allocation is using a round-robin policy. Next patch will
make libata use block generic tag allocation, so let's add a policy to
tag allocation.

Currently two policies: FIFO (default) and round-robin.

Cc: Jens Axboe <axboe <at> fb.com>
Cc: Tejun Heo <tj <at> kernel.org>
Cc: Christoph Hellwig <hch <at> infradead.org>
Signed-off-by: Shaohua Li <shli <at> fb.com>
---
 block/blk-tag.c          | 33 +++++++++++++++++++++++++--------
 drivers/block/osdblk.c   |  2 +-
 drivers/scsi/scsi_scan.c |  3 ++-
 include/linux/blkdev.h   |  8 ++++++--
 include/scsi/scsi_host.h |  3 +++
 include/scsi/scsi_tcq.h  |  3 ++-
 6 files changed, 39 insertions(+), 13 deletions(-)

diff --git a/block/blk-tag.c b/block/blk-tag.c
index a185b86..f0344e6 100644
--- a/block/blk-tag.c
+++ b/block/blk-tag.c
 <at>  <at>  -119,7 +119,7  <at>  <at>  init_tag_map(struct request_queue *q, struct blk_queue_tag *tags, int depth)
 }

 static struct blk_queue_tag *__blk_queue_init_tags(struct request_queue *q,
-						   int depth)
+						int depth, int alloc_policy)
 {
(Continue reading)

Suman Tripathi | 17 Dec 18:27 2014

[PATCH v1 2/2] ahci_xgene: Fix the DMA state machine lockup for the ATA_CMD_PACKET PIO mode command.

This patch addresses the issue with ATA_CMD_PACKET pio mode
command for enumeration and device detection with ATAPI devices.It is the
same issue as in patch

www.spinics.net/lists/linux-ide/msg49092.html

Signed-off-by: Suman Tripathi <stripathi <at> apm.com>
---
 drivers/ata/ahci_xgene.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c
index 0ffd3c9..d332161 100644
--- a/drivers/ata/ahci_xgene.c
+++ b/drivers/ata/ahci_xgene.c
 <at>  <at>  -125,10 +125,11  <at>  <at>  static int xgene_ahci_restart_engine(struct ata_port *ap)
  * xgene_ahci_qc_issue - Issue commands to the device
  *  <at> qc: Command to issue
  *
- * Due to Hardware errata for IDENTIFY DEVICE command, the controller cannot
- * clear the BSY bit after receiving the PIO setup FIS. This results in the dma
- * state machine goes into the CMFatalErrorUpdate state and locks up. By
- * restarting the dma engine, it removes the controller out of lock up state.
+ * Due to Hardware errata for IDENTIFY DEVICE command and PACKET
+ * command of ATAPI protocol set, the controller cannot clear the BSY bit
+ * after receiving the PIO setup FIS. This results in the DMA state machine
+ * going into the CMFatalErrorUpdate state and locks up. By restarting the
+ * DMA engine, it removes the controller out of lock up state.
  */
 static unsigned int xgene_ahci_qc_issue(struct ata_queued_cmd *qc)
(Continue reading)

Suman Tripathi | 17 Dec 18:27 2014

[PATCH v1 1/2] ahci_xgene: Fix the endianess issue in APM X-Gene SoC AHCI SATA controller driver.

This patch fixes the big endian mode issue with function
xgene_ahci_read_id.

Signed-off-by: Suman Tripathi <stripathi <at> apm.com>
---
 drivers/ata/ahci_xgene.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c
index 0f8538f..0ffd3c9 100644
--- a/drivers/ata/ahci_xgene.c
+++ b/drivers/ata/ahci_xgene.c
 <at>  <at>  -188,7 +188,7  <at>  <at>  static unsigned int xgene_ahci_read_id(struct ata_device *dev,
 	 *
 	 * Clear reserved bit 8 (DEVSLP bit) as we don't support DEVSLP
 	 */
-	id[ATA_ID_FEATURE_SUPP] &= ~(1 << 8);
+	id[ATA_ID_FEATURE_SUPP] &= cpu_to_le16(~(1 << 8));

 	return 0;
 }
--
1.8.2.1

--
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)

Shaohua Li | 15 Dec 04:21 2014

[PATCH 1/2] block: support different tag allocation policy

The libata tag allocation is using a round-robin policy. Next patch will
make libata use block generic tag allocation, so let's add a policy to
tag allocation.

Currently two policies: FIFO (default) and round-robin.

Cc: Jens Axboe <axboe <at> fb.com>
Cc: Tejun Heo <tj <at> kernel.org>
Signed-off-by: Shaohua Li <shli <at> fb.com>
---
 block/blk-tag.c          | 33 +++++++++++++++++++++++++--------
 drivers/block/osdblk.c   |  2 +-
 drivers/scsi/scsi_scan.c |  3 ++-
 include/linux/blkdev.h   |  8 ++++++--
 include/scsi/scsi_host.h |  3 +++
 include/scsi/scsi_tcq.h  |  2 +-
 6 files changed, 38 insertions(+), 13 deletions(-)

diff --git a/block/blk-tag.c b/block/blk-tag.c
index a185b86..f0344e6 100644
--- a/block/blk-tag.c
+++ b/block/blk-tag.c
 <at>  <at>  -119,7 +119,7  <at>  <at>  init_tag_map(struct request_queue *q, struct blk_queue_tag *tags, int depth)
 }

 static struct blk_queue_tag *__blk_queue_init_tags(struct request_queue *q,
-						   int depth)
+						int depth, int alloc_policy)
 {
 	struct blk_queue_tag *tags;
(Continue reading)

Picon

r lny konvëu˙_šÚąŸ8šž9¸ž

Pozdrawiamy}{,

--
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

luv2charitys | 14 Dec 03:03 2014
Picon

charity message

Hello,this is Mr Paul N,i sent you an email on charity work but i am yet
to hear fom you,do reply with this code CHA-2015 to my email address
paulcharity <at> qq.com  i Look forward to hearing from you this time,God
bless  Brother Paul 
--
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

Mrs. Sarietta Coetzee | 13 Dec 12:22 2014
Picon

Mrs.Sarietta Coetzee please open the attached file for more"information please get back to me

Mrs.Sarietta Coetzee 

please open the attached file for more"information 
please get back to me
Attachment (FROM MRS SARIETTA COETZEE.docx): application/vnd.openxmlformats-officedocument.wordprocessingml.document, 17 KiB
Daniel Golle | 13 Dec 01:07 2014

[PATCH v2] libata: add ledtrig support

This adds a LED trigger for each ATA port indicating disk activity.

As this is needed only on specific platforms (NAS SoCs and such),
these platforms should define ARCH_WANTS_LIBATA_LEDS if there
are boards with LED(s) intended to indicate ATA disk activity and
need the OS to take care of that.
In that way, if not selected, LED trigger support not will be
included in libata-core and both, codepaths and structures remain
untouched.

I'm currently deploying this for the oxnas target in OpenWrt
https://dev.openwrt.org/changeset/43675/

v2: rebased to kernel/git/tj/libata.git
    plus small corrections and comments added

Signed-off-by: Daniel Golle <daniel <at> makrotopia.org>
---

If there is anything fundamentally wrong with that approach, I'd be
glad for some advise on how to do it better.
I conciously choose an #ifdev approach to make sure performance will
not be affected for non-users of that code.

Thanks

Daniel

---
 drivers/ata/Kconfig       | 16 ++++++++++++++
(Continue reading)

David Miller | 12 Dec 22:00 2014
Picon

[GIT] IDE


Please pull to get these two small IDE layer adjustments.

Thanks!

The following changes since commit 6ce4436c9cbe903af935291aa219fd6f4c85722d:

  Merge tag 'please-pull-morepstore' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux
(2014-12-12 11:34:13 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide.git master

for you to fetch changes up to ca957b6a34a6f7014828f235e35c1945cb955795:

  drivers: ide: Fix mostly harmless off-by-one hardcoded value (2014-12-12 15:26:31 -0500)

----------------------------------------------------------------
Markus Elfring (1):
      IDE: Deletion of an unnecessary check before the function call "module_put"

Rasmus Villemoes (1):
      drivers: ide: Fix mostly harmless off-by-one hardcoded value

 drivers/ide/ide-floppy.c | 4 ++--
 drivers/ide/ide.c        | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
(Continue reading)


Gmane