Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp713756lqt; Fri, 19 Apr 2024 08:18:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX6Rmg4oPKPVbWQK92LvQOmHvooLrqzGO2tYDQZ25wauZ9TGFjgx/fBQyENV4DBg4lGyiAqVZEOCuNNKZUtuV/LOs3VNUcciusqLoaDSA== X-Google-Smtp-Source: AGHT+IFVupzyUIWw14NK3R4rO7Y8nUW9jg/Pa3YY41ow6ML4ieOSP8gtz/UDTnZFxixW08oGUGzu X-Received: by 2002:a67:bb08:0:b0:47a:31f9:163b with SMTP id m8-20020a67bb08000000b0047a31f9163bmr2525608vsn.13.1713539893782; Fri, 19 Apr 2024 08:18:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713539893; cv=pass; d=google.com; s=arc-20160816; b=KO2DGpIM2BDReIcOJkvs/ZUvnomiDQQnuHUwVvj2e5wbafgZAlkw1KoCJdu6sXXtYC wKQVeRpPXOs+h2vszjwKpDI9KFFsDwl9jOiiRycP1v3rZza0zZ2Xs1BwUzifQ9BVwjc4 M0qA59gCPMXEsHi1A12lTvLSvu5kdVNRcLZSGPypgI82L9gcOYZnaSwJK41ABLBFBoox 92sSMe217sO2p3sdDfVORMsQPv2naXWxC2f2mdYxpv8pM+6ILO7q0iy8cnpKEAsVBkTh q5y0mg1PJ9h4GrgjKr9yaP5bFjypPY0aCFPqvzne15DEbC78zOoArUOQm6dQLnv7xOFp Fmvg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=5TUCxK+gq1hZMcbtI1POUSVOx0x7lQqoinD0IAWm1/s=; fh=jfqYdc3Pv5MKk9Vc3tdOzPeUBpxkmj9TIN/0qgD/fGA=; b=C4FV3CmiCaULRjhsX/fvhkM9ToDLkfBpLPUfhAUoDaJEmD8D/DlW8YPKRA9xKSQdvK GoMGx3UTCdZKcdtIQ54UdpzeZRHXLAfybX8ZXAMLiU4jfvVzYg4wIuWhRhbjwnhBEO1+ OCTn9uzGGjR0U1kJyrSa5QZF0DEnZJw6HV1RfF/Z0QuNKR3+193keny60oG9cLhNZhTv mAm0zUo110kTmWqWXtQ2cxgmlIHStDGQKN5jka4bf/WoJk+fsl4zyh5eNjqvtfaTPnCZ jK9Qar9h2JWnmsAN7aVCR25ZuVLr7NifXi8PFEkUGqYxChvWCWajFLT/Hpsxg4virsKc IpgA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZpZWezQ+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-151649-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e40-20020a0561020fa800b0047b8a96bf6dsi909127vsv.644.2024.04.19.08.18.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 08:18:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151649-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZpZWezQ+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-151649-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 687611C2187B for ; Fri, 19 Apr 2024 15:18:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2445612FB04; Fri, 19 Apr 2024 15:18:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZpZWezQ+" Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD00B12F585 for ; Fri, 19 Apr 2024 15:18:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713539886; cv=none; b=EGKIaBA5lnKl/WQe4sJQJ5gAuatQ+RqbG9TiGh2nNTzEhPqm8zcsGLop8U9YEIEpnxN4ckj2Kq9m4u7NlJAOnlvI7ZwufNst80ybuLBnrP9LiqPdlebENiIfyDfeoRKrnC1jtwiSiz4AVZRhVw4i+vfrZa5TLhyO7KAgYEgC28c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713539886; c=relaxed/simple; bh=5/0w+7xhHbrR8SQruCxiXh9BC6LOxv6DX3Bpmvy8B5E=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ArHCUmLXmi0jnoQ8j2D5yRQCx6KyG1coiF22NieJQIsnjviwZ/8KSPto577ov+l+5gtHtx82xPspZnnst35NuRmJ/uI13mwlTniQl26pVpsg1jnO1dcFL/S/pfS4uHR3vatQ/ECqCjPsfoF88cpG9Hl7MBAeJdBzgQ43rdonu3w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ZpZWezQ+; arc=none smtp.client-ip=209.85.166.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-io1-f41.google.com with SMTP id ca18e2360f4ac-7d0262036afso81845939f.3 for ; Fri, 19 Apr 2024 08:18:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713539884; x=1714144684; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=5TUCxK+gq1hZMcbtI1POUSVOx0x7lQqoinD0IAWm1/s=; b=ZpZWezQ+YoMilENS6zSpKH33IZ3swCwQ72BJtPEnTZUcZUI48aefaI2KkFB/uRlSrs JCMtgdTMQFWiJsstqVXM2sahwkkTQcYg3Cg7RzYzbjupcWEPGzISFFrDALi5qjP8l4/m bzzbVnwrdp6SWMc2nTWnEtcujdm2Xe0NYNM2mFJ5BR++movnQiDnCU/GNWU/76yhBNSk rOcEvxyvumaJnm8uhkNkB/lhHRB3pmhrKCK9/uQ/Lb+QshCiH+HWVVo2/lfmFTIWGCrX otCuuMxU9pVZgDrwbQkR5sSmvrkvsiPBhxan4yUVI+O8DuFeLEKUKcFfvW0Q9CkqWqhS fJfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713539884; x=1714144684; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5TUCxK+gq1hZMcbtI1POUSVOx0x7lQqoinD0IAWm1/s=; b=Z8ezuwV42vvcWI7bK0sRKLe6N0Ekn/YNDntd/vrRoMLJvqjpYnrKZXO7nQgmoI3hMt M5w6hGVH1G+80nUOEYuBFAvAqQML/qXkl2iR/2wN0xfD6H9WR3RkCGgrn7OpSi+1XyRG 3JKQ/I4GAHZA60i/fhF2c+jLFR4Q0CWYOHin+mcpOk985/HlNDh2A/DdBZsjBdsotc6D J7uJQlgPuFm25FkuNuY8C3Nrj7ERsJaTXsvtQw4hL8MeCJJcyKR77A+hn+H8Vnf/bnHi HFodecQr5EZvh9uC+E2vqnxZAobQJgi1zuKRW7zSzYdoM/VHfK3Fkx+zOMoL81i4uCoC IVYg== X-Forwarded-Encrypted: i=1; AJvYcCU/xfx2XTNNewKd1Pm4+mxvPs28kmFuGoHyNCP8o7LRUpNC2vbEOpjPFqysDhSyKN1Qeo99vnM6JlrS0cIM44fu7VYUGiIEubvoF/6i X-Gm-Message-State: AOJu0YyOZ3C2LgDh7KgisfegAKbsHRZnQw65NLPRg3+EJkPJQQKift+V fgG7DHXLWTocRnqBAn6fPmLa79qFSsGDCJfzaVz2c6LFvf+RVuUW5FI7V5Gfk4I= X-Received: by 2002:a6b:f303:0:b0:7d9:9445:1992 with SMTP id m3-20020a6bf303000000b007d994451992mr2940801ioh.2.1713539884019; Fri, 19 Apr 2024 08:18:04 -0700 (PDT) Received: from localhost.localdomain (c-73-228-159-35.hsd1.mn.comcast.net. [73.228.159.35]) by smtp.gmail.com with ESMTPSA id lc8-20020a056638958800b00484e9c7014bsm116126jab.153.2024.04.19.08.18.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 08:18:03 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: mka@chromium.org, andersson@kernel.org, quic_cpratapa@quicinc.com, quic_avuyyuru@quicinc.com, quic_jponduru@quicinc.com, quic_subashab@quicinc.com, elder@kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v2 0/8] net: ipa: eight simple cleanups Date: Fri, 19 Apr 2024 10:17:52 -0500 Message-Id: <20240419151800.2168903-1-elder@linaro.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series contains a mix of cleanups, some dating back to December, 2022. Version 1 was based on an older version of net-next/main; this version has simply been rebased. The first two make it so the IPA SUSPEND interrupt only gets enabled when necessary. That make it possible in the third patch to call device_init_wakeup() during an earlier phase of initialization, and remove two functions. The next patch removes IPA register definitions that are never used. The fifth patch makes ipa_table_hash_support() a real function, so the IPA structure only needs to be declared rather than defined when that file is parsed. The sixth patch fixes improper argument names in two function declarations. The seventh removes the declaration for a function that does not exist, and makes ipa_cmd_init() actually get called. And the last one eliminates ipa_version_supported(), in favor of just deciding that if a device is probed because its compatible matches, that device is assumed to be supported. -Alex Alex Elder (8): net: ipa: maintain bitmap of suspend-enabled endpoints net: ipa: only enable the SUSPEND IPA interrupt when needed net: ipa: call device_init_wakeup() earlier net: ipa: remove unneeded FILT_ROUT_HASH_EN definitions net: ipa: make ipa_table_hash_support() a real function net: ipa: fix two bogus argument names net: ipa: fix two minor ipa_cmd problems net: ipa: kill ipa_version_supported() drivers/net/ipa/ipa_cmd.h | 8 ------ drivers/net/ipa/ipa_endpoint.h | 6 ++--- drivers/net/ipa/ipa_interrupt.c | 38 +++++++++++++++++++++++++--- drivers/net/ipa/ipa_main.c | 16 +++--------- drivers/net/ipa/ipa_power.c | 19 -------------- drivers/net/ipa/ipa_power.h | 14 ---------- drivers/net/ipa/ipa_table.c | 8 +++++- drivers/net/ipa/ipa_table.h | 7 ++--- drivers/net/ipa/ipa_version.h | 18 ------------- drivers/net/ipa/reg/ipa_reg-v3.1.c | 14 ---------- drivers/net/ipa/reg/ipa_reg-v3.5.1.c | 14 ---------- drivers/net/ipa/reg/ipa_reg-v4.11.c | 14 ---------- drivers/net/ipa/reg/ipa_reg-v4.5.c | 14 ---------- drivers/net/ipa/reg/ipa_reg-v4.7.c | 14 ---------- drivers/net/ipa/reg/ipa_reg-v4.9.c | 14 ---------- 15 files changed, 51 insertions(+), 167 deletions(-) -- 2.40.1