From patchwork Fri Nov 11 10:22:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sreekanth Reddy X-Patchwork-Id: 13040105 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 CC577C4332F for ; Fri, 11 Nov 2022 10:24:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233048AbiKKKX7 (ORCPT ); Fri, 11 Nov 2022 05:23:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233692AbiKKKXh (ORCPT ); Fri, 11 Nov 2022 05:23:37 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABF68EA4 for ; Fri, 11 Nov 2022 02:22:58 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id b1-20020a17090a7ac100b00213fde52d49so4347823pjl.3 for ; Fri, 11 Nov 2022 02:22:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=Mxxof+Jmiy20EGQjDLp7bPE7vLo/LDdVQnFmL7UVLlc=; b=LZJOghw5y0+Iq5OL4+CJUpf5mTqSQWIAmyu25R1I/STnx6FhFr6VF3UccYufCaqehG MZzQBRQ3f7m2fYq0R4QwGFRBAYAPJPDq879n7WK0VMzZYUgbFt5y6JJCtbmUkgfZaFUZ lcPXlZ4vYQjNb8VIF66Y15xD+QweA1dfRZRfU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Mxxof+Jmiy20EGQjDLp7bPE7vLo/LDdVQnFmL7UVLlc=; b=Aahw6ZWwTxwns9C1NghLwTneWSht6zS8Kc5pfWXRIqVDHhBwlqVrthlgnUrC0XULMi 3seabWyfluk0az3mBpyg+1+fXvXxhB5nAa31NDiDwdtcWdjG4J3RXRP/7TPyefnvyz2A 49CgGw3OZkzbnJZGHyERQDUQ8e9EypvHLbRhy8Dgg8eYvAGjTlox9ZZ/hbUyLhUvxwI+ 1e2Y3CIhPDIm8XHywWmMH6jIt4FmqBorde/Y5RixjHyxJQMyXONkQiHxqJ5ZPzjbfhWH Tz5DjBvzm6k51kcAdTCwJI0+UwHVnoo0Gv6keVcUivfbNAEajV6vUJl25oCxor3jxtkW TJVA== X-Gm-Message-State: ANoB5pkMkrc9Cnb2Lhv4CLmGahQzMkF/A6Kj1kKZnDbXIqRcvI1LGpIu JSiNDO/vfWGO2k3MesPU/M1esdf6oqQ4xoELUcQOSpXYBAcii7TFAk7Ik23C0J/kESTe9bMbzAK P7o6hgGvfB8Qp880IHbQiS9Z4mleITwGiF366IF1BFWDWxMoGhIuxfNoR86i8+fYZschJ1tmpSM Bg3O4fssiI X-Google-Smtp-Source: AA0mqf4V1PW3h9eqEOK7L3BdnepyPRsGRniSozZZs7Mba6wmj3HlIdY2b44hW92C6rmGE2h+z9SXOA== X-Received: by 2002:a17:90a:e64b:b0:20d:b124:33b1 with SMTP id ep11-20020a17090ae64b00b0020db12433b1mr1130340pjb.202.1668162177707; Fri, 11 Nov 2022 02:22:57 -0800 (PST) Received: from dhcp-10-123-20-36.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id p129-20020a622987000000b0055f209690c0sm1240691pfp.50.2022.11.11.02.22.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 02:22:56 -0800 (PST) From: Sreekanth Reddy To: linux-scsi@vger.kernel.org Cc: martin.petersen@oracle.com, Sreekanth Reddy Subject: [PATCH 0/1] mpi3mr: Remove usage of dma_get_required_mask api Date: Fri, 11 Nov 2022 15:52:45 +0530 Message-Id: <20221111102246.19995-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 Directly set the dma mask to 63 if the system is a 64 bit machine otherwise set the dma mask to 32bit. Sreekanth Reddy (1): mpi3mr: Remove usage of dma_get_required_mask api drivers/scsi/mpi3mr/mpi3mr_fw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)