Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2536217pxj; Sun, 6 Jun 2021 05:38:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyl49yrA9L54d7oy0VZKk0zurvir2BLw1VLbxax0wv328HX7h84tNIsz1sG5owFlbZCvrzE X-Received: by 2002:a17:906:4e96:: with SMTP id v22mr13193950eju.23.1622983096368; Sun, 06 Jun 2021 05:38:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622983096; cv=none; d=google.com; s=arc-20160816; b=t+Wi4EQr6K4bCHFlLm7tX+YIzdQc2eZv8lzQE7XUmbXqUsl8tGZArax1ZMrkSbXJSJ C/scRQ8v/sUII4dVGekakL2UK1NLIHy6DOcbUBIrW2UJgF06FeuL+/jlnZa/pm0YA/Vn Q2F5RvghvlV74L8hV664Dt4MiRE9+LSCy4r60MryJzkkoB1EEyA7Q8QvzELagLTT+hWu /q/xmJUiBu7wFoJEmrU2L8bvgiC9znZwY87JSU1guplrCb3m73+wUMPrbfXa2Dcmgxvm Z6F7s4Hj7QqGLzeDTZU51bZXLRh8yXNhxqbO5d3OIP3CtA2ojDrknj5DIUa3CrxiEcVC zv3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=2ne4so7aRRUV0VoDQgZq0B5fQZUAB/4sfsbMfwYFgt8=; b=K8QVzzYgdLTFlDO72mimifhR+Y94+GyZZ1xy1OhFjejY0owga/bSITG4eiwIb34aXb 3zEE/ziHQ5CMALaZ6MIWutQOIwRRyDyItDJ2lIFqnZzwDYZn7t5eO7A0tzEU9iR0i4zv Hm3Yc/4oXwdgV/9Iq4faiorYcibqyT071JvEUUoCeeMsFgDzSX40jYNvMk7rbRE42SjO WWRBzQnnv4THOE0Nv0ACWdvhriBgnSNRfVWz478OKMRdop7+Vj4HsVUrCjXqaCWppja6 t4ZUz1ZvH5chVZCwupFLfFZ1WXbHRiWp9JwaA0J/HKngt3VrPydWlxf0dr/7jmNItGt3 dAWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UtER8GAv; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t21si1260236edd.429.2021.06.06.05.37.53; Sun, 06 Jun 2021 05:38:16 -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=@gmail.com header.s=20161025 header.b=UtER8GAv; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230208AbhFFMgE (ORCPT + 99 others); Sun, 6 Jun 2021 08:36:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230091AbhFFMgE (ORCPT ); Sun, 6 Jun 2021 08:36:04 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 813ECC061766; Sun, 6 Jun 2021 05:34:14 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id c10so21853451eja.11; Sun, 06 Jun 2021 05:34:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=2ne4so7aRRUV0VoDQgZq0B5fQZUAB/4sfsbMfwYFgt8=; b=UtER8GAvPS0hr8zd8sQUFC1hmrPyNlFZbQsgwfTdGtRsVRWwQFnTkLA5WH8xVgQCpR h2JstD00wUf5WqDcBjy7YqkL23T+PdgN/tUnmBp3ajgyINelMZCWxm1jh4U8bwOSvitQ Dtqgapz0f0/MS/Cx907mIZcb2owbI1gdxhxMr//LObczuRMEJ0472ve28MnuQ8Qy2f/Y 56HDf3ffZdQ4cMJtn9M4FRTsV6y+s3hfgG/LQkyictJHed8+8KnwVWd8mNHcifCEhUwI sDAtZwDRsNsirTcPVidy+q5+tckbrtxHwxwcQ9KOwfs8NZ4wJ1gl+MAYm1js37TJtSmP rZ4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=2ne4so7aRRUV0VoDQgZq0B5fQZUAB/4sfsbMfwYFgt8=; b=kEth5bA5sbESuqVCNKB6/UTP/w2PgsSv2WgrSKsYLWkuZIaw4cbTibQlCZb29Rv4Ox tZIuz/EfFOqJNCYUDk2zRwNxpoGQI1ZK24FyeVpFTVDOYImyeReBKg/oizZngDTGuxkv W/OIP1wBA3cf+2P0Orbp6KN9C2y1B3tE2c5j2+fxP7w2dluqvaJP6lUd5mdIuPsuyZpo vuUV5I48yg0rOkpIphfrCDtqttbWp0rQ0YU473JxDNpp7gmrLh7FdyL6VyTa8mkzfKit 3EMMfuU9s+6PTaWhtSCvgdtlKwse4sq+ipLbOMtO8pmSppGCatLF4Sasfyi11uesaSFu 04Pg== X-Gm-Message-State: AOAM533+lViQ7BMPhdLeyHOIPZf0x3W/ZaolRrl5r7SS+R1cd3vfO3Tm dqCX5JZsuzK6b04b3o4KP2T1dJEkm5DA/A== X-Received: by 2002:a17:906:4fcb:: with SMTP id i11mr3347670ejw.366.1622982853120; Sun, 06 Jun 2021 05:34:13 -0700 (PDT) Received: from eldamar (80-218-24-251.dclient.hispeed.ch. [80.218.24.251]) by smtp.gmail.com with ESMTPSA id n5sm1575845edd.40.2021.06.06.05.34.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Jun 2021 05:34:12 -0700 (PDT) Sender: Salvatore Bonaccorso Date: Sun, 6 Jun 2021 14:34:11 +0200 From: Salvatore Bonaccorso To: Greg KH Cc: =?utf-8?Q?Lauren=C8=9Biu_P=C4=83ncescu?= , stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Backporting fix for #199981 to 4.19.y? Message-ID: References: <5399984e-0860-170e-377e-1f4bf3ccb3a0@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Laurențiu, Greg, On Fri, Jun 04, 2021 at 05:42:02PM +0200, Greg KH wrote: > On Fri, Jun 04, 2021 at 04:50:19PM +0200, Laurențiu Păncescu wrote: > > Hi Greg, > > > > On 6/3/21 11:19 AM, Greg KH wrote: > > > That commit does not apply cleanly and I need a backported version. Can > > > you do that and test it to verify it works and then send it to us to be > > > applied? > > > > I now have a patch against linux-4.19.y, tested on my EeePC just now: the > > battery status and discharge rate are shown correctly. > > > > I've never submitted a patch before, should I put "commit > > upstream." as the first line of my commit message, followed by another line > > stating which branch I would like this to be merged to? Should I also > > include the original commit message of the backported commit? And then use > > git format-patch? I just read through [1] and [2], but they don't say > > anything specific about commit messages for backported patches. > > Yes, what you describe here should be great. Look at the stable mailing > list archives on lore.kernel.org for other examples of this happening, > https://lore.kernel.org/r/20210603162852.1814513-1-zsm@chromium.org is > one example. Instead of doing a specific backport, maybe it is enough to pick a46393c02c76 ("ACPI: probe ECDT before loading AML tables regardless of module-level code flag") frst on 4.19.y and then the mentioned fix b1c0330823fe ("ACPI: EC: Look for ECDT EC after calling acpi_load_tables()"). Note I have only checked that this resolved the clean apply on top of the current v4.19.193. Regards, Salvatore