Skip to contentSkip to conversation

fsl_sata: Move the snoop bit to another place

PATCH Superseded Dave Liu 3 participants 5 messages Apr 8, 2010 – Apr 12, 2010 Block layer

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Dave Liu

author
#0 lore raw

PATCH 2/2 fsl_sata: Move the snoop bit to another place

For P1022 SATA host controller, the data snoop bit of DW3 in PRDT is moved to bit28.

---
* address Kumar's comments

 drivers/block/fsl_sata.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/block/fsl_sata.h +4 -0
index 18e88fa..4fd426d 100644
@@ -244,7 +244,11 @@ typedef struct prd_entry {
 /* ext_c_ddc
 */
 #define PRD_ENTRY_EXT		0x80000000 /* extension flag or called indirect descriptor flag */
+#ifdef CONFIG_FSL_SATA_V2
+#define PRD_ENTRY_DATA_SNOOP	0x10000000 /* Snoop enable for all data associated with the PRD entry */
+#else
 #define PRD_ENTRY_DATA_SNOOP	0x00400000 /* Snoop enable for all data associated with the PRD entry */
+#endif
 #define PRD_ENTRY_LEN_MASK	0x003fffff /* Data word count */
 
 #define PRD_ENTRY_MAX_XFER_SZ	(PRD_ENTRY_LEN_MASK + 1)
Signature · 1 line
1.6.4
Applied
#1 lore raw

PATCH 2/2 fsl_sata: Move the snoop bit to another place

Quoted 9 lines · Dave Liu

For P1022 SATA host controller, the data snoop bit of DW3 in PRDT is moved to bit28.

---
* address Kumar's comments

drivers/block/fsl_sata.h | 4 ++++

1 files changed, 4 insertions(+), 0 deletions(-)

applied to 85xx

- k

#2 lore raw

PATCH 2/2 fsl_sata: Move the snoop bit to another place

Dear Kumar Gala,

Quoted 6 lines · In message <[email protected]> you wrote:
Quoted 3 lines · Dave Liu

For P1022 SATA host controller, the data snoop bit of DW3 in PRDT is moved to bit28.

Quoted 8 lines
Quoted 6 lines

---
* address Kumar's comments

drivers/block/fsl_sata.h | 4 ++++

1 files changed, 4 insertions(+), 0 deletions(-)

applied to 85xx

NAK.

Please allow at least for a few days of reviewing.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Man is the best computer we can put aboard a spacecraft ...  and  the
only one that can be mass produced with unskilled labor.
                                                  - Wernher von Braun
#3 lore raw

PATCH 2/2 fsl_sata: Move the snoop bit to another place

Quoted 18 lines · Wolfgang Denk

Dear Kumar Gala,

Quoted 6 lines · In message <[email protected]> you wrote:
Quoted 3 lines · Dave Liu

For P1022 SATA host controller, the data snoop bit of DW3 in PRDT is moved to bit28.

Quoted 8 lines
Quoted 6 lines

---
* address Kumar's comments

drivers/block/fsl_sata.h | 4 ++++

1 files changed, 4 insertions(+), 0 deletions(-)

applied to 85xx

Quoted 7 lines

NAK.

Please allow at least for a few days of reviewing.

Best regards,

Wolfgang Denk

dropped, Dave please fix up.

- k

#4 lore raw

PATCH 2/2 fsl_sata: Move the snoop bit to another place

In reply to Dave Liu

Dear Dave Liu,

Quoted 15 lines · In message <[email protected]> you wrote:

For P1022 SATA host controller, the data snoop bit of DW3 in PRDT is moved to bit28.

---
* address Kumar's comments

 drivers/block/fsl_sata.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/block/fsl_sata.h +0 -0
index 18e88fa..4fd426d 100644

drivers/block/fsl_sata.h typedef struct prd_entry { · line 250

Quoted 7 lines
drivers/block/fsl_sata.h +3 -0
@@ -244,7 +244,11 @@ typedef struct prd_entry {
 /* ext_c_ddc
 */
 #define PRD_ENTRY_EXT		0x80000000 /* extension flag or called indirect descriptor flag */
+#ifdef CONFIG_FSL_SATA_V2
+#define PRD_ENTRY_DATA_SNOOP	0x10000000 /* Snoop enable for all data associated with the PRD entry */
+#else
 #define PRD_ENTRY_DATA_SNOOP	0x00400000 /* Snoop enable for all data associated with the PRD entry */

Lines too long.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"What if" is a trademark of Hewlett Packard, so stop using it in your
sentences without permission, or risk being sued.