Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3536898pxb; Mon, 4 Apr 2022 20:22:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTo6h43o/m7kDkPg924iaRMTp2oKXIUWxAMUXjlBWpbX+PnM5DzVeYZivFzycFczPAq0OX X-Received: by 2002:a63:6d4c:0:b0:398:7c40:c160 with SMTP id i73-20020a636d4c000000b003987c40c160mr1126519pgc.109.1649128936041; Mon, 04 Apr 2022 20:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649128936; cv=none; d=google.com; s=arc-20160816; b=qshPSCD1im6FKNZtzwixOOXht5bSQrK1O6IfzrkhAblWAGQtScqQuCGNUEXfKmGMi/ Ujz/4ZgZItlD08j3wR8uJ9Rxt0O7+QOkl9urLnXJSCGr78qyhwlwxpZV+mMxsss49YHF 7WM4i2vT78DdLdWRQDruDbpUmq028oWxo8+j3RR824eHBFOrOVReK/ncYZv8lz/nGuyR 40+7IURBtR5EGE6Sc992cdTjRRibnIGmrKGYFmADo850UEJKoyBS/IbJDJ7eho10lAN9 R+6f3/JAupBsgYqgMg1755EHCXulFVKX0ATBEY3Do24y2mAbm+Mikzpu1rQnsXWuV1P+ OTZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id; bh=ihEvjA+UT4xvWidbqSfIXeIYR/EFKEXsSYjF194wkus=; b=etCSvppqJAGxfrKD9IZJ27IMsNFuNdgpOTDgrxHBjvIyLGBkesidXA/jVZvTLqEdB2 h4Sr63JhNPWv5VZLhOlkde4KwANu627MCOoteMgnpZie8xFFST0xd3CGHtyK2vZBN+9E NwKJ63uRGuXnEH6FF1yt4/j2NdCjlhCT0O8Im+I64sRr8eTgGLNV1ZX4UMoPcXRXphjw lFeXaHZ0thUujfWa1cEzlSghBUjG2pkIfXFYo5OtNXgPWB/9NXEc/z7/1ZLv32F5NQiF kOh6EiekYiptfDIbhbR0zwVl0renXbCly7s1v1uVw/t8GNYYRRfcXpPVOVEv/yGZmCy/ 1juA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q18-20020a17090311d200b0015629c201b8si11963386plh.358.2022.04.04.20.22.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 20:22:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 05EDB32F844; Mon, 4 Apr 2022 18:21:59 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357297AbiDDKUv convert rfc822-to-8bit (ORCPT + 99 others); Mon, 4 Apr 2022 06:20:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357144AbiDDKUo (ORCPT ); Mon, 4 Apr 2022 06:20:44 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88460642B for ; Mon, 4 Apr 2022 03:18:49 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nbJnM-0002Ek-2i; Mon, 04 Apr 2022 12:18:48 +0200 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1nbJnM-0010Wg-OK; Mon, 04 Apr 2022 12:18:47 +0200 Received: from pza by lupine with local (Exim 4.94.2) (envelope-from ) id 1nbJnK-0006lZ-N5; Mon, 04 Apr 2022 12:18:46 +0200 Message-ID: Subject: Re: [PATCH v2] reset: ACPI reset support From: Philipp Zabel To: Krishna Yarlagadda , linux-kernel@vger.kernel.org, thierry.reding@gmail.com Date: Mon, 04 Apr 2022 12:18:46 +0200 In-Reply-To: <20220307135626.16673-1-kyarlagadda@nvidia.com> References: <20220307135626.16673-1-kyarlagadda@nvidia.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Mo, 2022-03-07 at 19:26 +0530, Krishna Yarlagadda wrote: > Some of the IO devices like I2C or SPI require reset at runtime to > recover from an error condition without changing the power state of > the system. Added check for ACPI handle and a call to method '__RST' > if supported. Devices using device tree method are unaffected by > this. > > Signed-off-by: Krishna Yarlagadda > --- > v2: > - add error checks. Thank you, applied to reset/next. regards Philipp