* Re: [External] Re: [PATCH v3 4/4] dt-bindings: firmware: Document ffitbl binding [not found] ` <20230705-oblivious-unstuffed-8e028a5b243c@spud> @ 2023-07-06 3:43 ` 运辉崔 2023-07-06 6:00 ` Krzysztof Kozlowski 2023-07-06 6:44 ` Conor Dooley 0 siblings, 2 replies; 7+ messages in thread From: 运辉崔 @ 2023-07-06 3:43 UTC (permalink / raw) To: Conor Dooley, robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree Cc: sunilvl, ardb, palmer, paul.walmsley, aou, linux-riscv, rminnich, mark.rutland, lpieralisi, rafael, lenb, jdelvare, yc.hung, angelogioacchino.delregno, allen-kh.cheng, pierre-louis.bossart, tinghan.shen, linux-kernel, linux-acpi, geshijian, weidong.wd Hi Conor, Added dts Maintainers, On Wed, Jul 5, 2023 at 11:07 PM Conor Dooley <conor@kernel.org> wrote: > > Hey, > > On Wed, Jul 05, 2023 at 07:42:51PM +0800, Yunhui Cui wrote: > > Add the description for ffitbl subnode. > > > > Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com> > > --- > > .../devicetree/bindings/firmware/ffitbl.txt | 27 +++++++++++++++++++ > > MAINTAINERS | 1 + > > 2 files changed, 28 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/firmware/ffitbl.txt > > > > diff --git a/Documentation/devicetree/bindings/firmware/ffitbl.txt b/Documentation/devicetree/bindings/firmware/ffitbl.txt > > new file mode 100644 > > index 000000000000..c42368626199 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/firmware/ffitbl.txt > > Firstly, new dt-bindings need to be done in yaml, not in text form. > Secondly, you didn't re-run get_maintainer.pl after adding this binding, > so you have not CCed any of the other dt-binding maintainers nor the > devicetree mailing list. Re-run get_maintainer.pl and added maintainers into the maillist. emm.. There is some *txt in Documentation/devicetree/bindings/firmware/, isn't it? > > > @@ -0,0 +1,27 @@ > > > +FFI(FDT FIRMWARE INTERFACE) driver > > + > > +Required properties: > > + - entry : acpi or smbios root pointer, u64 > > + - reg : acpi or smbios version, u32 > > Please go look at any other dt-binding (or the example schema) as to how > these properties should be used. A "reg" certainly should not be being > used to store the revision... Okay, If so,I'll add a property "version" into the dts instead of "reg", just like, WDYT? ffitbl { smbios { entry = ""; version = < 0x02 >; } acpi { entry = ""; version = < 0x06 >; } } > > Cheers, > Conor. > > > + > > +Some bootloaders, such as Coreboot do not support EFI, > > +only devicetree and some arches do not have a reserved > > +address segment. Add "ffitbl" subnode to obtain ACPI RSDP > > +and SMBIOS entry. > > +This feature is known as FDT Firmware Interface (FFI). > > + > > +Example: > > + ffitbl { > > + > > + smbios { > > + entry = ""; > > + reg = < 0x03 >; > > + > > + } > > + acpi { > > + entry = ""; > > + reg = < 0x06 >; > > + > > + } > > + } > > + > > diff --git a/MAINTAINERS b/MAINTAINERS > > index 9b886ef36587..008257e55062 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -7874,6 +7874,7 @@ F: include/linux/efi*.h > > FDT FIRMWARE INTERFACE (FFI) > > M: Yunhui Cui cuiyunhui@bytedance.com > > S: Maintained > > +F: Documentation/devicetree/bindings/firmware/ffitbl.txt > > F: drivers/firmware/ffi.c > > F: include/linux/ffi.h > > > > -- > > 2.20.1 > > Thanks, Yunhui ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [External] Re: [PATCH v3 4/4] dt-bindings: firmware: Document ffitbl binding 2023-07-06 3:43 ` [External] Re: [PATCH v3 4/4] dt-bindings: firmware: Document ffitbl binding 运辉崔 @ 2023-07-06 6:00 ` Krzysztof Kozlowski 2023-07-06 6:24 ` 运辉崔 2023-07-06 6:44 ` Conor Dooley 1 sibling, 1 reply; 7+ messages in thread From: Krzysztof Kozlowski @ 2023-07-06 6:00 UTC (permalink / raw) To: 运辉崔, Conor Dooley, robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree Cc: sunilvl, ardb, palmer, paul.walmsley, aou, linux-riscv, rminnich, mark.rutland, lpieralisi, rafael, lenb, jdelvare, yc.hung, angelogioacchino.delregno, allen-kh.cheng, pierre-louis.bossart, tinghan.shen, linux-kernel, linux-acpi, geshijian, weidong.wd On 06/07/2023 05:43, 运辉崔 wrote: > Hi Conor, > > Added dts Maintainers, > > On Wed, Jul 5, 2023 at 11:07 PM Conor Dooley <conor@kernel.org> wrote: >> >> Hey, >> >> On Wed, Jul 05, 2023 at 07:42:51PM +0800, Yunhui Cui wrote: >>> Add the description for ffitbl subnode. >>> >>> Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com> >>> --- >>> .../devicetree/bindings/firmware/ffitbl.txt | 27 +++++++++++++++++++ >>> MAINTAINERS | 1 + >>> 2 files changed, 28 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/firmware/ffitbl.txt >>> >>> diff --git a/Documentation/devicetree/bindings/firmware/ffitbl.txt b/Documentation/devicetree/bindings/firmware/ffitbl.txt >>> new file mode 100644 >>> index 000000000000..c42368626199 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/firmware/ffitbl.txt >> >> Firstly, new dt-bindings need to be done in yaml, not in text form. >> Secondly, you didn't re-run get_maintainer.pl after adding this binding, >> so you have not CCed any of the other dt-binding maintainers nor the >> devicetree mailing list. > > Re-run get_maintainer.pl and added maintainers into the maillist. This does not work like this. Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. You missed at least DT list (maybe more), so this won't be tested by our tools. Performing review on untested code might be a waste of time, thus I will skip this patch entirely till you follow the process allowing the patch to be tested. Please kindly resend and include all necessary To/Cc entries. > emm.. There is some *txt in > Documentation/devicetree/bindings/firmware/, isn't it? And what about it? Do you claim they were added recently? Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [External] Re: [PATCH v3 4/4] dt-bindings: firmware: Document ffitbl binding 2023-07-06 6:00 ` Krzysztof Kozlowski @ 2023-07-06 6:24 ` 运辉崔 2023-07-06 6:41 ` Krzysztof Kozlowski 0 siblings, 1 reply; 7+ messages in thread From: 运辉崔 @ 2023-07-06 6:24 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: Conor Dooley, robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree, sunilvl, ardb, palmer, paul.walmsley, aou, linux-riscv, rminnich, mark.rutland, lpieralisi, rafael, lenb, jdelvare, yc.hung, angelogioacchino.delregno, allen-kh.cheng, pierre-louis.bossart, tinghan.shen, linux-kernel, linux-acpi, geshijian, weidong.wd Hi Krzysztof, On Thu, Jul 6, 2023 at 2:01 PM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 06/07/2023 05:43, 运辉崔 wrote: > > Hi Conor, > > > > Added dts Maintainers, > > > > On Wed, Jul 5, 2023 at 11:07 PM Conor Dooley <conor@kernel.org> wrote: > >> > >> Hey, > >> > >> On Wed, Jul 05, 2023 at 07:42:51PM +0800, Yunhui Cui wrote: > >>> Add the description for ffitbl subnode. > >>> > >>> Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com> > >>> --- > >>> .../devicetree/bindings/firmware/ffitbl.txt | 27 +++++++++++++++++++ > >>> MAINTAINERS | 1 + > >>> 2 files changed, 28 insertions(+) > >>> create mode 100644 Documentation/devicetree/bindings/firmware/ffitbl.txt > >>> > >>> diff --git a/Documentation/devicetree/bindings/firmware/ffitbl.txt b/Documentation/devicetree/bindings/firmware/ffitbl.txt > >>> new file mode 100644 > >>> index 000000000000..c42368626199 > >>> --- /dev/null > >>> +++ b/Documentation/devicetree/bindings/firmware/ffitbl.txt > >> > >> Firstly, new dt-bindings need to be done in yaml, not in text form. > >> Secondly, you didn't re-run get_maintainer.pl after adding this binding, > >> so you have not CCed any of the other dt-binding maintainers nor the > >> devicetree mailing list. > > > > Re-run get_maintainer.pl and added maintainers into the maillist. > > > This does not work like this. > > Please use scripts/get_maintainers.pl to get a list of necessary people > and lists to CC. It might happen, that command when run on an older > kernel, gives you outdated entries. Therefore please be sure you base > your patches on recent Linux kernel. > > You missed at least DT list (maybe more), so this won't be tested by our > tools. Performing review on untested code might be a waste of time, thus > I will skip this patch entirely till you follow the process allowing the > patch to be tested. > > Please kindly resend and include all necessary To/Cc entries. This set of patches is applied on the tag next-20230706, and to generate the mail list by scripts/get_maintainers.pl on the tag ./scripts/get_maintainer.pl ../riscv/linux/v3-0004-dt-bindings-firmware-Document-ffitbl-binding.patch Yunhui Cui cuiyunhui@bytedance.com (maintainer:FDT FIRMWARE INTERFACE (FFI)) Rob Herring <robh+dt@kernel.org> (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Conor Dooley <conor+dt@kernel.org> (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) linux-kernel@vger.kernel.org (open list) What am I missing ? > > emm.. There is some *txt in > > Documentation/devicetree/bindings/firmware/, isn't it? > > And what about it? Do you claim they were added recently? > > Best regards, > Krzysztof > Thanks, Yunhui ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [External] Re: [PATCH v3 4/4] dt-bindings: firmware: Document ffitbl binding 2023-07-06 6:24 ` 运辉崔 @ 2023-07-06 6:41 ` Krzysztof Kozlowski 2023-07-06 6:55 ` 运辉崔 0 siblings, 1 reply; 7+ messages in thread From: Krzysztof Kozlowski @ 2023-07-06 6:41 UTC (permalink / raw) To: 运辉崔 Cc: Conor Dooley, robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree, sunilvl, ardb, palmer, paul.walmsley, aou, linux-riscv, rminnich, mark.rutland, lpieralisi, rafael, lenb, jdelvare, yc.hung, angelogioacchino.delregno, allen-kh.cheng, pierre-louis.bossart, tinghan.shen, linux-kernel, linux-acpi, geshijian, weidong.wd On 06/07/2023 08:24, 运辉崔 wrote: > Hi Krzysztof, > > On Thu, Jul 6, 2023 at 2:01 PM Krzysztof Kozlowski > <krzysztof.kozlowski@linaro.org> wrote: >> >> On 06/07/2023 05:43, 运辉崔 wrote: >>> Hi Conor, >>> >>> Added dts Maintainers, >>> >>> On Wed, Jul 5, 2023 at 11:07 PM Conor Dooley <conor@kernel.org> wrote: >>>> >>>> Hey, >>>> >>>> On Wed, Jul 05, 2023 at 07:42:51PM +0800, Yunhui Cui wrote: >>>>> Add the description for ffitbl subnode. >>>>> >>>>> Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com> >>>>> --- >>>>> .../devicetree/bindings/firmware/ffitbl.txt | 27 +++++++++++++++++++ >>>>> MAINTAINERS | 1 + >>>>> 2 files changed, 28 insertions(+) >>>>> create mode 100644 Documentation/devicetree/bindings/firmware/ffitbl.txt >>>>> >>>>> diff --git a/Documentation/devicetree/bindings/firmware/ffitbl.txt b/Documentation/devicetree/bindings/firmware/ffitbl.txt >>>>> new file mode 100644 >>>>> index 000000000000..c42368626199 >>>>> --- /dev/null >>>>> +++ b/Documentation/devicetree/bindings/firmware/ffitbl.txt >>>> >>>> Firstly, new dt-bindings need to be done in yaml, not in text form. >>>> Secondly, you didn't re-run get_maintainer.pl after adding this binding, >>>> so you have not CCed any of the other dt-binding maintainers nor the >>>> devicetree mailing list. >>> >>> Re-run get_maintainer.pl and added maintainers into the maillist. >> >> >> This does not work like this. >> >> Please use scripts/get_maintainers.pl to get a list of necessary people >> and lists to CC. It might happen, that command when run on an older >> kernel, gives you outdated entries. Therefore please be sure you base >> your patches on recent Linux kernel. >> >> You missed at least DT list (maybe more), so this won't be tested by our >> tools. Performing review on untested code might be a waste of time, thus >> I will skip this patch entirely till you follow the process allowing the >> patch to be tested. >> >> Please kindly resend and include all necessary To/Cc entries. > > This set of patches is applied on the tag next-20230706, and to > generate the mail list by scripts/get_maintainers.pl on the tag > > ./scripts/get_maintainer.pl > ../riscv/linux/v3-0004-dt-bindings-firmware-Document-ffitbl-binding.patch > Yunhui Cui cuiyunhui@bytedance.com (maintainer:FDT FIRMWARE INTERFACE (FFI)) > Rob Herring <robh+dt@kernel.org> (maintainer:OPEN FIRMWARE AND > FLATTENED DEVICE TREE BINDINGS) > Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> > (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) > Conor Dooley <conor+dt@kernel.org> (maintainer:OPEN FIRMWARE AND > FLATTENED DEVICE TREE BINDINGS) > devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED > DEVICE TREE BINDINGS) > linux-kernel@vger.kernel.org (open list) > > What am I missing ? I did not receive the original patch. Neither did Patchwork. You cannot just reply to some comment and hope it will fix something. We don't have this patch simply. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [External] Re: [PATCH v3 4/4] dt-bindings: firmware: Document ffitbl binding 2023-07-06 6:41 ` Krzysztof Kozlowski @ 2023-07-06 6:55 ` 运辉崔 0 siblings, 0 replies; 7+ messages in thread From: 运辉崔 @ 2023-07-06 6:55 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: Conor Dooley, robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree, sunilvl, ardb, palmer, paul.walmsley, aou, linux-riscv, rminnich, mark.rutland, lpieralisi, rafael, lenb, jdelvare, yc.hung, angelogioacchino.delregno, allen-kh.cheng, pierre-louis.bossart, tinghan.shen, linux-kernel, linux-acpi, geshijian, weidong.wd Hi Krzysztof, On Thu, Jul 6, 2023 at 2:41 PM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 06/07/2023 08:24, 运辉崔 wrote: > > Hi Krzysztof, > > > > On Thu, Jul 6, 2023 at 2:01 PM Krzysztof Kozlowski > > <krzysztof.kozlowski@linaro.org> wrote: > >> > >> On 06/07/2023 05:43, 运辉崔 wrote: > >>> Hi Conor, > >>> > >>> Added dts Maintainers, > >>> > >>> On Wed, Jul 5, 2023 at 11:07 PM Conor Dooley <conor@kernel.org> wrote: > >>>> > >>>> Hey, > >>>> > >>>> On Wed, Jul 05, 2023 at 07:42:51PM +0800, Yunhui Cui wrote: > >>>>> Add the description for ffitbl subnode. > >>>>> > >>>>> Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com> > >>>>> --- > >>>>> .../devicetree/bindings/firmware/ffitbl.txt | 27 +++++++++++++++++++ > >>>>> MAINTAINERS | 1 + > >>>>> 2 files changed, 28 insertions(+) > >>>>> create mode 100644 Documentation/devicetree/bindings/firmware/ffitbl.txt > >>>>> > >>>>> diff --git a/Documentation/devicetree/bindings/firmware/ffitbl.txt b/Documentation/devicetree/bindings/firmware/ffitbl.txt > >>>>> new file mode 100644 > >>>>> index 000000000000..c42368626199 > >>>>> --- /dev/null > >>>>> +++ b/Documentation/devicetree/bindings/firmware/ffitbl.txt > >>>> > >>>> Firstly, new dt-bindings need to be done in yaml, not in text form. > >>>> Secondly, you didn't re-run get_maintainer.pl after adding this binding, > >>>> so you have not CCed any of the other dt-binding maintainers nor the > >>>> devicetree mailing list. > >>> > >>> Re-run get_maintainer.pl and added maintainers into the maillist. > >> > >> > >> This does not work like this. > >> > >> Please use scripts/get_maintainers.pl to get a list of necessary people > >> and lists to CC. It might happen, that command when run on an older > >> kernel, gives you outdated entries. Therefore please be sure you base > >> your patches on recent Linux kernel. > >> > >> You missed at least DT list (maybe more), so this won't be tested by our > >> tools. Performing review on untested code might be a waste of time, thus > >> I will skip this patch entirely till you follow the process allowing the > >> patch to be tested. > >> > >> Please kindly resend and include all necessary To/Cc entries. > > > > This set of patches is applied on the tag next-20230706, and to > > generate the mail list by scripts/get_maintainers.pl on the tag > > > > ./scripts/get_maintainer.pl > > ../riscv/linux/v3-0004-dt-bindings-firmware-Document-ffitbl-binding.patch > > Yunhui Cui cuiyunhui@bytedance.com (maintainer:FDT FIRMWARE INTERFACE (FFI)) > > Rob Herring <robh+dt@kernel.org> (maintainer:OPEN FIRMWARE AND > > FLATTENED DEVICE TREE BINDINGS) > > Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> > > (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) > > Conor Dooley <conor+dt@kernel.org> (maintainer:OPEN FIRMWARE AND > > FLATTENED DEVICE TREE BINDINGS) > > devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED > > DEVICE TREE BINDINGS) > > linux-kernel@vger.kernel.org (open list) > > > > What am I missing ? > > I did not receive the original patch. Neither did Patchwork. You cannot > just reply to some comment and hope it will fix something. We don't have > this patch simply. Oh, I see, you only received the middle mail, and did not receive the patch. Okay, I'll post it after the next version is updated. > > Best regards, > Krzysztof > Thanks, Yunhui ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [External] Re: [PATCH v3 4/4] dt-bindings: firmware: Document ffitbl binding 2023-07-06 3:43 ` [External] Re: [PATCH v3 4/4] dt-bindings: firmware: Document ffitbl binding 运辉崔 2023-07-06 6:00 ` Krzysztof Kozlowski @ 2023-07-06 6:44 ` Conor Dooley 2023-07-06 9:02 ` 运辉崔 1 sibling, 1 reply; 7+ messages in thread From: Conor Dooley @ 2023-07-06 6:44 UTC (permalink / raw) To: 运辉崔 Cc: Conor Dooley, robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree, sunilvl, ardb, palmer, paul.walmsley, aou, linux-riscv, rminnich, mark.rutland, lpieralisi, rafael, lenb, jdelvare, yc.hung, angelogioacchino.delregno, allen-kh.cheng, pierre-louis.bossart, tinghan.shen, linux-kernel, linux-acpi, geshijian, weidong.wd [-- Attachment #1: Type: text/plain, Size: 2443 bytes --] On Thu, Jul 06, 2023 at 11:43:55AM +0800, 运辉崔 wrote: > On Wed, Jul 5, 2023 at 11:07 PM Conor Dooley <conor@kernel.org> wrote: > > On Wed, Jul 05, 2023 at 07:42:51PM +0800, Yunhui Cui wrote: > > > Add the description for ffitbl subnode. > > > > > > Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com> > > > --- > > > .../devicetree/bindings/firmware/ffitbl.txt | 27 +++++++++++++++++++ > > > MAINTAINERS | 1 + > > > 2 files changed, 28 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/firmware/ffitbl.txt > > > > > > diff --git a/Documentation/devicetree/bindings/firmware/ffitbl.txt b/Documentation/devicetree/bindings/firmware/ffitbl.txt > > > new file mode 100644 > > > index 000000000000..c42368626199 > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/firmware/ffitbl.txt > > > > Firstly, new dt-bindings need to be done in yaml, not in text form. > > Secondly, you didn't re-run get_maintainer.pl after adding this binding, > > so you have not CCed any of the other dt-binding maintainers nor the > > devicetree mailing list. > > Re-run get_maintainer.pl and added maintainers into the maillist. > emm.. There is some *txt in > Documentation/devicetree/bindings/firmware/, isn't it? There might be, but that's not an excuse for adding _new_ ones, sorry. > > > +FFI(FDT FIRMWARE INTERFACE) driver > > > + > > > +Required properties: > > > + - entry : acpi or smbios root pointer, u64 > > > + - reg : acpi or smbios version, u32 > > > > Please go look at any other dt-binding (or the example schema) as to how > > these properties should be used. A "reg" certainly should not be being > > used to store the revision... > > Okay, If so,I'll add a property "version" into the dts instead of > "reg", just like, WDYT? > ffitbl { Firstly, I'd much rather you spelt this out, like "ffi-table". > smbios { > entry = ""; I still don't understand why "entry", which is an address, is being represented by an empty string. I also don't really get why you have not used "reg" to describe its start address and size. > version = < 0x02 >; Probably missing a vendor prefix, and the spaces are unusual, but better than it was, yes. > } > acpi { > entry = ""; > version = < 0x06 >; > } > } Thanks, Conor. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [External] Re: [PATCH v3 4/4] dt-bindings: firmware: Document ffitbl binding 2023-07-06 6:44 ` Conor Dooley @ 2023-07-06 9:02 ` 运辉崔 0 siblings, 0 replies; 7+ messages in thread From: 运辉崔 @ 2023-07-06 9:02 UTC (permalink / raw) To: Conor Dooley Cc: Conor Dooley, robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree, sunilvl, ardb, palmer, paul.walmsley, aou, linux-riscv, rminnich, mark.rutland, lpieralisi, rafael, lenb, jdelvare, yc.hung, angelogioacchino.delregno, allen-kh.cheng, pierre-louis.bossart, tinghan.shen, linux-kernel, linux-acpi, geshijian, weidong.wd Hi Conor, On Thu, Jul 6, 2023 at 2:45 PM Conor Dooley <conor.dooley@microchip.com> wrote: > > On Thu, Jul 06, 2023 at 11:43:55AM +0800, 运辉崔 wrote: > > On Wed, Jul 5, 2023 at 11:07 PM Conor Dooley <conor@kernel.org> wrote: > > > On Wed, Jul 05, 2023 at 07:42:51PM +0800, Yunhui Cui wrote: > > > > Add the description for ffitbl subnode. > > > > > > > > Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com> > > > > --- > > > > .../devicetree/bindings/firmware/ffitbl.txt | 27 +++++++++++++++++++ > > > > MAINTAINERS | 1 + > > > > 2 files changed, 28 insertions(+) > > > > create mode 100644 Documentation/devicetree/bindings/firmware/ffitbl.txt > > > > > > > > diff --git a/Documentation/devicetree/bindings/firmware/ffitbl.txt b/Documentation/devicetree/bindings/firmware/ffitbl.txt > > > > new file mode 100644 > > > > index 000000000000..c42368626199 > > > > --- /dev/null > > > > +++ b/Documentation/devicetree/bindings/firmware/ffitbl.txt > > > > > > Firstly, new dt-bindings need to be done in yaml, not in text form. > > > Secondly, you didn't re-run get_maintainer.pl after adding this binding, > > > so you have not CCed any of the other dt-binding maintainers nor the > > > devicetree mailing list. > > > > Re-run get_maintainer.pl and added maintainers into the maillist. > > emm.. There is some *txt in > > Documentation/devicetree/bindings/firmware/, isn't it? > > There might be, but that's not an excuse for adding _new_ ones, sorry. Okay, I'll update it on v4. > > > > +FFI(FDT FIRMWARE INTERFACE) driver > > > > + > > > > +Required properties: > > > > + - entry : acpi or smbios root pointer, u64 > > > > + - reg : acpi or smbios version, u32 > > > > > > Please go look at any other dt-binding (or the example schema) as to how > > > these properties should be used. A "reg" certainly should not be being > > > used to store the revision... > > > > Okay, If so,I'll add a property "version" into the dts instead of > > "reg", just like, WDYT? > > ffitbl { > > Firstly, I'd much rather you spelt this out, like "ffi-table". > > > smbios { > > entry = ""; > > I still don't understand why "entry", which is an address, is being > represented by an empty string. > I also don't really get why you have not used "reg" to describe its > start address and size. > > > version = < 0x02 >; > > Probably missing a vendor prefix, and the spaces are unusual, but better > than it was, yes. Based on your review, I plan to modify it as follows: ffi-table { #address-cells = <2>; #size-cells = <0>; smbios@entry1 { compatible = "smbios"; reg = <entry1>; version = <2>; }; smbios@entry2 { compatible = "smbios"; reg = <entry2>; version = <3>; }; acpi@entry { compatible = "acpi"; reg = <entry>; version = <6>; }; } The reason why #size-cells is 0 is because only one item is needed, #address-cells = <2>; because two u32 are needed to express the 64-bit address. The memory for the SMBIOS table itself will be preserved in "reserved memory" , so we don't have to worry about this piece of memory getting corrupted. ACPI as well. WDYT? > > } > > acpi { > > entry = ""; > > version = < 0x06 >; > > } > > } > > Thanks, > Conor. Thanks, Yunhui ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-07-06 9:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230705114251.661-1-cuiyunhui@bytedance.com>
[not found] ` <20230705114251.661-5-cuiyunhui@bytedance.com>
[not found] ` <20230705-oblivious-unstuffed-8e028a5b243c@spud>
2023-07-06 3:43 ` [External] Re: [PATCH v3 4/4] dt-bindings: firmware: Document ffitbl binding 运辉崔
2023-07-06 6:00 ` Krzysztof Kozlowski
2023-07-06 6:24 ` 运辉崔
2023-07-06 6:41 ` Krzysztof Kozlowski
2023-07-06 6:55 ` 运辉崔
2023-07-06 6:44 ` Conor Dooley
2023-07-06 9:02 ` 运辉崔
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).