Skip to contentSkip to conversation

lsi_scsi: add support for PPR Extended Message

PATCH New George Kennedy 2 participants 5 messages Dec 7, 2017 – Aug 17, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 lsi_scsi: add support for PPR Extended Message

The LSI 53c895a code does not handle the PPR Extended Message. Add support to handle PPR Extended Message like SDTR and WDTR are handled. That is, to skip past the message bytes and ignore the message.

---
 hw/scsi/lsi53c895a.c | 4 ++++
 1 file changed, 4 insertions(+)
hw/scsi/lsi53c895a.c +4 -0
index 595c260..1e02a89 100644
@@ -961,6 +961,10 @@ static void lsi_do_msgout(LSIState *s)
                 DPRINTF("WDTR (ignored)\n");
                 lsi_skip_msgbytes(s, 1);
                 break;
+            case 4:
+                DPRINTF("PPR (ignored)\n");
+                lsi_skip_msgbytes(s, 5);
+                break;
             default:
                 goto bad;
             }
Signature · 1 line
1.8.3.1
#2 lore raw

PATCH 1/1 lsi_scsi: add support for PPR Extended Message

The LSI 53c895a code does not handle the PPR Extended Message. Add support to handle PPR Extended Message like SDTR and WDTR are handled. That is, to skip past the message bytes and ignore the message.

---
 hw/scsi/lsi53c895a.c | 4 ++++
 1 file changed, 4 insertions(+)
hw/scsi/lsi53c895a.c +4 -0
index 595c260..1e02a89 100644
@@ -961,6 +961,10 @@ static void lsi_do_msgout(LSIState *s)
                 DPRINTF("WDTR (ignored)\n");
                 lsi_skip_msgbytes(s, 1);
                 break;
+            case 4:
+                DPRINTF("PPR (ignored)\n");
+                lsi_skip_msgbytes(s, 5);
+                break;
             default:
                 goto bad;
             }
Signature · 1 line
1.8.3.1
#3 lore raw
Quoted 20 lines · George Kennedy

The LSI 53c895a code does not handle the PPR Extended Message. Add support to handle PPR Extended Message like SDTR and WDTR are handled. That is, to skip past the message bytes and ignore the message.

---
 hw/scsi/lsi53c895a.c | 4 ++++

 1 file changed, 4 insertions(+)
hw/scsi/lsi53c895a.c +4 -0
index 595c260..1e02a89 100644
@@ -961,6 +961,10 @@ static void lsi_do_msgout(LSIState *s)
                  DPRINTF("WDTR (ignored)\n");
                  lsi_skip_msgbytes(s, 1);
                  break;
+            case 4:
+                DPRINTF("PPR (ignored)\n");
+                lsi_skip_msgbytes(s, 5);
+                break;
Quoted 3 lines

             default:
                 goto bad;
             }

Hi George,

for a patch to QEMU to be accepted, you need to confirm the origin of your patch (according to the "Developer Certificate of Origin", see
https://developercertificate.org/).

In order to do this, it's enough to reply to this message with "Signed-off-by: George Kennedy <[email protected]>" in the reply.

Thanks,

Paolo

#4 lore raw

Thank you Paolo,

"Signed-off-by: George Kennedy<[email protected]>"

George

Quoted 36 lines · Paolo Bonzini
Quoted 13 lines · George Kennedy

The LSI 53c895a code does not handle the PPR Extended Message. Add support to handle PPR Extended Message like SDTR and WDTR are handled. That is, to skip past the message bytes and ignore the message.

---
  hw/scsi/lsi53c895a.c | 4 ++++
  1 file changed, 4 insertions(+)
hw/scsi/lsi53c895a.c +0 -0
index 595c260..1e02a89 100644

hw/scsi/lsi53c895a.c static void lsi_do_msgout(LSIState *s) · line 970

Quoted 10 lines
hw/scsi/lsi53c895a.c +4 -0
@@ -961,6 +961,10 @@ static void lsi_do_msgout(LSIState *s)
                  DPRINTF("WDTR (ignored)\n");
                  lsi_skip_msgbytes(s, 1);
                  break;
+            case 4:
+                DPRINTF("PPR (ignored)\n");
+                lsi_skip_msgbytes(s, 5);
+                break;
              default:
                  goto bad;
              }

Hi George,

for a patch to QEMU to be accepted, you need to confirm the origin of your patch (according to the "Developer Certificate of Origin", see
https://developercertificate.org/).

In order to do this, it's enough to reply to this message with "Signed-off-by: George Kennedy <[email protected]>" in the reply.

Thanks,

Paolo