From patchwork Fri Oct 28 09:16:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sreekanth Reddy X-Patchwork-Id: 13023242 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 05D55ECAAA1 for ; Fri, 28 Oct 2022 09:02:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229940AbiJ1JCz (ORCPT ); Fri, 28 Oct 2022 05:02:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229988AbiJ1JCv (ORCPT ); Fri, 28 Oct 2022 05:02:51 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B83841C5E3C for ; Fri, 28 Oct 2022 02:02:46 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id p3so4318667pld.10 for ; Fri, 28 Oct 2022 02:02:46 -0700 (PDT) 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=VKTd1i0TWjwB/TbusvoKamd5GMarSi1ddEe/axvJ9A0=; b=EnLiN0xIx8BRXlQDG6Cq4mb8QsUXPxUrmvGY+oTkzlUdWK2Tr/p4sTrSomNsPcOzfM JyZjOulxK8W9L8fB2DEUBeMV+VeLqRtqryRO20syTzCKFnjiW8PpPj+RnjX05TgM3JwI P5DKZbD85b/OPp7bfMl3z8MJh0BkfSG92PoAE= 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=VKTd1i0TWjwB/TbusvoKamd5GMarSi1ddEe/axvJ9A0=; b=PJqNW6h/12UaJ+Rdp3srsfEuURXw8wbmneqU/YBfaafdYEhYvbclR0/7bVhnF40Uih dnMAGB6KRbwHniV5XNSSTXaHtBJGkFfWhSDaF8Tp5hae/acoMf9t0MjRZjceGV3N+eWR dcrtZR0ETul9RJEplXLihVfvRK4oKlu8Ngzd76zE/haLRzeRLuGzxgueeB7ZBJ7YNT4b lA7z7EsJDug7p2RaH+N78tad9rJ9Td2f2kmpYo9bwhSEW8QEh7vmISVZhL5QjnFNHKMr 8BL8bumf3ewCSYjuhN0sbYmSU4b8bulwRbYQZkT0Qqrgyu0nbJGT+rMm0ghFyHU787Gc rQOw== X-Gm-Message-State: ACrzQf3m9UVEsJ22DoWfLFpxoH81qmKZ6CVeHrN2tpnhN6OH66rFs3bY QbrPQhkM0nw85QGd4GYVJELW8/1oHPrOgom5duXsuOOjLvp9V13KnzJZBBEYMNWtg6O/DFUrUTR rJRQBOOY79OzSs75HHRB+036eO72S3iYDHPy+I2cHFNHlWNj3wj1E0aTlcvVwtd+Bg50T2kGVpb K97jQcu4V2 X-Google-Smtp-Source: AMsMyM4wztpPhE/pojgKMsHunDyNoeCgQAfAxzmOSgTOfcj6UOnp21Rx+I5y8oyA3LJpUr9r3l4zXQ== X-Received: by 2002:a17:903:11c8:b0:179:de93:bd7e with SMTP id q8-20020a17090311c800b00179de93bd7emr54301702plh.95.1666947765769; Fri, 28 Oct 2022 02:02:45 -0700 (PDT) Received: from dhcp-10-123-20-36.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id a207-20020a621ad8000000b0056bd737fdf3sm2414077pfa.123.2022.10.28.02.02.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 02:02:44 -0700 (PDT) From: Sreekanth Reddy To: linux-scsi@vger.kernel.org Cc: martin.petersen@oracle.com, Sreekanth Reddy Subject: [PATCH 0/1] mpt3sas: Remove usage of dma_get_required_mask api Date: Fri, 28 Oct 2022 14:46:54 +0530 Message-Id: <20221028091655.17741-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 Remove the usage of dma_get_required_mask() API. Directly set the DMA mask to 63/64 if the system is a 64bit machine. Sreekanth Reddy (1): mpt3sas: Remove usage of dma_get_required_mask api drivers/scsi/mpt3sas/mpt3sas_base.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)