Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751297AbdLNJgI (ORCPT ); Thu, 14 Dec 2017 04:36:08 -0500 Received: from mail-sn1nam01on0066.outbound.protection.outlook.com ([104.47.32.66]:52640 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750795AbdLNJgF (ORCPT ); Thu, 14 Dec 2017 04:36:05 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Vadim.Lomovtsev@cavium.com; Date: Thu, 14 Dec 2017 01:36:00 -0800 From: Vadim Lomovtsev To: "Rafael J. Wysocki" Cc: "Moore, Robert" , "Wysocki, Rafael J" , "lenb@kernel.org" , "linux-acpi@vger.kernel.org" , "devel@acpica.org" , "linux-kernel@vger.kernel.org" , "vadim.lomovtsev@cavium.com" , "Schmauss, Erik" Subject: Re: [PATCH] acpi: acpica: add acpi status check prior walking through namespace Message-ID: <20171214093600.GB10734@localhost.localdomain> References: <1513094360-1414-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> <1513094360-1414-2-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> <94F2FBAB4432B54E8AACC7DFDE6C92E3B74FBD84@ORSMSX110.amr.corp.intel.com> <20171213145201.GA6692@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: CY1PR07CA0003.namprd07.prod.outlook.com (10.166.202.13) To CY4PR07MB2999.namprd07.prod.outlook.com (10.172.116.13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: efe21e3c-8245-4e94-6d9b-08d542d6182f X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307);SRVR:CY4PR07MB2999; X-Microsoft-Exchange-Di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Y0xf//CtuFaWB0HmP/IM6PetSncxhygS93sn8ZQKhkAlBjZs9WIbi9TPp+KNhed7SYkivMyP6PEEYrcLiIp1IKiH84hV3xKmsMv090IEg5ne1Tp7zAMZdVIWH3AwreRqDMrcO9uRknKnCNZbBhIL/768msCyqe05ZDw+HyNsLP2smJvan9gDqUL8LVpPPhz9POgUSjJp4fmkPgKksmT9Rt3+lbq+5NyKszyamcwY1WLDLxNhJnRg2eV1Fd2SghvENGyYH+Pynp2D/bZHqPNNFsbAUc2WgpRUglKc1QbeGv+95Q6j5hyN6uTPEfJ3YOpsd0Yg6XBg4Y9oIMWeI1HKH4fqwEXRf1Rr8qWNUruxtkzsdzJfJVW/ZrMrIXhkBQqxxmqT+McE/Cc5VDEPWwn21784pljn2Z49t/uosW3nJtCnXvqRj5ttQVt2edHO/MJoTozsZ7DyY/eKwfEBXU=;4:aC+ZY8+F27ez1NlQE+N1MvCZU9df7ucOkns3LUMLMtdHlsucs64vXnfJBpvCttFcj0xzjmUFOj1y8wbgMnFzB73Or4GJzXQzv1we2vJzsHhkJAZRFD1ousOaR/NJqtjIjCLBk5+Bga6VHkqSCLZAXlETK+lq6SfLYXsWefCs2X+N+FyIGMzMPli2myPVO2jD8EFBQ3d4jRRu20k8PjhliVyeo3LB5dhNb7P9bb5ym44eNSFzN3hjP6erG9yDvMrOe5/JVSwQ6muJ9ZoZ7dwudA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(8121501046)(5005006)(93006095)(3002001)(3231023)(10201501046)(6041248)(20161123560025)(20161123564025)(20161123562025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:CY4PR07MB2999;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:CY4PR07MB2999; X-Forefront-PRVS: 05214FD68E X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(366004)(396003)(346002)(39860400002)(376002)(199004)(189003)(51744003)(24454002)(53936002)(61506002)(16526018)(6246003)(9686003)(55016002)(1076002)(23726003)(47776003)(229853002)(68736007)(5660300001)(25786009)(93886005)(345774005)(316002)(54906003)(4326008)(50466002)(6116002)(81166006)(52116002)(305945005)(16586007)(66066001)(2906002)(6916009)(81156014)(42882006)(33656002)(2950100002)(7736002)(7696005)(106356001)(8676002)(97736004)(3846002)(76176011)(478600001)(8936002)(72206003)(386003)(59450400001)(53546011)(105586002)(6506007)(83506002)(58126008)(33896004)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR07MB2999;H:localhost.localdomain;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY4PR07MB2999;23:R3bmrQKj747xKwOkjySZYswn80hIIC+UgBtMo/AG8?= =?us-ascii?Q?oX+AOTgVg1l4F3iNl/2Ma1uzQ0MT5ZgzAZG7fiAsZUsPCp35dn6YvXRCTYkk?= =?us-ascii?Q?nV0mKzpPbMF5ceWrHh4jJ6z+yQvGntlqF49kBjSn25rbTzGmMfuZDrTQJCM1?= =?us-ascii?Q?VZtkdGkQug2Ff+zBZwmP3dLp0qu1VXnoDK+7Sog8gGBcxpefD+af0DH5f//a?= =?us-ascii?Q?vFOj3EQr+BkodCETRV6CJVipdCc/9z7Zkl2JSTpUxto2fplNK0m4O8XU41Ir?= =?us-ascii?Q?BIeCG+qrB3hrhEBbCEavCAVq4GOD8896FYKers9C7BYhkLoxd108V0wKEKGK?= =?us-ascii?Q?8q/j+H8Ih8LfToCFAATRFXI/ddocbEKWhfU2wPsIHiMwi0360hMTAX8uPwg7?= =?us-ascii?Q?oeQ9YML1Ax0N7ufmx4NZhrSMV3K1ds8fmGhmUSj/4v7zS1+X2PJvggmy1RPb?= =?us-ascii?Q?Y1oekM5o0I/3hkkC0TbNBMoQdx2JZme2l3e9zS2ok7VKY2B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=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY4PR07MB2999;6:qTTbGbQBYVRaz3C4+1SMZuE4es0+lv3GEHCW675w0jhwkWbcuqoadZsKAxhsewkQh+AITw6SPAqmVUQyPazeoxp4+Q3P5aBxw/gE452m+AfccICeAc+g17Jor+oghSOop/oEjKTGN8pV3LQfabML/vo32g84hTdqv+T09fmS1xo3Ia4jZQkvNdwN1x/YPlrvt6MaApn5cKNXCX2NmWy7kLILi/jlnByQn7tG+Ks/b1iXoHl/cR57BfPpbJGOU1r3boz6onoRoqiuNw22uP8P8r6JNx6HaEeKMrzzekoVMxUUSaRz+91xqra2qXPkkmNiuuIgQVrDpbwuxR6zkufZyg/paALl2Mo1gJKW7ZRdS5U=;5:hw2k+k47vghOShMknmSz8xGlRbh9agmZF/XS8An/klhT2U6QKJe3RGEbummUuqhj/nnL1EiGGSQSCOxzU29PXOqmj+MR52ZLWn5t7ua800GP96D/NnURdUSr+ORbFdwFzPzAtOyMP13CHPaD3QZI7a4DcpHTv4eRb8zjydXRqZk=;24:R+IjWTx5XPsGbhnceZ1GF4jsLcO9eKAhmAlPEjsKBdXJhLdske5PvXF3h/RFi2th7NvcDzcIb627TyWHawm1FiMtok/rVlC5yJNjPVQrmX8=;7:GENE/xC6N6GlDe+nKziOWpjLeGoI5rrtxsvwU9hYsxbJuCiI7dYtRvlOecVyL10Nh//uis3WBnnklrc3GCHYXsm8FFo/ccbfOsvcyCri66UZoDGHNEqY52j5hZbl67dmWzEjB5cYz109Yh30HS7NfSkUnYZbUqfueiucZF6kLwFfev2q/KhjX6fkLCr6vbeLwwWZdxlI0vwFRjgjArYGoprpXubfObfDbfin1UbfwDo/ByPxZoDpkrfVNEd5Kq+G SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2017 09:36:03.5206 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: efe21e3c-8245-4e94-6d9b-08d542d6182f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB2999 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 703 Lines: 21 On Wed, Dec 13, 2017 at 05:48:49PM +0100, Rafael J. Wysocki wrote: > On Wed, Dec 13, 2017 at 3:52 PM, Vadim Lomovtsev > wrote: > > On Tue, Dec 12, 2017 at 09:52:21PM +0000, Moore, Robert wrote: > >> Another way to look at this is that the kernel should not be calling ACPI interfaces if ACPI is disabled. > > > > Yes, I agree. So in this case the ltp_acpi test case has to be updated with such checking > > before calling ACPI interfaces. However, it seems that such calls was put there intentionally, > > without ACPI state check, as part of kernel testing strategy. > > Not really. Ok, see your point. Thank you for your time. WBR, Vadim > > Thanks, > Rafael