From patchwork Fri Feb 12 14:33:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 381830 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp2983362jah; Fri, 12 Feb 2021 06:35:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwByb/kpUV3mgBguWVWMMFlo2b5n40E+YoVHjviv0imVUAyJ2KNK4l23wD5e+cQ+PD5MAnY X-Received: by 2002:a17:906:2b15:: with SMTP id a21mr3342335ejg.338.1613140512464; Fri, 12 Feb 2021 06:35:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613140512; cv=none; d=google.com; s=arc-20160816; b=apdenCY9dENg5YamqfpJ9GUgywGZuJH0z0ssGKZQ8Q8G3SZUq2Aoo04t7GWBbolEJM O6GKKPjM+JPn72CrCjeTsvAG+5GA9qY2ZtGW74S1lojnqV3WraPLMmWS5MU/S7cViiv4 FAmCZ+nk2NuO8zbqJH+I+H+UI8ZMb1/buzr95AyW33XsBA/NzZIOETOE23spWw9epE9n dhjeIipI6caAJ3bhohKJi6JscEBqPTg6PGflmuOv9yXLAUjCfitoZ0FosWjRFfyEJGkX tY/FWFWlbIRKeEnkBu9d1qmzZQUCq7dlAKz0TdyYVlYkB1EP6CYK4ektkNiFKscMs88g vs/A== 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=GbtpEIXRgUa1i5gUQDSm0FSLWtb7T5/l4I8yduAZ2+8=; b=dRLO4lR/OfN//Rz/cVlhlDFBm3hjv3ogEzB2aDkSHSBwYulMMejA2GBhgVZkEzTVfW cMxO2wzMbK5Uw7A9lVWcNNOU4bFD7JZ/FnlSGq5fPtCmYBam17LIkQvSUzxxLd+UAJzI SGpsss41y3pd8TcPj9pNufD/tZdMl6SjXHxmfZrFvBp1ONaNJMxpybKVm/4NwI9KzPNJ 2f9Upd3Y5bG3vxGTAJHzq+VX3IBGVtfnNqXcjbmRPSInQXBUrrYT1VZu+bupUkTRG38U UP/z9ZuIKrtzHY13XvBkCAuTE7XuqVDe/GLBcVXS0JUIK3nDGgEskLjmbV5y/N2PDnFV SagQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mBe7FwHY; 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 ay23si6271517ejb.33.2021.02.12.06.35.10; Fri, 12 Feb 2021 06:35:12 -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=mBe7FwHY; 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 S230515AbhBLOfG (ORCPT + 9 others); Fri, 12 Feb 2021 09:35:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229737AbhBLOes (ORCPT ); Fri, 12 Feb 2021 09:34:48 -0500 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81619C061756 for ; Fri, 12 Feb 2021 06:34:07 -0800 (PST) Received: by mail-io1-xd2c.google.com with SMTP id f6so9473073ioz.5 for ; Fri, 12 Feb 2021 06:34:07 -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=GbtpEIXRgUa1i5gUQDSm0FSLWtb7T5/l4I8yduAZ2+8=; b=mBe7FwHYOyERl0kSHyu8x2WTruC+mSGQOqSJs/otfdn320EwDaKj09QJaU/Obj/hPv 4OShkbtw0mQjuIQWU/uOKi8kAnjc1AaeFDtMd/XF1rqi0y+DdhB9ydtwx0eFSfkhFyED E+XOaz9UgHGXsXA8aWkGXt2Vxdm1Xkav2P2tROpfKMAia/NDMkdfOLfbf8j4qRn/Jo1O Mo+iwdee6uQK3j/l2M+2rGQUdad+doGvvpA0xrvVDrz8x6H/nL74NBdZrRoJ/rFlZCGZ uSDq1Qetf8sswWKf0GekXdItRBX4OHVhs+5RcAogbKs08v3vxJhr8h3+ajURMAQBMhaL 0FfA== 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=GbtpEIXRgUa1i5gUQDSm0FSLWtb7T5/l4I8yduAZ2+8=; b=B6f1SO6gmnrwJuaLYWEjolngFxABwhxrNadqUCcYT+oxDelyevTXxI9W1h5HK+Trt0 cSQ3wLj0rA1cC7Td2/xHyc37ybRqwBOM4ZeaMdHfk4VxEmDd7F24G7mkSgIUSvh9Hncn ggCi6eFg85Fq6lHEt3NLZvfvPLKNhdu4c98bHTdoXA+ne45cR2gTt8m/HufvwJJJArTa pqfLsjwZFIwT5no6dph842wrr0sTpLGvx6f+IrLqolsJ6Vl4h34tUVv4uIOd1B/cewtD +iYGUxettL6rrEnbUAAY36IBMv/cbnKAP6OLJRrju+tbb/hy6ZlUadwGpP8Ny/Ll+Fv7 4VCQ== X-Gm-Message-State: AOAM533hOHFFPKXJxKGsduMipmmjLmdi0rv9V8D+LgkcpXO7Gi5zcCvI H+ld6ieXtUsq4XT07XGouMA+Hw== X-Received: by 2002:a02:a90a:: with SMTP id n10mr3007078jam.7.1613140446931; Fri, 12 Feb 2021 06:34:06 -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 j12sm4387878ila.75.2021.02.12.06.34.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 06:34:06 -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 v3 net-next 0/5] net: ipa: some more cleanup Date: Fri, 12 Feb 2021 08:33:57 -0600 Message-Id: <20210212143402.2691-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 Version 3 of this series uses dev_err_probe() in the second patch, as suggested by Heiner Kallweit. Version 2 was sent to ensure the series was based on current net-next/master, and added copyright updates to files touched. The original introduction is below. -Alex 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: use dev_err_probe() in ipa_clock.c 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 | 50 +++++++++++++++++++------------------ drivers/net/ipa/gsi.h | 5 ++-- drivers/net/ipa/gsi_reg.h | 21 ++++++++++------ drivers/net/ipa/ipa_clock.c | 9 ++++--- drivers/net/ipa/ipa_cmd.c | 32 ++++++++++++++++++------ drivers/net/ipa/ipa_table.c | 16 ++++++------ drivers/net/ipa/ipa_table.h | 8 +++++- 7 files changed, 87 insertions(+), 54 deletions(-) -- 2.20.1