From patchwork Fri May 15 20:07:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 219146 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=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no 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 00E8BC433E0 for ; Fri, 15 May 2020 20:07:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B63952070A for ; Fri, 15 May 2020 20:07:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tySTlNNO" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726197AbgEOUHn (ORCPT ); Fri, 15 May 2020 16:07:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726223AbgEOUHm (ORCPT ); Fri, 15 May 2020 16:07:42 -0400 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40A80C05BD09 for ; Fri, 15 May 2020 13:07:41 -0700 (PDT) Received: by mail-qt1-x82f.google.com with SMTP id c24so3079464qtw.7 for ; Fri, 15 May 2020 13:07:41 -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=HV2Z0w13p41YlV1PvC+Btxht1RgUxPRUBThDnW8Rilk=; b=tySTlNNOFdrlQ7X8lUdPbVRVAAkq49DgEJKq1JHETgJA0sUy79K1jdFUuqw2FOejAb APFjO6yC3H0dh+VG8VhjTOXx2urEhTWwbaVhF4wBRPCwxi6Kl+v53JLnlAYXqOLTdTWQ OjpHGKDSxsdbdsbHt89L0sYCMy/NTWfEzm/r2kN5vBazrWO+sFFNqT+r/VfilFUEkBra B8Up407+X/J2s+kUWnB73WVbfxd5571HJ/3o3DC/Xx8EYU3sokOke3FC27CyD01oNHrG eI1jOUG4uQDx/DxF3cB/nQg4Kj3Z43paG+hwtwEzInFHAVT/DSxz5hBdPLMlLYa78SkZ hVbA== 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=HV2Z0w13p41YlV1PvC+Btxht1RgUxPRUBThDnW8Rilk=; b=VQoaydtRM6M6ftaEfrpYaedEOIdrJ2TMIVb9SJbHlEIQ8pV8/MkxQ6zF/95F4ED23P 9CqsCUn/xyMWi8az/Mz/LS50EnNhy9ihs4+j+DSowO8V8nHgxucIC7LTgAwPDADhh5td a9fXr6OrSm4rKF2J7hMprUgP4aAbf3qV24FQ0F7Ufky/sJQ/8OrAhJFXqSUMNnn3n3Kg 2v9NR37D0EToMalnY5VvkEPj4m1A35E93hXKB51G9AznEVfKwf9n/xkFe+q9kixhaj7I AQPbjiXeXxyEMEGlkmOoJKKKSYi3QUMwi+E2JTSLBvVNOtmJm+91+J8G9zaGw2xQdrcY lLpA== X-Gm-Message-State: AOAM530DyFcQLidCr8dU6Tgs8o7h6aKoUM8oXsCjdBkhmsjoY4B7czE9 OTT2QPRQJGyp595MOTpLufCGDA== X-Google-Smtp-Source: ABdhPJyaS4LCsptRgnlvksHXNohAxNn7oJ8szASf0bDCtnqcfUijK3s/ku9l5D3H/33gJSANF+hjog== X-Received: by 2002:ac8:568b:: with SMTP id h11mr5358011qta.197.1589573260239; Fri, 15 May 2020 13:07:40 -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 132sm2328246qkj.117.2020.05.15.13.07.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 13:07:39 -0700 (PDT) From: Alex Elder To: davem@davemloft.net Cc: evgreen@chromium.org.net, subashab@codeaurora.org, cpratapa@codeaurora.org, bjorn.andersson@linaro.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 0/2] net: ipa: sc7180 suspend/resume Date: Fri, 15 May 2020 15:07:29 -0500 Message-Id: <20200515200731.2931-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 This series permits suspend/resume to work for the IPA driver on the Qualcomm SC7180 SoC. The IPA version on this SoC requires interrupts to be enabled when the suspend and resume callbacks are made, and the first patch moves away from using the noirq variants. The second patch fixes a problem with resume that occurs because pending interrupts were being cleared before starting a channel. -Alex Alex Elder (2): net: ipa: don't use noirq suspend/resume callbacks net: ipa: do not clear interrupt in gsi_channel_start() drivers/net/ipa/gsi.c | 11 +---------- drivers/net/ipa/ipa_main.c | 4 ++-- 2 files changed, 3 insertions(+), 12 deletions(-)