From patchwork Thu Mar 18 18:59:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 12149053 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A54FC433E0 for ; Thu, 18 Mar 2021 19:00:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5A68464E64 for ; Thu, 18 Mar 2021 19:00:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232707AbhCRS75 (ORCPT ); Thu, 18 Mar 2021 14:59:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232793AbhCRS7e (ORCPT ); Thu, 18 Mar 2021 14:59:34 -0400 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D23CC06174A for ; Thu, 18 Mar 2021 11:59:34 -0700 (PDT) Received: by mail-io1-xd30.google.com with SMTP id r193so3436347ior.9 for ; Thu, 18 Mar 2021 11:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/CeBUNZ1mpGDSE2L/zhj97MVN1l+b46CMqsA3MUPevg=; b=A3OjNBx6DWKtklwCeHq5wn6PtDUA8bC37nuDqDxBD3KLvXeUSyy4z2KA0n/bFOFwx+ NxItLs6oARcIDI/JGRG5rvBrOdOmi4BnNA8u0erotvTg/MT0FkR7uwPqwpg+kxOs/J4o nrE/wluE2PJKJPG9P/8uedWOamaUqFXe6xvPCRSXp/u5YqrLxbBved4iQyNQfvDyuE2X e81CAxlxzZ0bz/HgyIx6tADkPj6u2hN0YQ5GrY5Sf7E3znFXNH8OA9FwtODPHFihbqCy XIgvV2TtTi/CIab36yhe/jmur/7mam2yLMVm5VpgEORRckJNw3Is9o1jKWsoFx++kgUB 6kXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/CeBUNZ1mpGDSE2L/zhj97MVN1l+b46CMqsA3MUPevg=; b=KU6LLjl4jaffQXuutqPMH77AJrpOqOVQLW3QZ02rNrFDG74qyjdeFy2EDuSNV3QouV p+KYbzw3GP3YuiPhLuKax+kkS+GFOJfJOy2Hcd5dwR3KgCFAvbr+y3T1Ob0syShgvn2k c8wqCLZu024DCyeUcw0iKJqqaB8FsKBD+zeR6bIN8BiRbVTPOC4Iy9+04oKqUzAThTvL YNSHaC2Iu/HqF+YbpRzT0pf0s+EDSL8eQMjucanhget1kvkDrEnph7iivBPfMIpQay7k +jqDtkBBKPRxKOlP0epTiyFSXNVCkwbdJ0sClITgJrSCOVQL6V7wmEOKdkVFHbfSm3Z7 cNbA== X-Gm-Message-State: AOAM532u8mQQOXZKaznmrGCCnVnTtw2pGngfFuMGC0OUAqou7uQOamEV q0q9cr8CuvjkBA8L4+ImNAVhhw== X-Google-Smtp-Source: ABdhPJxVHn6MiT7bbrlnoxm7Dvm3g5+aAodpk5PPaEZL8p44LKJqCphiJqQZoK04EL1XHBYMrmAITA== X-Received: by 2002:a05:6638:343:: with SMTP id x3mr8319840jap.44.1616093973753; Thu, 18 Mar 2021 11:59:33 -0700 (PDT) Received: from localhost.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id k7sm770359ils.35.2021.03.18.11.59.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 11:59:33 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: f.fainelli@gmail.com, bjorn.andersson@linaro.org, evgreen@chromium.org, cpratapa@codeaurora.org, subashab@codeaurora.org, elder@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v3 0/4] net: ipa: support 32-bit targets Date: Thu, 18 Mar 2021 13:59:26 -0500 Message-Id: <20210318185930.891260-1-elder@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org There is currently a configuration dependency that restricts IPA to be supported only on 64-bit machines. There are only a few things that really require that, and those are fixed in this series. The last patch in the series removes the CONFIG_64BIT build dependency for IPA. Version 2 of this series uses upper_32_bits() rather than creating a new function to extract bits out of a DMA address. Version 3 of uses lower_32_bits() as well. -Alex Alex Elder (4): net: ipa: fix assumptions about DMA address size net: ipa: use upper_32_bits() net: ipa: fix table alignment requirement net: ipa: relax 64-bit build requirement drivers/net/ipa/Kconfig | 2 +- drivers/net/ipa/gsi.c | 14 ++++++-------- drivers/net/ipa/ipa_main.c | 10 ++++++++-- drivers/net/ipa/ipa_table.c | 34 ++++++++++++++++++++-------------- 4 files changed, 35 insertions(+), 25 deletions(-)