Re: [PATCH 4.4.y-cip] serial: sh-sci: Make sure status register SCxSR is read in correct sequence
Nobuhiro Iwamatsu
Hi,
toggle quoted messageShow quoted text
-----Original Message-----Looks good to me. I will merge if nothing else is mentioned. Best regards, Nobuhiro ---
|
|
[PATCH 4.4.y-cip] serial: sh-sci: Make sure status register SCxSR is read in correct sequence
Biju Das <biju.das.jz@...>
From: Kazuhiro Fujita <kazuhiro.fujita.jg@...>
commit 3dc4db3662366306e54ddcbda4804acb1258e4ba upstream. For SCIF and HSCIF interfaces the SCxSR register holds the status of data that is to be read next from SCxRDR register, But where as for SCIFA and SCIFB interfaces SCxSR register holds status of data that is previously read from SCxRDR register. This patch makes sure the status register is read depending on the port types so that errors are caught accordingly. Cc: <stable@...> Signed-off-by: Kazuhiro Fujita <kazuhiro.fujita.jg@...> Signed-off-by: Hao Bui <hao.bui.yg@...> Signed-off-by: KAZUMI HARADA <kazumi.harada.rh@...> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@...> Tested-by: Geert Uytterhoeven <geert+renesas@...> Link: https://lore.kernel.org/r/1585333048-31828-1-git-send-email-kazuhiro.fujita.jg@renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@...> Signed-off-by: Biju Das <biju.das.jz@...> --- drivers/tty/serial/sh-sci.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 22f7201..2b5b342 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -793,9 +793,16 @@ static void sci_receive_chars(struct uart_port *port) tty_insert_flip_char(tport, c, TTY_NORMAL); } else { for (i = 0; i < count; i++) { - char c = serial_port_in(port, SCxRDR); - - status = serial_port_in(port, SCxSR); + char c; + + if (port->type == PORT_SCIF || + port->type == PORT_HSCIF) { + status = serial_port_in(port, SCxSR); + c = serial_port_in(port, SCxRDR); + } else { + c = serial_port_in(port, SCxRDR); + status = serial_port_in(port, SCxSR); + } #if defined(CONFIG_CPU_SH3) /* Skip "chars" during break */ if (sci_port->break_flag) { -- 2.7.4
|
|
Re: CIP IRC weekly meeting today
Nobuhiro Iwamatsu
Hi,
I can't attend today's IRC meeting. * Action itemNo update. 2. Post LTP results to KernelCI - patersoncNo update. * Kernel maintenance updatesI reviewed 4.4.y-rc patches. Best regards, Nobuhiro -----Original Message-----
|
|
Re: CIP IRC weekly meeting today
Chen-Yu Tsai (Moxa) <wens@...>
Hi,
On Thu, Jul 16, 2020 at 9:30 AM masashi.kudo@... <masashi.kudo@...> wrote: I might not make it, so here are updates from me for this week: Two new issues: - CVE-2020-11935 (aufs, not applicable to mainline) - CVE-2020-14314 (ext4 related, fix posted) Regards ChenYu * Kernel testing
|
|
CIP IRC weekly meeting today
masashi.kudo@cybertrust.co.jp <masashi.kudo@...>
Hi all,
Kindly be reminded to attend the weekly meeting through IRC to discuss technical topics with CIP kernel today. *Please note that the IRC meeting was rescheduled to UTC (GMT) 09:00 starting from the first week of Apr. according to TSC meeting* https://www.timeanddate.com/worldclock/meetingdetails.html?year=2020&month=7&day=16&hour=9&min=0&sec=0&p1=224&p2=179&p3=136&p4=37&p5=241&p6=248 USWest USEast UK DE TW JP 02:00 05:00 10:00 11:00 17:00 18:00 Channel: * irc:chat.freenode.net:6667/cip Last meeting minutes: https://irclogs.baserock.org/meetings/cip/2020/07/cip.2020-07-09-09.00.log.html Agenda: * Action item 1. Combine root filesystem with kselftest binary - iwamatsu 2. Post LTP results to KernelCI - patersonc 3. Issues to be fixed for swupdate "copyright correction and salsa CI testing" - iwamatsu * Kernel maintenance updates * Kernel testing * Software update * CIP Security * AOB The meeting will take 30 min, although it can be extended to an hour if it makes sense and those involved in the topics can stay. Otherwise, the topic will be taken offline or in the next meeting. Best regards, -- M. Kudo Cybertrust Japan Co., Ltd.
|
|
[ANNOUNCE] v4.19.132-cip30-rt12
Pavel Machek
Hi!
v4.19.132-cip30-rt12 should be available at kernel.org. Trees are available at https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/log/?h=linux-4.19.y-cip-rt https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/log/?h=linux-4.19.y-cip-rt-rebase And their content should be identical. Best regards, Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
|
|
Re: [PATCH 4.4.y-cip 06/23] PM / OPP: Manage device clk
Pavel Machek
Hi!
From: Viresh Kumar <viresh.kumar@...> @@ -620,6 +622,15 @@ static struct device_opp *_add_device_opp(struct device *dev)Strange. Same code exists in mainline (drivers/opp/core.c, function name changed to _allocate_opp_table), and ret is directly overwritten there. That's definitely not usual way of handling -EPROBE_DEFER. Best regards, Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
|
|
Re: [PATCH 4.4.y-cip 06/23] PM / OPP: Manage device clk
Pavel Machek
Hi!
From: Viresh Kumar <viresh.kumar@...> @@ -620,6 +622,15 @@ static struct device_opp *_add_device_opp(struct device *dev)Can you double check this piece? In case of clk_get() returning EPROBE_DEFER, I'd expect this code to return it to the callers, without continuing initialization. Best regards, Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
|
|
Re: [PATCH 4.4.y-cip 22/23] PM / OPP: Remove useless check
Pavel Machek
Hi!
From: Viresh Kumar <viresh.kumar@...>So we have 2/ of the series, fixed by 18/ of the series, but 18/ is buggy too, fixed by 22/. It would be good to have them close ... or possibly merged or dropped. Thank you, Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
|
|
Re: [PATCH 4.4.y-cip 18/23] PM / OPP: Initialize regulator pointer to an error value
Pavel Machek
On Wed 2020-07-08 23:45:49, Chen-Yu Tsai (Moxa) wrote:
From: Viresh Kumar <viresh.kumar@...>Again, this should be close to (or merged with) patch 2/ of the series. Best regards, Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
|
|
Re: [PATCH 4.4.y-cip 17/23] PM / OPP: Fix NULL pointer dereference crash when disabling OPPs
Pavel Machek
Hi!
On Wed 2020-07-08 23:45:48, Chen-Yu Tsai (Moxa) wrote: From: Jon Hunter <jonathanh@...>So this one should be close to the patch it fixes, or maybe squashed together. Best regards, Pavel diff --git a/drivers/base/power/opp/core.c b/drivers/base/power/opp/core.c-- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
|
|
Re: [PATCH 4.4.y-cip 00/23] PM / OPP v2 & cpufreq backports part 2
Pavel Machek
Hi!
This is part 2 of MOXA's PM / OPP / cpufreq backport series. The wholeOk, I went through them, and most of them are ok. OTOH lots of them are changing common code, and I don't believe all of them are neccessary for am33xx support. Could you identify changes that are not neccesary for am33xx support, and drop those? Could the fixes be moved closer to patch they fix (ideally merged together)? Best regards, Pavel Part 2 here includes patches from the v4.6 cycle, as well as additional -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
|
|
Re: v4.19-rt status
Pavel Machek
Hi!
And Tom said he expects new release this Monday. With new -cip kernelNewest 4.19-rt kernel is currently v4.19.127-rt54. That's not goodStill no new -rt release. released, that should be good timing. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|
|
[ANNOUNCE] Release v4.19.132-cip30 and v4.4.230-cip47
Nobuhiro Iwamatsu
Hi,
CIP kernel team has released Linux kernel v4.19.132-cip30 and v4.4.230-cip47. The linux-4.19.y-cip tree has been updated base version from v4.19.130 to v4.19.132, and linux-4.4.y-cip tree has been updated base version from v4.4.227 to v4.4.230. You can get this release via the git tree at: v4.19.132-cip29: repository: https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git branch: linux-4.19.y-cip commit hash: 4da95b68eb2b04de4ec212c17db4863d0301e7f9 added commits: CIP: Bump version suffix to -cip30 after merge from stable v4.4.230-cip47: repository: https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git branch: linux-4.4.y-cip commit hash: fec45d1a4e38bbe5cc9248c9400748c857052bb6 added commits: CIP: Bump version suffix to -cip47 after merge from stable Best regards, Nobuhiro
|
|
KernelCI Community Survey Report
Chris Paterson
Hello all,
If you're interested, the KernelCI project have published the results of their first user survey: https://foundation.kernelci.org/blog/2020/07/09/kernelci-community-survey-report/ Kind regards, Chris
|
|
Re: Hawkbit docker image: Amqp connection refused
Mohammed Billoo <mab@...>
Suzuki, It looks like my iptables were out of wack. Once I restored them to their default configuration, I can now access the webpage. Thanks
On Thu, Jul 9, 2020 at 3:48 AM <akihiro27.suzuki@...> wrote:
-- --
Mohammed Billoo MAB Labs, LLC www.mab-labs.com
|
|
Re: v4.19-rt status
Pavel Machek
Hi!
Newest 4.19-rt kernel is currently v4.19.127-rt54. That's not goodStill no new -rt release. In April, Tom Zanussi took over 4.19-rt releases: Apr 20 Linux 4.19.115-rt49 Apr 28 Linux 4.19.115-rt50 May 3 Linux 4.19.116-rt51 May 4 Linux 4.19.120-rt52 May 20 Linux 4.19.124-rt53 Jun 7 Linux 4.19.127-rt54 Jun 10 Linux 4.19.127-rt55 Based on past releases, I'd expect new -rt release real soon now. Hmm. I guess easiest option is to just ask Tom ;-)... and I did that. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|
|
Re: Hawkbit docker image: Amqp connection refused
Akihiro Suzuki
Hi Mohammed,
I checked a hawkbit log in my local environment and found amqp-related error messages as well as your environment. The error messages seem to be shown periodically every 5 seconds. But I could access the webpage at localhost:8083.
When I accessed it, the following messages were shown.
2020-07-09 06:34:05.291 INFO 1 --- [tp1510087865-14] c.vaadin.spring.server.SpringUIProvider : Checking the application context for Vaadin UIs 2020-07-09 06:34:05.298 INFO 1 --- [tp1510087865-14] c.vaadin.spring.server.SpringUIProvider : Found Vaadin UI [org.eclipse.hawkbit.app.MyUI] 2020-07-09 06:34:05.299 INFO 1 --- [tp1510087865-14] c.vaadin.spring.server.SpringUIProvider : Found Vaadin UI [org.eclipse.hawkbit.app.MyLoginUI] 2020-07-09 06:34:05.759 INFO 1 --- [tp1510087865-21] c.v.spring.navigator.SpringViewProvider : Looking up SpringViews 2020-07-09 06:34:05.771 INFO 1 --- [tp1510087865-21] c.v.spring.navigator.SpringViewProvider : 6 SpringViews found
I’ll attach the complete log. Could you compare it with yours?
Suzuki
From: cip-dev@... <cip-dev@...>
On Behalf Of Mohammed Billoo
Sent: Thursday, July 9, 2020 5:53 AM To: cip-dev@... Subject: [cip-dev] Hawkbit docker image: Amqp connection refused
Hi,
I'm trying to follow the instructions in the README to set up a BBB and hawkbit via docker. But, I can't access the webpage at localhost:8083. When I looked in the docker logs, I saw the following:
2020-07-08 20:33:54.170 INFO 1 --- [ main] o.s.a.r.c.CachingConnectionFactory : Attempting to connect to: [localhost:5672]
Can anyone advise (the complete log is attached). --
|
|
Re: CIP IRC weekly meeting today
Pavel Machek
Hi!
Kindly be reminded to attend the weekly meeting through IRC to discuss technical topics with CIP kernel today.I am not sure if I'll be able to make it to the meeting. My work last week: reviews of patches for 4.19.131 and 4.19.132. I took a look at "PM / OPP v2 & cpufreq backports part 2" and will have some comments there. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|
|
Re: [PATCH 4.4.y-cip 00/23] PM / OPP v2 & cpufreq backports part 2
Nobuhiro Iwamatsu
Hi,
toggle quoted messageShow quoted text
-----Original Message-----I've looked at these patches and they seem to be fine. I am testing this patch as https://gitlab.com/cip-project/cip-kernel/linux-cip/-/pipelines/164602352 RegardsBest regards, Nobuhiro
|
|