Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp187104lqn; Thu, 11 Apr 2024 19:44:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXDwk1y7cLIGgc3dbrT3bYuAnvhEJXIlwBNwZop0yQ4Fy/+go6NqDwoEf0x39QF0EsAyY0wWVVDkj+SV/2GSb29r+HQo2HTURX+8QLFAg== X-Google-Smtp-Source: AGHT+IE/pMr5iBUdD0MFDjLYRetTtPlmhYDtFndwlhG42rZJSnqYyP8sLsD2KGH/Cw7UYYcmQluA X-Received: by 2002:a05:6359:4608:b0:186:10ed:fd9a with SMTP id my8-20020a056359460800b0018610edfd9amr2120828rwb.3.1712889873252; Thu, 11 Apr 2024 19:44:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712889873; cv=pass; d=google.com; s=arc-20160816; b=kGtKfANW61Uxz9rJZYoly5yygRKsZukffKdXsEYV7hrya74xOPEtE4JwL/JvzYvzSP 2L6x2vBJE9ucjHrgaNdvyzNvWGnlGJmqG9y5OjEMEuW+NmZp+j5z2kjSEmEcqD1md/xt +rVbvH7lSmoHXE0xCVzRh3UcY58Pb7K+ooK3rPVxpbS2jh88WAvHXrOMYpndqwOBCJ74 9bTM06jpiV7rRvxSq8lP9kMn8wh7rcsoowzkV8X5VWGB14uX4MbaB+uHqL2Qxxjy5rIC volZKlgTVHH1JOGYKIhi+ikvT0zdLnvAif82L6qGiPsdSNUfGI0WvRtVwrvB+rFXRaY1 BOKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=YjwBFUKfQzATV8MN0CZKmv5/RE4aS2y4MQlXc0URcto=; fh=SjKD3LVSaYfud//9y/aat+aPrlrY7eJA1/o+W0iQffY=; b=S01mokdo8oFgU0Hrwu2hg92h0vusn6GBiEjPIZPIYJIMBJWPULubBhW4tMY2YNJfQ9 G2GErcXOHGoPd8/tPcD1erdMAKK95znCPhorB14C+WtDIaITAoQD4x3fgtnmCy7TfXCr qOHOxAplOsAvwh4wn18P7H5KOgugWMYWUy2TwHPsUxmjDS2M68cNGp4tY9W2JAILXrLy ipoV9VnX6ahXI5x9tyqEo1O7Phin47oZ1Q/qde6+TIIDIigENIRBaYguY/T+X1BuFBu4 wSUWwa0QPs9kNQ0jrw7ENDgUUJLV88VRh+WtYZz/pF4AwWXurWfaaTclPU1SOedGWJcw z0RQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=BDohIcd+; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-141818-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141818-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l38-20020a635b66000000b005d6a0068c1csi2381558pgm.95.2024.04.11.19.44.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 19:44:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141818-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=BDohIcd+; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-141818-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141818-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4D95DB23338 for ; Fri, 12 Apr 2024 02:42:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 595F3168BD; Fri, 12 Apr 2024 02:41:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="BDohIcd+" Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 165AC134BD; Fri, 12 Apr 2024 02:41:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.99 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712889705; cv=none; b=DBS0AWrYFXFmxc5wRVxEFZHbCViuLTKWyKCtYfYxRADglb8DjeGbRtM2WzBOUFDEkW4wjj6f5XVRnhZHEIs/YeM8YRHYX2UuB2GkhRfdE8YLnlc1NpFW7bndxFHg1EAGccizmZlCOY0OTC1Vpyc2ATkqyWp4YSaTRvYO8n/eGp8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712889705; c=relaxed/simple; bh=kPTWyd27qtpz0j7CiJ8MLUsJpEDcMvRcWprNNYOooUM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YFnOoBMQGV8dIZ+HPHQCEN8hdjdteSAI5DgvAoonHia0SlSnm/WZrMRO+3cHf7wf6Ka6w/99fwq4uLXKibTqDZFHjsnG1QqkHaR1++252H8Sq1YWVlS7+/qM3SlkGOpHAGxp63munPYOaL6o8BxLQfUk/+2PUJI5yOI4Pe/psco= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=BDohIcd+; arc=none smtp.client-ip=115.124.30.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1712889693; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=YjwBFUKfQzATV8MN0CZKmv5/RE4aS2y4MQlXc0URcto=; b=BDohIcd+BA1HWdfhgGDJAB4OvcRuI7Bm+8EGF0jJ3kxgDTZWRqtV6H2voAk90PRsZaJRHLsQBXgdXFba11+Jeb5m1zR7jdryVSmgFdvcwkMqcwSvhFHJm0fn6atpRyOQwowrId6DC/kycD9UfLkhihsPa7Gr66MuuRwohPm0bVU= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R211e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=tianruidong@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0W4MgPBj_1712889692; Received: from 30.221.130.139(mailfrom:tianruidong@linux.alibaba.com fp:SMTPD_---0W4MgPBj_1712889692) by smtp.aliyun-inc.com; Fri, 12 Apr 2024 10:41:32 +0800 Message-ID: <8ff4deab-13ab-4fdf-b418-fbfefe46c087@linux.alibaba.com> Date: Fri, 12 Apr 2024 10:41:31 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/2] ACPICA: AEST: Support AEST V2 To: Sudeep Holla Cc: robert.moore@intel.com, rafael.j.wysocki@intel.com, lenb@kernel.org, linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev, linux-kernel@vger.kernel.org References: <20240410063602.41540-1-tianruidong@linux.alibaba.com> Content-Language: en-US From: Ruidong Tian In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 在 2024/4/11 17:14, Sudeep Holla 写道: > On Thu, Apr 11, 2024 at 03:54:48PM +0800, Ruidong Tian wrote: >> >> >> 在 2024/4/10 17:22, Sudeep Holla 写道: >>> On Wed, Apr 10, 2024 at 02:36:00PM +0800, Ruidong Tian wrote: >>>> AEST V2 was published[1], add V2 support based on AEST V1. >>>> >>> >>> Any changes to ACPICA has to get merged in the external ACPICA project. >>> Refer [1] for details from Rafael. You can also refer [2] in the kernel >>> docs. >>> >> >> Patch1 is just a fix to follow kernel code style. > > IIUC such changes are not allowed as ACPICA changes are always imported > from the external project. So you have to take same route as patch2 In ACPICA, all struct use typedef which is not allowed in kernel: It's a **mistake** to use typedef for structures and pointers[1]. I see all other structs in actbl2.h follow this rule, so I fix all typedef in AEST struct to follow kernel code style. But i can not apple this fix in ACPICA. Patch1 is just a kernel patch. [1]: Documentation/process/coding-style.rst > 1 >> Patch2 had merged to >> acpica project, PR link can be see in patch2 comment: >> >> Link: https://github.com/acpica/acpica/commit/ebb4979 > > Thanks, this will then get imported into kernel next time ACPICA changes > get merged which usually happens regularly. >