From patchwork Tue May 17 11:53:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sreekanth Reddy X-Patchwork-Id: 12852321 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 205BAC433EF for ; Tue, 17 May 2022 11:42:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345400AbiEQLmw (ORCPT ); Tue, 17 May 2022 07:42:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345373AbiEQLmu (ORCPT ); Tue, 17 May 2022 07:42:50 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19BB827FFE for ; Tue, 17 May 2022 04:42:49 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id l14so6205160pjk.2 for ; Tue, 17 May 2022 04:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:mime-version; bh=NYp1gqk5QzM1rj3+Brr/2FfpfMeVzHbF7QhuB18qwmQ=; b=fldHTuT6y+SLHKPeQNmDyV++W4GOvcO+8kpdOAtOyI4uiJWXMszA/ZjvxVcPO754iO vRxfoGeHg6UzYasA32sdSUVUxlrnd+peOz+UI3QfxOYUzGVcTXrFV5qlO++hm10ytqTl /2XyUDeyVCTdv9Hzfh06i13mR9Td8YYKaYx2I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=NYp1gqk5QzM1rj3+Brr/2FfpfMeVzHbF7QhuB18qwmQ=; b=osbfPvqZMwAFxNvPeXR19UmtPuyW8jzZbl3Yk3EAreNlMqpz9MBeP/ftGXKoKSn1R+ fMoRDe8/EMct1McWh4nmPGz6UG9Z4J4QPYBBp0wlh5eUsjwdmQiZ70Vrrdl7oMWrjxpb kh0r2jDwsOYr0scLv4XdkIw2UU6OG/u0oMj5HQ40a6DSBfYNrOkS56pZ2vunYWuWxtUJ 4l/GTlhZPk5xdsRk/v46BrsFkcEgKyEjqXwkCtNj8m0Pq5zvk4s2niSTF3t5JMs5YdE2 8XCJEgJ0r0J2mH504Z7WLhdqmaEUXTE0wDv2HeuRhPE4LAGs1qcrvJGtgQRicXlI6aK5 lM8A== X-Gm-Message-State: AOAM531iZynBhAVxgAOVF2hk0C188PiYyGyGRfe5bmEkAh5Srw5o1CYh hugzt9drTYBcSLGSsOGt28wFx6JtdLG7e3R7pH7eJIE9DJA7WMuxrrCNtcE1IV85ghsXmEfVS8r noJA4k4o8ZDvi92R8/ODEeOOHrD8QQQZv7TMfiJi8Y4NTgoNRpaNrnRfIKCOt1nhuwbSiAA5C7Y 5niv4T1W4h+gg= X-Google-Smtp-Source: ABdhPJxn/L5c1uknG/KSVNaVD1z+8TW4G6jdtwRyTg+kqd7ldua8QSfGPYeI1VyMDYp7Rdaidm9qkQ== X-Received: by 2002:a17:902:a9ca:b0:15e:f017:91b5 with SMTP id b10-20020a170902a9ca00b0015ef01791b5mr22366517plr.27.1652787768063; Tue, 17 May 2022 04:42:48 -0700 (PDT) Received: from dhcp-10-123-20-36.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id o134-20020a62cd8c000000b0050dc7628178sm8795130pfg.82.2022.05.17.04.42.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 04:42:47 -0700 (PDT) From: Sreekanth Reddy To: linux-scsi@vger.kernel.org Cc: martin.petersen@oracle.com, Sreekanth Reddy Subject: [PATCH v2 0/2] mpi3mr: Add shost & device sysfs attributes Date: Tue, 17 May 2022 17:23:08 +0530 Message-Id: <20220517115310.13062-1-sreekanth.reddy@broadcom.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Added shost & device related sysfs attributes Changes from v1: Used sysfs_emit() instead of snprintf() api. Sreekanth Reddy (2): mpi3mr: Add shost related sysfs attributes mpi3mr: Add target device related sysfs attributes drivers/scsi/mpi3mr/mpi3mr.h | 1 + drivers/scsi/mpi3mr/mpi3mr_app.c | 263 ++++++++++++++++++++++++++++++- drivers/scsi/mpi3mr/mpi3mr_os.c | 1 + 3 files changed, 263 insertions(+), 2 deletions(-)