From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933167AbcEKOAJ (ORCPT ); Wed, 11 May 2016 10:00:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58811 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932664AbcEKOAG (ORCPT ); Wed, 11 May 2016 10:00:06 -0400 Subject: Re: [PATCH 2/6] mpt3sas: Handle active cable exception event To: Chaitra P B , jejb@kernel.org, hch@infradead.org References: <1462525171-6877-1-git-send-email-chaitra.basappa@broadcom.com> <1462525171-6877-3-git-send-email-chaitra.basappa@broadcom.com> Cc: martin.petersen@oracle.com, linux-scsi@vger.kernel.org, JBottomley@Parallels.com, Sathya.Prakash@broadcom.com, suganath-prabu.subramani@broadcom.com, linux-kernel@vger.kernel.org From: Tomas Henzl Message-ID: <57333AE3.3090205@redhat.com> Date: Wed, 11 May 2016 16:00:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <1462525171-6877-3-git-send-email-chaitra.basappa@broadcom.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 11 May 2016 14:00:06 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6.5.2016 10:59, Chaitra P B wrote: > In-order to handle this 'MPI2_EVENT_ACTIVE_CABLE_EXCEPTION' event, > driver need to follow below steps, > 1. Unmask the 'MPI2_EVENT_ACTIVE_CABLE_EXCEPTION' event, > so that FW can notify this event to host driver. > 2. After receiving this event, add this event to AEN event queue, > for notifying this event to applications. > 3. Then Print below message in kernel logs if the event data's reason > code is zero, > "Currently an active cable with ReceptacleID cannot be powered > and devices connected to this active cable will not be seen. This active > cable requires of power" > > This event is only for Intruder/Cutlass HBAs. > > Signed-off-by: Chaitra P B Reviewed-by: Tomas Henzl Tomas