Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3044368ybz; Mon, 27 Apr 2020 09:01:43 -0700 (PDT) X-Google-Smtp-Source: APiQypKqYskRWWKrxtkr3GNnxkHI43AmJPuu1NgG8kAsLk1hVqKUJ3rOp2gHHVSKB2Moi+tgejEE X-Received: by 2002:a17:907:94c8:: with SMTP id dn8mr20568146ejc.286.1588003302779; Mon, 27 Apr 2020 09:01:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588003302; cv=none; d=google.com; s=arc-20160816; b=FtVs8fGLtfp+T18LNRhrQybVsEFdC3yZbOXZfoG1JOxLXP7hx8mcBEACv1c2z2apJy xqYAs8cTokcXlZ1DQKoAKepFT8Q+G3z9Rf9J5l7/81V12deDmVOzcZb2jMBaH/mJVXRP GwgQhMtmFJrOvCQ0/qec7F8psJZPlYjr7OS4VbSpRqh6KeYfCONTbgKdg9QhvuZ+ID+n JKK9vOjmHbiFw/xbMRFLV7xtcmqQP4Pg8Jxt9jQ4ML+eAl7+YX80V0sw86WCKOqoRP3N aT6GiB4DSbMKuZ85BUxbBnD7PhjxCBfY1yaOtFM/dmEtG0B9po/1C+hhfxAVOS1XiadE jcFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature; bh=ucj+gc5/pcfKXwbgbp1GSdAM1Wgy+R2UP3HxP0CxH04=; b=RDM+wdv3LUi2tslc8D70Wia7YXg8QI7gdCaf+yHsUCiJjvRPUZiR9aNTFdp0c+zAVd XDWRc156A+crbv4V0dWe2AtxJa5H+AvuhQLYiYH1kCDcMsa8VaWjih3OgExR85gSwM/c Qu3qT/+OVcRSGzLtPBMLbdjKrCMsqm1k8ZNAF6dNtQjfRwv+h6QvorjPXe1qUy0mLY+X jd8vZARfF/lvtvSK/3giqFWETyxYaULhYjtzNgG0MDXyo758voeVHsRzmTokOOtdPJYX d7m5863cDRkPIfJoMHk+L6uFyVZsiOSDwrg5E0rTVIlcjYHVT2akRRvNGieCOZSmv5FY S2Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=jxSEYrOG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f26si20370edj.20.2020.04.27.09.01.08; Mon, 27 Apr 2020 09:01:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=jxSEYrOG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728229AbgD0P7l (ORCPT + 99 others); Mon, 27 Apr 2020 11:59:41 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:37853 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727084AbgD0P7l (ORCPT ); Mon, 27 Apr 2020 11:59:41 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588003180; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=ucj+gc5/pcfKXwbgbp1GSdAM1Wgy+R2UP3HxP0CxH04=; b=jxSEYrOGH2BxwJ+IRu6a72mLxh+/XX32hdLCnTXPdHvDABjJORaQ/ke8o7S5vXeCoVfYSxS5 Z7i8F1JwLec4razo1lnkN83fsrCZSDk50Wcf65ct9GK67OUh6p3gMKWFLH5brKGmMTJQWkJB WjTH0uXS7VU9MM3H97idH/HJnlI= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5ea7015e.7f1064a4c500-smtp-out-n02; Mon, 27 Apr 2020 15:59:26 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A267FC433D2; Mon, 27 Apr 2020 15:59:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=ham autolearn_force=no version=3.4.0 Received: from jhugo-perf-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo) by smtp.codeaurora.org (Postfix) with ESMTPSA id C9E8AC433CB; Mon, 27 Apr 2020 15:59:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C9E8AC433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org From: Jeffrey Hugo To: manivannan.sadhasivam@linaro.org, hemantk@codeaurora.org Cc: bbhatt@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Hugo Subject: [PATCH v3 0/6] Misc MHI fixes Date: Mon, 27 Apr 2020 09:59:07 -0600 Message-Id: <1588003153-13139-1-git-send-email-jhugo@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A few (independent) fixes to the MHI bus for issues that I have come across while developing against the mainline code. v3: -reorder series to put changes which are ready, based on reviews, in front -change error from EIO to ETIMEDOUT when sync_power_up fails -add change to correct a conflict of channel device names v2: -fix syserr reset log message -fix power up error check code style -add change to remove pci assumptions for register accesses -add comment typo fix Jeffrey Hugo (6): bus: mhi: core: Make sure to powerdown if mhi_sync_power_up fails bus: mhi: core: Remove link_status() callback bus: mhi: core: Offload register accesses to the controller bus: mhi: core: Fix typo in comment bus: mhi: core: Handle syserr during power_up bus: mhi: core: Fix channel device name conflict drivers/bus/mhi/core/init.c | 7 +++---- drivers/bus/mhi/core/internal.h | 3 --- drivers/bus/mhi/core/main.c | 16 ++++------------ drivers/bus/mhi/core/pm.c | 26 +++++++++++++++++++++++++- include/linux/mhi.h | 10 +++++++--- 5 files changed, 39 insertions(+), 23 deletions(-) -- Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.