Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1511143ybk; Thu, 21 May 2020 08:34:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzv4DPFIQjomilaTpkFiTuxXyi8Emmt2fNE/TfQ48EBfFPAlm8ik0bdg809rBx+FmyymMV3 X-Received: by 2002:a50:e002:: with SMTP id e2mr8135907edl.179.1590075248898; Thu, 21 May 2020 08:34:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590075248; cv=none; d=google.com; s=arc-20160816; b=M/c9V6TTOO6EHy9YVp6dLeqcVw/aXVGIfwfv/BvLOIAfcCYxRPXmDCigCik7lwsa59 vMcZ4e8YGxq/QoC0DVSPDWziIH/MQRVrSR2ZiD5vSyodV27dYxJDbhCoY0KYtvuh0Z6B kmnQagS/fMQbToXW/sCFGPlfAvt97mXd5U/oC22LwXO3/k2/25ikfRvFeXV6OaxrFtcY NllMg2HUVcD5UsaurvwiMDcrVOKeV2CGweFtc5aFp3nsgm6m+YwXcLN6ZPR8N91Clq3D fdyjZgX55wLe4da2v9wBRyYf78iowmo1vQl7Qf8VDAkw5Zw4FGMs8rC//0AERus7+ZHP zNNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+L6yMgj6SF412wxBrlIvpshzc4kgoWA+VMhfhRUlVRs=; b=v+6dt6YvlMtY9hlQ+r6mQDwQ5s0Fh/syjWZIf+dpdSjyvIsWtbxBQuWazsya9uaRR8 VsTxfg+RDjt66z9ItK2gJrGiF5yYvHGJl+hLFAQfubvS4nrWNUdTKCYTqUybE9AYHBqx rOisMtda07HE4yPa5SHieIkIzNili3rXhcFWHTQ7lKSxdn0KSHgmxD9H2rWLCshzoFpF RIvPCjh4JIUJ8iaJBGcU6xbq9GNHNueDf5gVRgIcVN/nY0evkbpp8FHRI52ydQfN5q6V A5J0bhq9c+0Uhjs7M8MBVL8EI8QiR4I5tgktgNmO1myDBnOOa5uA1MU4Iz0ZREAWzrUX PrGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="p/q6amQY"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b44si3315437edf.469.2020.05.21.08.33.41; Thu, 21 May 2020 08:34:08 -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=pass header.i=@linaro.org header.s=google header.b="p/q6amQY"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729860AbgEUPcQ (ORCPT + 99 others); Thu, 21 May 2020 11:32:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729789AbgEUPcP (ORCPT ); Thu, 21 May 2020 11:32:15 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97829C061A0F for ; Thu, 21 May 2020 08:32:15 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id p21so3315533pgm.13 for ; Thu, 21 May 2020 08:32:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+L6yMgj6SF412wxBrlIvpshzc4kgoWA+VMhfhRUlVRs=; b=p/q6amQYHbeWvUMuWV8BWlNvYitmVYExKiYUbdqWdS/RIHPFjC0D7KSnjAQ3Vsiuot pAo9OHxUXoiEjwGn/Qa8YsiYl8QbK4R0jl4q6MN00xn4PPsooPgrFs/DIkxaiKR6Oaw+ QggFTCvHrCfhpzbed8BBeB0vy3Ewtvau7CeGec4qF13qB3K3WeSx7Jiw+JjKQM1ArCdj j2Tdw7TPFVfOTcriqkuIc5Hvcb+6qQuog8h2umBG3WsexWEpEvdF887dDCmn7ecCbj8U pN/RPtImXVEQCrGRYkXUrMp4y2HH5AWxGyH86aa6kKS/+bu0uD2JkZfdttVNu6gk0Ako CFtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+L6yMgj6SF412wxBrlIvpshzc4kgoWA+VMhfhRUlVRs=; b=rJ24dE942oo/G9Qz79Ol8hTrAfMP+Jbaf/nbNBonXPbNVyhapj8LuigxXGYZRngW3Q fhuHWqKm5bMJqD5gROl3uQJI+h6lkeDjonkq+WjYAnOIDR4YAVqAgnTVIIIQg8vjjeCo OoFZzvibsuuFQLXoYE22FUxVbrzkvUjwUolZAy4ecozAro1lJIQBS2JjTKOoPaSwMca4 rlaTCkUlPz1WIOkPsTW4sUJ6FcINUXoo3743FZseSvbgh63fI+X5sb0KVMAImO5B0wCW 2z5w4R+u57Uz/V6+04M9B2tIJuCNhJDKxh+JP3PgjAU9P8wn8eiEOlXFZVMvM0TUnYgK IrWg== X-Gm-Message-State: AOAM530AflzuEdBO1+Ytxt6ggItMccmmE6OVKkn2ut0UDIlnu0dAeMqR QsD6K1pUEUQ3isp8Llm2jbfY X-Received: by 2002:a62:4e88:: with SMTP id c130mr10082114pfb.122.1590075134984; Thu, 21 May 2020 08:32:14 -0700 (PDT) Received: from Mani-XPS-13-9360 ([2409:4072:69f:45f2:3d8d:3719:f568:7ee9]) by smtp.gmail.com with ESMTPSA id g27sm5034156pfr.51.2020.05.21.08.32.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 May 2020 08:32:14 -0700 (PDT) Date: Thu, 21 May 2020 21:02:08 +0530 From: Manivannan Sadhasivam To: Bhaumik Bhatt Cc: linux-arm-msm@vger.kernel.org, hemantk@codeaurora.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/7] Introduce features and debugfs/sysfs entries for MHI Message-ID: <20200521153208.GB16101@Mani-XPS-13-9360> References: <1589832241-13867-1-git-send-email-bbhatt@codeaurora.org> <20200521132318.GA3797@Mani-XPS-13-9360> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200521132318.GA3797@Mani-XPS-13-9360> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 21, 2020 at 06:53:18PM +0530, Manivannan Sadhasivam wrote: > Hi, > > On Mon, May 18, 2020 at 01:03:54PM -0700, Bhaumik Bhatt wrote: > > Introduce independent bus and device voting mechanism for clients and save > > hardware information from BHI. > > Allow reading and modifying some MHI variables for debug, test, and > > informational purposes using debugfs. > > Read values for device specific hardware information to be used by OEMs in > > factory testing such as serial number and PK hash using sysfs. > > > > I think this series is not yet ready. So will not merge any patches in this > series for 5.8. > > Or let me know if there are any independent patches which should get merged. > I'm planning to send the final 5.8 series to Greg by Friday. > Sorry. I just realised that we are running out of time as we are ending rc6. So I've sent the 5.8 series to Greg. Thanks, Mani > Thanks, > Mani > > > This set of patches was tested on arm64 and x86. > > > > v3: > > -Add patch to check for pending packets in suspend as a dependency for the > > independent voting mechanism introduction > > -Include register dump entry for debugfs to dump MHI, BHI, and BHIe registers > > -Update commit message for the debugfs patch > > -Updated Documentation/ABI with the required info for sysfs > > -Updated debugfs patch to include a new KConfig entry and dependencies > > -Updated reviewed-by for some patches > > > > v2: > > -Added a new debugfs.c file for specific debugfs entries and code > > -Updated commit text and addressed some comments for voting change > > -Made sure sysfs is only used for serial number and OEM PK hash usage > > > > Bhaumik Bhatt (7): > > bus: mhi: core: Abort suspends due to outgoing pending packets > > bus: mhi: core: Introduce independent voting mechanism > > bus: mhi: core: Use generic name field for an MHI device > > bus: mhi: core: Introduce helper function to check device state > > bus: mhi: core: Introduce debugfs entries and counters for MHI > > bus: mhi: core: Read and save device hardware information from BHI > > bus: mhi: core: Introduce sysfs entries for MHI > > > > Documentation/ABI/stable/sysfs-bus-mhi | 25 ++ > > MAINTAINERS | 1 + > > drivers/bus/mhi/Kconfig | 8 + > > drivers/bus/mhi/core/Makefile | 5 +- > > drivers/bus/mhi/core/boot.c | 17 +- > > drivers/bus/mhi/core/debugfs.c | 501 +++++++++++++++++++++++++++++++++ > > drivers/bus/mhi/core/init.c | 80 +++++- > > drivers/bus/mhi/core/internal.h | 29 ++ > > drivers/bus/mhi/core/main.c | 6 +- > > drivers/bus/mhi/core/pm.c | 79 ++++-- > > include/linux/mhi.h | 39 ++- > > 11 files changed, 745 insertions(+), 45 deletions(-) > > create mode 100644 Documentation/ABI/stable/sysfs-bus-mhi > > create mode 100644 drivers/bus/mhi/core/debugfs.c > > > > -- > > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > > a Linux Foundation Collaborative Project