From patchwork Fri Jul 24 18:11:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 1335914 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=F1o28rPE; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4BCy2k0rylz9sTC for ; Sat, 25 Jul 2020 04:11:58 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726764AbgGXSLr (ORCPT ); Fri, 24 Jul 2020 14:11:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726553AbgGXSLr (ORCPT ); Fri, 24 Jul 2020 14:11:47 -0400 Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3356C0619E6 for ; Fri, 24 Jul 2020 11:11:46 -0700 (PDT) Received: by mail-io1-xd41.google.com with SMTP id t15so1776015iob.3 for ; Fri, 24 Jul 2020 11:11:46 -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=a/UQvPKtYnZLZqgUn0XW2j5+SzCkzSp8vCmVb/ZBF8c=; b=F1o28rPE/Yt97GiWaWB9/CKFJi6S1upJ6Y7qvou0AM54OpXJJpdCfiE77LtsvCPLY0 fCl2y9zr5v8H6+NloqxNx5sLczH6A38Lz7fc73HJFiqo7AYIdjd8D7R9SyeLVHMiPJ9d 03PH4NltlvA8G6XTfjLIANfY8zQx2U6xQIhuZL/gJU69jx7J9MN0Tu4tKPvbTsW/Q0b+ eSW/mVVwoB700ynQzxgJisaN0qhUC8VHi8svndt+Nw2C2WfDEq4U/VdnqsvyGnIfop3U GE1W0goa4UIrqpGbamvgy2e6qd2a5WABR7o7uGUOZMHg3KZn8boqYF9qp6Fqa1QNB14y QrEg== 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=a/UQvPKtYnZLZqgUn0XW2j5+SzCkzSp8vCmVb/ZBF8c=; b=DaZs3zrWlz8xJKragdlS13gzfKt+aAFk3lHXFRebI7iYvj1TXyY8Ig162JeWL0K/XE 0ADDTHQoxvjdcE8lO70hBW0vEsW5wuId1TO8Tz9DM2dHGXwm+j+/kUaFCSRYWQZz21W7 7hE+A1o8aOJTYvRS/6Q3WxTApqCEnUChJT2Pi4wz8qF1ABTDUjtVN1Swc+5PkBRvvwtg JHRk9de3tBXNICMXSJnMlmuzRzMTsgMgNskwoo0TcVgaytMd51QkOzTS+YRS7o6sXlnI G47bzHYHcwnR2kt6rlJL5dvFsr5TaW/yUoR4f4gHdXYk7if3y205hn+m9GWXLLkOi1yH zfdA== X-Gm-Message-State: AOAM533197C3IVgaACi8G/C8Y5qJ0OOP9ijkcXmZ58ap3awU5+UBaOdX ucoS5NSRxQt1+edA6nvhyuCwVg== X-Google-Smtp-Source: ABdhPJxKkoK9PhB+aL2g3ao8CwCGXNNySWGOpuO4MoByIZoOhHzUW/Bl+9bPSdtIJpjTUHONFFluCw== X-Received: by 2002:a6b:6e11:: with SMTP id d17mr11924957ioh.102.1595614305764; Fri, 24 Jul 2020 11:11:45 -0700 (PDT) Received: from beast.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id b13sm2407802iod.40.2020.07.24.11.11.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 11:11:45 -0700 (PDT) From: Alex Elder To: bjorn.andersson@linaro.org, ohad@wizery.com, davem@davemloft.net, kuba@kernel.org Cc: agross@kernel.org, evgreen@chromium.org, subashab@codeaurora.org, cpratapa@codeaurora.org, linux-remoteproc@vger.kernel.org, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] remoteproc: convert IPA to use new notifications Date: Fri, 24 Jul 2020 13:11:40 -0500 Message-Id: <20200724181142.13581-1-elder@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The IPA driver needs to be notified about changes to the state of the modem (starting, shutting down, etc.). A notification mechanism was put in place for that purpose, but a more general system has now been accepted: https://lore.kernel.org/linux-remoteproc/1592965408-16908-1-git-send-email-rishabhb@codeaurora.org/ The first patch in this series converts the IPA driver to use the new notification mechanism. The second removes the temporary system that was put in place for IPA use only. -Alex --> David: Bjorn has agreed to take both of these patches through the remoteproc tree. They should be merged together, and the first has a build-time dependency on patches in rproc-next. I'd appreciate an ack from you so he can merge it. Alex Elder (2): net: ipa: new notification infrastructure remoteproc: kill IPA notify code drivers/net/ipa/ipa.h | 3 + drivers/net/ipa/ipa_modem.c | 56 +++++++----- drivers/remoteproc/Kconfig | 4 - drivers/remoteproc/Makefile | 1 - drivers/remoteproc/qcom_q6v5_ipa_notify.c | 85 ------------------- drivers/remoteproc/qcom_q6v5_mss.c | 38 --------- .../linux/remoteproc/qcom_q6v5_ipa_notify.h | 82 ------------------ 7 files changed, 38 insertions(+), 231 deletions(-) delete mode 100644 drivers/remoteproc/qcom_q6v5_ipa_notify.c delete mode 100644 include/linux/remoteproc/qcom_q6v5_ipa_notify.h