Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751351AbdLIK37 (ORCPT ); Sat, 9 Dec 2017 05:29:59 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:43003 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751150AbdLIK3y (ORCPT ); Sat, 9 Dec 2017 05:29:54 -0500 X-Google-Smtp-Source: AGs4zMZ1IrTkk3oMoiKaoR/hDrfXf1T0Z1/Zva8Oot7qQDwbitptEhLa6P/XTGoM/NSk+LmJseBZpPHtqNfANpmfMiw= MIME-Version: 1.0 In-Reply-To: <20171209100307.GA8699@amd> References: <20171203225640.GA11655@thinkpad> <3171660.sUGE0a2FEN@aspire.rjw.lan> <20171204195524.GA25730@thinkpad> <20171209100307.GA8699@amd> From: =?UTF-8?Q?Ognjen_Gali=C4=87?= Date: Sat, 9 Dec 2017 11:29:51 +0100 Message-ID: Subject: Re: [PATCH v2] thinkpad_acpi: Support the battery wear control To: Pavel Machek Cc: "Rafael J. Wysocki" , Jonathan Corbet , Len Brown , Darren Hart , Andy Shevchenko , Henrique de Moraes Holschuh , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, platform-driver-x86@vger.kernel.org, ibm-acpi-devel@lists.sourceforge.net Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 694 Lines: 19 On 09/12/2017, Pavel Machek wrote: > In newer series (I can't find it at the moment, sorry) The new series is a 3-patch patchset that obsoletes this patch. It is in the testing stage and will be pushed to the mailing lists and maintainers in a few days. > Maybe we should have separate status "not charging due to wear > control"? No, because the ACPI battery driver is a extension to the generic power supply driver, that does not understand the battery wear control. Also, Rafael specifically noted NOT to include any thinkpad_acpi-specific behavior to the generic drivers. That behavior you are describing can be implemented in the userspace. Thanks for the time! Ognjen