From: Tomasz Figa <tomasz.figa@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Cc: Thomas Abraham <thomas.abraham@linaro.org>,
linux-serial@vger.kernel.org, kgene.kim@samsung.com,
grant.likely@secretlab.ca, linux-samsung-soc@vger.kernel.org,
ben-linux@fluff.org, alan@linux.intel.com
Subject: Re: [PATCH 0/2] Update uart irq handling for s3c64xx and later SoC's
Date: Sat, 13 Aug 2011 13:26:17 +0200 [thread overview]
Message-ID: <2617144.DJZiU5lFpE@flatron> (raw)
In-Reply-To: <1312971680-3898-1-git-send-email-thomas.abraham@linaro.org>
Hi Thomas,
On Wednesday 10 of August 2011 at 15:51:18, Thomas Abraham wrote:
> s3c64xx and later SoC's include the uart interrupt mask and pending
registers
> in the uart controller, unlike their s3c24xx predecessor. This allows the
> uart irq handling to be moved from the platform code to the driver. This
> patchset does this change and removes all the macros that will not be
> required with this update.
>
Your patches should solve the issue of system hanging on wake up because of
unacked (and unackable due to disabled UART bus clock) UART interrupts. So one
more reason to merge them.
My earlier description of the issue:
> I am experiencing a strange issue with UART ports on a Tiny6410 board, based
> on the S3C6410 SoC (hardware wise same as the Mini6410 supported by Linux),
> after enabling CONFIG_PM and suspending the SoC.
>
> After triggering a wakeup event, it resumes till arch_suspend_enable_irqs()
> called by suspend_enter() and starts to get hammered by infinite amounts of
> UART interrupts.
>
> I have tracked this down to disabling UART PCLK clock on suspend and the
> bootloader/reset/power down/whatever leaving the UART in an undefined state
> with interrupt bits set (specifically Tx interrupt), with the masked clock
> making it impossible to ack them by plat-samsung/irq-uart.c.
Best regards,
Tom
prev parent reply other threads:[~2011-08-13 11:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-10 10:21 [PATCH 0/2] Update uart irq handling for s3c64xx and later SoC's Thomas Abraham
2011-08-10 10:21 ` [PATCH 1/2] serial: samsung: Add unified interrupt handler " Thomas Abraham
2011-08-10 10:21 ` [PATCH 2/2] ARM: SAMSUNG: Remove uart irq handling from plaform code Thomas Abraham
2011-08-10 11:55 ` [PATCH 1/2] serial: samsung: Add unified interrupt handler for s3c64xx and later SoC's Alan Cox
2011-08-13 11:26 ` Tomasz Figa [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-all 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=2617144.DJZiU5lFpE@flatron \
--to=tomasz.figa@gmail.com \
--cc=alan@linux.intel.com \
--cc=ben-linux@fluff.org \
--cc=grant.likely@secretlab.ca \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=thomas.abraham@linaro.org \
/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