Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4563136ybb; Tue, 7 Apr 2020 09:52:14 -0700 (PDT) X-Google-Smtp-Source: APiQypIhSKq8Qynlreo3jDyzfxn2fBMDnnJoK+XnOtxhlSllmpapZFF2BcxaxLrDnWgHLJXWJsUA X-Received: by 2002:aca:5191:: with SMTP id f139mr199168oib.140.1586278334249; Tue, 07 Apr 2020 09:52:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586278334; cv=none; d=google.com; s=arc-20160816; b=fAIui0fjq4ZXlpDrBHFBUxHo99NnAKAfyP7zYOC6LFGeFATLLCW9y4q6xTDoiNxF64 PpM9OxTYgO0VqzDyiA8Sfg356xjfU8OPX8k37KKiE++EA8YUSC3BKhvv11J+HQfdWZH6 ARefi7FZS9ALZ7lEr4eewymch3nc90SPTHuvBTkgkdVYAFrcDjOcueholwONviCAJgg+ 8yUS5DfXvLV37tX4lAFycUQieY3FZtfotezmeZMvYjYeZRi79ojgJFP/HeUYCPQPHneB yDDoqQvI6sPVra2+TFDZlDMSaj4Ws1LabYkzYm7g+Nawu+oE1kmNzsMH+yyWggHtKeCH 1WPQ== 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=KWYz9mvUkdbBY6VxSARV2NYFIwTTBdGFRZi6/OrS2Zo=; b=R5cGmBviXfKzEox6d+3Pshe50NywFboIeFhzfho4RTzLwQnQTkNbrc5YSqs/DLLt82 vXhFeSPjkKQTMmdb3wfA52J1PKVatT5a877MScimf7SGN48bNIP6QNFJ618U7emj0mWd vT2WqzyCt0oolAW6svTXm9gK3q64N/Z8arMG3+O2KFaQZw5/yzF7Uwx91peetxLg0N6F jdcX66GUvDv07W7rYFgkwXtOUmxjaL7/+ipL351CqQ51VcSPZMynnubSgDHAGD7Huqd5 q7ibfc/JLi+tnB4C5RkiA4KQza8my4k+9V5KeskbdLt+bxHNYkSEXdSBoL4kLUNFTV3B wV0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=XxmL2UTj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g9si742238otp.52.2020.04.07.09.51.58; Tue, 07 Apr 2020 09:52:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=XxmL2UTj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726438AbgDGQvZ (ORCPT + 99 others); Tue, 7 Apr 2020 12:51:25 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:44521 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726365AbgDGQvZ (ORCPT ); Tue, 7 Apr 2020 12:51:25 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1586278284; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=KWYz9mvUkdbBY6VxSARV2NYFIwTTBdGFRZi6/OrS2Zo=; b=XxmL2UTjjqujfS7j1NtfV7PW2tRIAX91YbdGozPCki9NKj8HVYeKgvH+GYJOZCvM6Q6MVfLd 67g6jo3lpHwKEGGZvvMApt1CgSS5rlyHPcvLHpvN1lkNWtYoqnGNJCzXEBjwy+pWBB3rlXqz E1JLOVfivaat4mY5kFQ6oTfw4a4= X-Mailgun-Sending-Ip: 104.130.122.26 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 5e8caf8b.7f8ce554a6f8-smtp-out-n02; Tue, 07 Apr 2020 16:51:23 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id B9BB9C433BA; Tue, 7 Apr 2020 16:51:23 +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=unavailable 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 E1AC3C433D2; Tue, 7 Apr 2020 16:51:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E1AC3C433D2 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: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Hugo Subject: [PATCH v2 0/5] Misc MHI fixes Date: Tue, 7 Apr 2020 10:50:25 -0600 Message-Id: <1586278230-29565-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. 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 (5): bus: mhi: core: Handle syserr during power_up 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 drivers/bus/mhi/core/init.c | 7 +++---- drivers/bus/mhi/core/internal.h | 3 --- drivers/bus/mhi/core/main.c | 13 ++----------- drivers/bus/mhi/core/pm.c | 26 +++++++++++++++++++++++++- include/linux/mhi.h | 10 +++++++--- 5 files changed, 37 insertions(+), 22 deletions(-) -- Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.