From patchwork Wed Feb 10 22:33:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 380252 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp1567216jah; Wed, 10 Feb 2021 14:35:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxyoui00PxQIyBafubBx+G/05hWitACcN/xiKERwaj9nJcqBddiQmuVKFszNrFM9u4If34c X-Received: by 2002:a17:906:aed1:: with SMTP id me17mr5219873ejb.190.1612996505633; Wed, 10 Feb 2021 14:35:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612996505; cv=none; d=google.com; s=arc-20160816; b=LWsMJGi1LwKONZynG/XMfBeOLB8mbhCaofoCnbCgbq2vbC+Mseqgzp4DIuPKAiI7SJ T6qpiJSkvD6xlpue5GFQyOXOJkNyZk4MdN8p/ZGAsgrijE3TiuSs3js8xNukXm189+0X pqHnNkoesHcOxV2q6whYbczh4XX4ooAvnrmxB5kptyUeqvKfFC9KwRpQ+aFtPojywIqe DX+UcSp9rFAjliKwhAUt/rJpjkGN+TVGiwsjczDkYyg3dew0p7pQkf20OEqpwKA0zi2d LgLuirLbD7eMwf0jH32zxVCwMDEtLQm8WGr4L2nb3qFh5l2clVZZmZccV1jrRLjw/uNz JNug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jc0cKAaWwDGgmfaTk/UgFMkJLA66GM85PZScS2V+gQk=; b=mmjfzKOzganMuvJw/cRuZYXjaAmTVg3lFuolUEnljbknLFdGCFMOwGX0ia9F41xhGl F+1YxscKxL2qVR2iip33siTuts9WQIL7AhvEuU9YobXio5XeTlQwYZKPnz5W7Q4r7Run 01wZoKgy7nNdz31XMBosN3pQWeJUE+uEwVpjAqRzJAsBfbvMDZgYEKyKOrTPWFvlZTo2 G2nOtg78Z9o3bN9WDKSuLxUG7+/57rsYAiNmPcerQ5CORpqkpGaVXtXv+p9CYbm3BDn+ 1Rs8XQwwq5/Foaeyd08QuqUVddnjPlWM4vShzaa0WcgzV6sE79vVhn2HL2sHJaRSwT3/ zkbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="AsV/JDL0"; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m12si2327848eja.248.2021.02.10.14.35.05; Wed, 10 Feb 2021 14:35:05 -0800 (PST) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="AsV/JDL0"; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232565AbhBJWea (ORCPT + 9 others); Wed, 10 Feb 2021 17:34:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231205AbhBJWeE (ORCPT ); Wed, 10 Feb 2021 17:34:04 -0500 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BC6FC0613D6 for ; Wed, 10 Feb 2021 14:33:24 -0800 (PST) Received: by mail-io1-xd2b.google.com with SMTP id f2so3727742ioq.2 for ; Wed, 10 Feb 2021 14:33:24 -0800 (PST) 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=jc0cKAaWwDGgmfaTk/UgFMkJLA66GM85PZScS2V+gQk=; b=AsV/JDL0H+XSIovRmupF23EzOLT3l99uwlVTF0UQ4Fk77n72M2Abjgp5pzhFYearBC 2Q5/6+VZecf2ijlsEKAL95qAF9tYy5FqWvpPr/beakdWoBGTyGx5g1X249wmeJeYoEtt nF5SSN8Z+esyomp+A/ke39U2cn2yyDB5l0IsjTgQSSGC/7alKQ+OvmQEndEFEIml2ef6 zKD0sqGafAUzU4PAr87nRV+NbBpm+VebuhxsWMWmTfe7YTavIl/cX+0Us91L7BASA4qw ftUwpt5CaV/69iywQDBAHE8DnGZx0LO/d1IT+lYBkotAoQ18OZFrsyYaivea7Ww8y8Mu ZjmA== 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=jc0cKAaWwDGgmfaTk/UgFMkJLA66GM85PZScS2V+gQk=; b=CgFJoW6pp7jBYNUnfT1CkMePP8A+GbAesAl5FuKkb7/GsfpK8U9rNxiW8Zt8ptPxrR IBpsnJ7w0650dj9+XjAIu4klmYJoTla7CCNmmsVC5K+lA6O+P5xYploUyUP388cHDcy7 hqxpWNkXYJkvSsOCNHit8nW6gIZX2kGtiZCd+tWwHXQULQ3O3l6R2SsGfL++XE+txLHW ESnFc49BOIYTHrgrYbmUz/xLf7QXc7mnVhR6PPOsNHxsq9j3vfO6T5aMPS0xc2cKi5ef yN/CmEHxNA8C0PTgBcW0l+JAwdjkA5AtSQNaTzoD1iQRmguwyTVnBjMzuZFcGbmdXX0y BuOQ== X-Gm-Message-State: AOAM5339yQT5HZmTjin17U0RWL5r/wRcwSbT3FkOHB/qJADQy/2YW9eu opV1LFfF1Md0SrZK915GqpRszA== X-Received: by 2002:a6b:5404:: with SMTP id i4mr2685666iob.62.1612996403568; Wed, 10 Feb 2021 14:33:23 -0800 (PST) Received: from beast.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id e23sm1484525ioc.34.2021.02.10.14.33.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Feb 2021 14:33:23 -0800 (PST) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: elder@kernel.org, evgreen@chromium.org, bjorn.andersson@linaro.org, cpratapa@codeaurora.org, subashab@codeaurora.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 0/5] net: ipa: some more cleanup Date: Wed, 10 Feb 2021 16:33:15 -0600 Message-Id: <20210210223320.11269-1-elder@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This is another fairly innocuous set of cleanup patches. The first was motivated by a bug found that would affect IPA v4.5. It maintain a new GSI address pointer; one is the "raw" (original mapped) address, and the other will have been adjusted if necessary for use on newer platforms. The second just quiets some unnecessary noise during early probe. The third fixes some errors that show up when IPA_VALIDATION is enabled. The last two just create helper functions to improve readability. -Alex Alex Elder (5): net: ipa: use a separate pointer for adjusted GSI memory net: ipa: don't report EPROBE_DEFER error net: ipa: fix register write command validation net: ipa: introduce ipa_table_hash_support() net: ipa: introduce gsi_channel_initialized() drivers/net/ipa/gsi.c | 48 +++++++++++++++++++------------------ drivers/net/ipa/gsi.h | 3 ++- drivers/net/ipa/gsi_reg.h | 19 +++++++++------ drivers/net/ipa/ipa_clock.c | 10 +++++--- drivers/net/ipa/ipa_cmd.c | 30 +++++++++++++++++------ drivers/net/ipa/ipa_table.c | 14 ++++++----- drivers/net/ipa/ipa_table.h | 6 +++++ 7 files changed, 83 insertions(+), 47 deletions(-) -- 2.20.1