Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1044331rwb; Tue, 27 Sep 2022 07:46:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6jvk4wTUUrQ3hMZINiU2d8h7J56zi7WktlNrIwsfIswB8VbHOUbppzPFHN/16FzHIVIaud X-Received: by 2002:aa7:c050:0:b0:453:4427:a947 with SMTP id k16-20020aa7c050000000b004534427a947mr27953905edo.172.1664289988030; Tue, 27 Sep 2022 07:46:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664289988; cv=none; d=google.com; s=arc-20160816; b=XIkVIkDoZr7qxvgwMdRipWFpXxdNDbW0uo5nK5iS+qrFix4BH4bxu422GSKwJXbVqI axUjzylh9Ni1T80kXtgeI4OdEkbvIl+oJgoNNCL7Qbxez0WYmpRZ3vBIspgcNZZ2kKyn TXP7ZpjkTqZNqlKwaAa3V23wZ+dlBxVBwCIlTrUx91OuQvV4P6tVehBi3s0YGPzrq1Vr Mkmw07uEkjobL8FCk/ADdS5M4WhSzg381EFb4hQ8JpdkBJtMfw85HaApUL/VU7V+pRqU a/8KqKi0XejE/5R560nc0YvZZ7dxHHcCI8eZ7IfGGiWg7dknifdHbeJg+pik38JG3MrP QHzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=YTNldlmgui/QlWqHWQNcU+pyYSg6pkhk49atqSSD1lo=; b=Sc4ORLXVS0rCO/K0T8V4Z1FMIQKmmnd2mpseWTWoAim0FgDIx6ojT1UggelISzr4j8 qlx+LPo4M+zNRFnMjCgD6qgJX8GwUMa14iO+5pHqg0zZZNLSTcCMc/Ovk88YsUB1O3Me qlRESJ0ePE+R7Y0+d7RNZrN8x9ugPyZ7uM3al70bo0Q8N+Uki/qwC6/01x8h96WYXhic kam9CleLgf/8y0CyATRnCSlEM+ygVE6WV5ReILCkrfVT+M7sj3r4cDVoeQzBd0SAyQya 5cVjLlpRWrE7OEtsVsvf3XdwrvZ8xxpGGnsOTu7I2yytjU90LQwli69Wc5Gu8d9Oj3um e4NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=n88goIsA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz6-20020a1709072ce600b007123952b00dsi1438297ejc.100.2022.09.27.07.46.01; Tue, 27 Sep 2022 07:46:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=n88goIsA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231981AbiI0N5r (ORCPT + 99 others); Tue, 27 Sep 2022 09:57:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232833AbiI0N5d (ORCPT ); Tue, 27 Sep 2022 09:57:33 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E392714C041; Tue, 27 Sep 2022 06:57:24 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28RDMXAp029438; Tue, 27 Sep 2022 13:57:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=YTNldlmgui/QlWqHWQNcU+pyYSg6pkhk49atqSSD1lo=; b=n88goIsASEoRHD/uNnyhOJK0er60k3Q3SM0dLftfFd5GznXw9GkPgWsLSbGJ8VxYbtQG +u1VnOgEkVi+6MwkVRqnTAM03oY/PtDKPHLD+I7tHubgC/T02ojO52ZIBLceJntVK/o9 VMjfopVECbilW6cphEAvl9Qnj+gQHtB3VWbMSL6/DQeglEfT14+HgssSooz8hinjXYIj n5L6qIXklUkUb4BkYk8wuyioyfiSlk7SykxAPJw4nWtMy2Mo/V28VHAr2jxOGxrq++Y3 SU/9tClWIX3Eaqujx17shVSnZFv6hFe0oCA0Zqv25GamWDzpkBUj6sZ8W7KVJwGXWZrP Mg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3juw260t9q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 13:57:14 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 28RDvDjc032324 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 13:57:13 GMT Received: from [10.226.59.182] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Tue, 27 Sep 2022 06:57:12 -0700 Message-ID: <6e5a8bb0-f659-fd6c-a45c-4bcfa537fc5b@quicinc.com> Date: Tue, 27 Sep 2022 07:57:11 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH] bus: mhi: host: Use mhi_soc_reset() API in place of register write Content-Language: en-US To: Qiang Yu , , , CC: , , , , References: <1664272126-82706-1-git-send-email-quic_qianyu@quicinc.com> From: Jeffrey Hugo In-Reply-To: <1664272126-82706-1-git-send-email-quic_qianyu@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: H38ixZaWndpGTN84bCpkPFmmbsYnYMk9 X-Proofpoint-ORIG-GUID: H38ixZaWndpGTN84bCpkPFmmbsYnYMk9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-27_05,2022-09-27_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 mlxlogscore=894 mlxscore=0 spamscore=0 impostorscore=0 phishscore=0 clxscore=1011 lowpriorityscore=0 malwarescore=0 suspectscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209270085 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/27/2022 3:48 AM, Qiang Yu wrote: > Currently, a direct register write is used when ramdump collection > in panic path occurs. Replace that with new mhi_soc_reset() API > such that a controller defined reset() function is exercised if > one is present and the regular SOC reset is done if it is not. > > Signed-off-by: Qiang Yu > --- Reviewed-by: Jeffrey Hugo