From: "Loh, Tien Hock" <tien.hock.loh@intel.com>
To: "Wu, Hao A" <hao.a.wu@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>,
"thloh85@gmail.com" <thloh85@gmail.com>
Cc: tien.hock.loh <thloh@ppglcf0027.png.intel.com>,
"Wang, Jian J" <jian.j.wang@intel.com>,
"Zhu, Yonghong" <yonghong.zhu@intel.com>
Subject: Re: [edk2-devel] [PATCH 1/1] MdeModulePkg: BaseSerialPortLib16550: Update Mmio32 to UNI
Date: Thu, 9 May 2019 09:05:27 +0000 [thread overview]
Message-ID: <EF88013823EA1B42AC7142BA7DA05E0634C906E8@PGSMSX110.gar.corp.intel.com> (raw)
In-Reply-To: <B80AF82E9BFB8E4FBD8C89DA810C6A093C8D1C22@SHSMSX104.ccr.corp.intel.com>
> -----Original Message-----
> From: Wu, Hao A
> Sent: Thursday, May 9, 2019 2:37 PM
> To: devel@edk2.groups.io; Loh, Tien Hock <tien.hock.loh@intel.com>;
> thloh85@gmail.com
> Cc: tien.hock.loh <thloh@ppglcf0027.png.intel.com>; Wang, Jian J
> <jian.j.wang@intel.com>; Zhu, Yonghong <yonghong.zhu@intel.com>
> Subject: RE: [edk2-devel] [PATCH 1/1] MdeModulePkg:
> BaseSerialPortLib16550: Update Mmio32 to UNI
>
> > -----Original Message-----
> > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> > Loh, Tien Hock
> > Sent: Tuesday, May 07, 2019 7:08 PM
> > To: devel@edk2.groups.io; thloh85@gmail.com
> > Cc: tien.hock.loh; Loh, Tien Hock; Wang, Jian J; Wu, Hao A; Zhu,
> > Yonghong
> > Subject: [edk2-devel] [PATCH 1/1] MdeModulePkg:
> BaseSerialPortLib16550:
> > Update Mmio32 to UNI
> >
>
> Hello Tien Hock,
>
> > From: "tien.hock.loh" <thloh@ppglcf0027.png.intel.com>
>
> Is the above information automatically generated when formatting the
> patch?
> It seems a bit weird to me.
Yeah, must be a broken config. I'll fix this.
>
> Also, could you help to add the Bugzilla link reference information in the
> commit message? Like:
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1771
OK noted. Will generate a patch v2.
>
> >
> > Some busses doesn't allow 8 bit MMIO read/write, this adds support for
> > 32 bits read/write. This patch adds the UNI information on the new Pcd
> > introduced - PcdSerialRegisterAccessWidth
> >
> > Signed-off-by: "Tien Hock, Loh" <tien.hock.loh@intel.com>
> > Cc: Jian J Wang <jian.j.wang@intel.com>
> > Cc: Hao Wu <hao.a.wu@intel.com>
> > Cc: "Zhu, YongHong" <yonghong.zhu@intel.com>
> >
> > Signed-off-by: tien.hock.loh <thloh@ppglcf0027.png.intel.com>
>
> There are 2 'Signed-off' tags here, could you help to cleanup to drop the
> unneeded one?
Yeah, I must've broken my config. I'll fix and send a new patch.
>
> > ---
> > MdeModulePkg/MdeModulePkg.uni | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/MdeModulePkg/MdeModulePkg.uni
> > b/MdeModulePkg/MdeModulePkg.uni index cf2aefa7ad..654dfeadb0
> 100644
> > --- a/MdeModulePkg/MdeModulePkg.uni
> > +++ b/MdeModulePkg/MdeModulePkg.uni
> > @@ -160,6 +160,12 @@
> >
> > "TRUE - 16550 serial port registers are in MMIO space.<BR>\n"
> >
> > "FALSE - 16550 serial port registers are in I/O space.<BR>"
> >
> > +#string
> >
> STR_gEfiMdeModulePkgTokenSpaceGuid_PcdSerialRegisterAccessWidth_PR
> O
> > MPT #language en-US "Serial port registers access width"
> > +
> > +#string
> >
> STR_gEfiMdeModulePkgTokenSpaceGuid_PcdSerialRegisterAccessWidth_HE
> LP
> > #language en-US "Sets the 16550 serial port registers access width in
> > MMIO space. Default is 8 bits access.<BR><BR>\n"
>
> IMO, you can directly use the text:
> 'Indicates the access width for 16550 serial port registers.'
> in MdeModulePkg.dec here for
> STR_gEfiMdeModulePkgTokenSpaceGuid_PcdSerialRegisterAccessWidth_HE
> LP.
>
> > +
> > + "8 - 16550 serial port
> > MMIO register access are in 8 bits mode.<BR>\n"
> > +
> > + "32 - 16550 serial port
> > MMIO registers acess are in 32 bits mode..<BR>"
>
> acess -> access
> Please also help to remove the extra '.' for the above line.
>
> Best Regards,
> Hao Wu
>
> > +
> > #string
> >
> STR_gEfiMdeModulePkgTokenSpaceGuid_PcdSerialUseHardwareFlowContr
> ol_P
> > ROMPT #language en-US "Enable serial port hardware flow control"
> >
> > #string
> >
> STR_gEfiMdeModulePkgTokenSpaceGuid_PcdSerialUseHardwareFlowContr
> ol_
> > HELP #language en-US "Indicates if the 16550 serial port hardware
> > flow control will be enabled. Default is FALSE.<BR><BR>\n"
> > --
> > 2.13.0
> >
> >
> >
prev parent reply other threads:[~2019-05-09 9:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-07 11:08 [PATCH 1/1] MdeModulePkg: BaseSerialPortLib16550: Update Mmio32 to UNI Loh, Tien Hock
2019-05-09 6:36 ` [edk2-devel] " Wu, Hao A
2019-05-09 9:05 ` Loh, Tien Hock [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EF88013823EA1B42AC7142BA7DA05E0634C906E8@PGSMSX110.gar.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox