Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp419577rwe; Wed, 19 Apr 2023 00:24:41 -0700 (PDT) X-Google-Smtp-Source: AKy350YeReZvv9dQclFeFP9aLp82UFWVIswcdUAgIR8a23S7hSusXtvvN2jb6uze5cJjhoQXNPIT X-Received: by 2002:a05:6a00:21d1:b0:63b:84a4:7b0 with SMTP id t17-20020a056a0021d100b0063b84a407b0mr2631393pfj.30.1681889081005; Wed, 19 Apr 2023 00:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681889080; cv=none; d=google.com; s=arc-20160816; b=DJyA3oyZNNQwkJH1fv2s2yQll+e6pwaMFsxxG68yxNMtHwDQAx1zz7jYS+3n0cakqq Bn0Zj8umcTwE5ymvtySLUi2b9rMJleAsQAq6Ti4yoy0YKBzcdfeXjf+VBHovdgtYYVjD 0ebo6DwQQ57StLIFvZuKfPjFtDAETb/XM/a3h0NkHpav1Hrc4cLy4rb9cVRLAqjheUzX 9c9m6zic1gC2XNqzwgSaV9MZO+KhNqljkYPJ7cNAmHeC1dOfYtjoFaBbqyGRjHKSiSdt Ez/e4953ARnSy/KmWXBB0U4V4TlZ/gl0MdNt9Gd4kLERxaPtMfsUClBo+3W8ON3OHNER HLUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=wjTbhACbGlqLOGJe8zhnxXVfb1D2+8xDV6pHc1d4gkk=; b=0BUeuyl+m9oFBOV6cBiAlaYEUoStoVxe2ghAjV4Z4+8QplLmpOpnIsVjJgeHABh5PH HeuVzXy7iuSKmDSluM20u2zx4IsnFvBF12bt2XUPtfXoNfdS3tda6tPC0Ib7O09IueFO D8gDFdQ13kvTRexmbFndBNmrJmTMiZysh1lD/256y+5LTZVabaSy2pq19Jm7dsQYglcb zYjoFglGradqFY2So2ibfNngzBGyibDWuTcz/DjpcyM8UrsU3ruxbeo11B+8diSm3cpC RpXqX86CsXKDa40ixU6B6sxHemP8eTwhxuh+qZmAPKt7D5+YCosGgvPUNxrOnpxPoWv+ N8GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b="Be0iN/cX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m185-20020a6258c2000000b006246677ca3dsi15359036pfb.287.2023.04.19.00.24.29; Wed, 19 Apr 2023 00:24:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b="Be0iN/cX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231966AbjDSHVO (ORCPT + 99 others); Wed, 19 Apr 2023 03:21:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232156AbjDSHVM (ORCPT ); Wed, 19 Apr 2023 03:21:12 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8454E65BF for ; Wed, 19 Apr 2023 00:21:08 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-94eee951c70so293944166b.3 for ; Wed, 19 Apr 2023 00:21:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ionos.com; s=google; t=1681888867; x=1684480867; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wjTbhACbGlqLOGJe8zhnxXVfb1D2+8xDV6pHc1d4gkk=; b=Be0iN/cXzsadqwCFCMu+3qQ35WGQWqYF+Z+kH48YjLOdMfVtHewDrqzEc94+TrpG+p H4dpNITRv3BML0rgmjiya8w8GGDynn85cbT8uw8wkIvWGE/dnKSVYv61BWgBIR8f3eCF jL8Oy4fQj2/l3IYJdTmKs29AEIPv1FoVMNIz3aMkF/Q3LdE2YHYOSCwR6gXD2ewJuPQs ynoa4Lkmzpby36o3S/URJ7h8YWs5T/0HOufgl50RpD6OA8B/9Er65KNbkMz+TlhF4glG wew+B2DhhNtwq3j8RhT/cordx2eoM0qulWfFKOYzrSwiNcLIhZh1J7BloHfUzcjO9j3W NM6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681888867; x=1684480867; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wjTbhACbGlqLOGJe8zhnxXVfb1D2+8xDV6pHc1d4gkk=; b=WinrFvjFaFVO2M/VkCoudjkWAz/HHjzrpmt6ziiWuxRa7qt666O0bp8ufqFxg0Zo1F Cvz6KJgaKeAnwOll6q2s3s42Rui8RqLS46QEWir13Bf11YszuLj56qyEQNOi86xohg1h wrtLjuKusY+8z0aysIaV2bw9bIBpcfiC0NdrdmEa0WQMygv4dwieiW1vhaYKkMy2WzCO qlYU3+Zbjx99Y//XvZPMMgut5abGW0jOK4CcE00WRu/HfDarVCJLmJzR1eaj7mrG+IyW vlCiZ3QYUp+PCQsOXFBwThea1DMK7PUm6sFvbZUZ7Vrql49ZUF6MRRAfd3qYc9e/ecwr 2q6A== X-Gm-Message-State: AAQBX9fJqzYb1W5/aT2d5Fe83eEer7Fk58sp+01iyOjFtpomZr0CleZF 8NqRRKPDfnmug4y/6alqKbvvVo9Y9VYnnzhNSzTviA== X-Received: by 2002:a50:ab4f:0:b0:4fb:9f5:b994 with SMTP id t15-20020a50ab4f000000b004fb09f5b994mr2420197edc.0.1681888866838; Wed, 19 Apr 2023 00:21:06 -0700 (PDT) MIME-Version: 1.0 References: <20230418190101.696345-1-pranavpp@google.com> <20230418190101.696345-5-pranavpp@google.com> In-Reply-To: <20230418190101.696345-5-pranavpp@google.com> From: Jinpu Wang Date: Wed, 19 Apr 2023 09:20:56 +0200 Message-ID: Subject: Re: [PATCH 4/6] scsi: pm80xx: Log phy_id and port_id in the device registration request To: Pranav Prasad Cc: Jack Wang , "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Akshat Jain Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 18, 2023 at 9:01=E2=80=AFPM Pranav Prasad = wrote: > > From: Akshat Jain > > Print phy_id and port_id sent as part of device registration > request. > > Signed-off-by: Akshat Jain > Signed-off-by: Pranav Prasad Acked-by: Jack Wang > --- > drivers/scsi/pm8001/pm80xx_hwi.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/scsi/pm8001/pm80xx_hwi.c b/drivers/scsi/pm8001/pm80x= x_hwi.c > index c5bf65d0ad14..8571f6222eb8 100644 > --- a/drivers/scsi/pm8001/pm80xx_hwi.c > +++ b/drivers/scsi/pm8001/pm80xx_hwi.c > @@ -4756,6 +4756,9 @@ static int pm80xx_chip_reg_dev_req(struct pm8001_hb= a_info *pm8001_ha, > memcpy(payload.sas_addr, pm8001_dev->sas_device->sas_addr, > SAS_ADDR_SIZE); > > + pm8001_dbg(pm8001_ha, INIT, > + "register device req phy_id 0x%x port_id 0x%x\n", phy_= id, > + (port->port_id & 0xFF)); > rc =3D pm8001_mpi_build_cmd(pm8001_ha, 0, opc, &payload, > sizeof(payload), 0); > if (rc) > -- > 2.40.0.634.g4ca3ef3211-goog >