From patchwork Thu Dec 7 15:25:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Kennedy X-Patchwork-Id: 845707 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=oracle.com header.i=@oracle.com header.b="MRkjne5x"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yt2Mk60n3z9sNx for ; Fri, 8 Dec 2017 04:21:38 +1100 (AEDT) Received: from localhost ([::1]:33543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMzrc-0006WO-NC for incoming@patchwork.ozlabs.org; Thu, 07 Dec 2017 12:21:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMy36-0006vK-RW for qemu-devel@nongnu.org; Thu, 07 Dec 2017 10:25:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMy31-0005UV-EM for qemu-devel@nongnu.org; Thu, 07 Dec 2017 10:25:20 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:59696) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eMy31-0005SA-1s for qemu-devel@nongnu.org; Thu, 07 Dec 2017 10:25:15 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.21/8.16.0.21) with SMTP id vB7FMKOC020126 for ; Thu, 7 Dec 2017 15:25:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : references : to : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=b3BkzmiQ49SbYuCl0U+iP3a+LtoaOFXjVTr77qXxngI=; b=MRkjne5xt1z54FuUUfjnf9bZyV8eb7iBo29YkeFJpeyk4XvpKpYsNyxxOLZXqNHFZN67 2VGQ4FIbUMv2HdF+sfTnAp/Tk7EeEAVnBHRPdoK+RKOKMFqL0JXXRg8qSy8CqfjBXZK2 4HHTwrF8CRxnN4zQHC1gLsVKzWs/mZ4lvplpqbNwswKsSeZ0SBQpJEeSeQWjnHm44BZy PhEgkkWMUB2UWU3Fbg+DpL9hb/GboZW8VZ4gtMF5zFdLDAr8hwWdTOb1FIQpMtmBZFGM sjgbZeaU+Y+YyYDLmgl0LEbKEl2GH6M5GL5CWPxkL74oPE1YBzYY+r3RkVTHd5UyO1yK +A== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2epd12qvhd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 07 Dec 2017 15:25:12 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vB7FPBbm023394 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 7 Dec 2017 15:25:11 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vB7FPAkb008498 for ; Thu, 7 Dec 2017 15:25:11 GMT Received: from [10.152.35.216] (/10.152.35.216) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Dec 2017 07:25:10 -0800 References: <1511980051-20457-2-git-send-email-george.kennedy@oracle.com> To: qemu-devel@nongnu.org From: George Kennedy Organization: Oracle Corporation X-Forwarded-Message-Id: <1511980051-20457-2-git-send-email-george.kennedy@oracle.com> Message-ID: Date: Thu, 7 Dec 2017 10:25:35 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1511980051-20457-2-git-send-email-george.kennedy@oracle.com> Content-Language: en-US X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8737 signatures=668643 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1712070227 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.85 X-Mailman-Approved-At: Thu, 07 Dec 2017 12:18:30 -0500 Subject: [Qemu-devel] [Qemu-trivial] [PATCH] lsi_scsi: add support for PPR Extended Message X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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(+) diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c index 595c260..1e02a89 100644 --- a/hw/scsi/lsi53c895a.c +++ b/hw/scsi/lsi53c895a.c @@ -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; }