All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene.kim@samsung.com>
To: 'Russell King - ARM Linux' <linux@arm.linux.org.uk>
Cc: 'Jaecheol Lee' <jc.lee@samsung.com>,
	linux-samsung-soc@vger.kernel.org, ben-linux@fluff.org,
	linux-arm-kernel@lists.infradead.org
Subject: RE: [PATCH 4/7] ARM: EXYNOS4: Support early wakeup while entering sleep mode
Date: Mon, 04 Jul 2011 18:42:08 +0900	[thread overview]
Message-ID: <005001cc3a2e$a6689480$f339bd80$%kim@samsung.com> (raw)
In-Reply-To: <20110701074414.GD21898@n2100.arm.linux.org.uk>

Russell King - ARM Linux wrote:
> 
> On Fri, Jul 01, 2011 at 10:03:48AM +0900, Kukjin Kim wrote:
> > Russell thanks.
> >
> > How do you think to add following for handling failure of cpu_suspend?
> >
> > +	mov	r0, #-1
> 
> No.  -1 is not an error code, and I refuse to create functions which
> use an explicit -1 as a return code to indicate failure.
> 
I used wrong words, 'handling failure' :(

Actually, it means handling other case, like early wakeup but we will
address comments from you :)

> The code is designed so that the called finisher function can return
> a valid errno value.

OK, I see.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

WARNING: multiple messages have this Message-ID (diff)
From: kgene.kim@samsung.com (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/7] ARM: EXYNOS4: Support early wakeup while entering sleep mode
Date: Mon, 04 Jul 2011 18:42:08 +0900	[thread overview]
Message-ID: <005001cc3a2e$a6689480$f339bd80$%kim@samsung.com> (raw)
In-Reply-To: <20110701074414.GD21898@n2100.arm.linux.org.uk>

Russell King - ARM Linux wrote:
> 
> On Fri, Jul 01, 2011 at 10:03:48AM +0900, Kukjin Kim wrote:
> > Russell thanks.
> >
> > How do you think to add following for handling failure of cpu_suspend?
> >
> > +	mov	r0, #-1
> 
> No.  -1 is not an error code, and I refuse to create functions which
> use an explicit -1 as a return code to indicate failure.
> 
I used wrong words, 'handling failure' :(

Actually, it means handling other case, like early wakeup but we will
address comments from you :)

> The code is designed so that the called finisher function can return
> a valid errno value.

OK, I see.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

  reply	other threads:[~2011-07-04  9:42 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-22  8:46 [PATCH 0/7] ARM: EXYNOS4: Update PM Kukjin Kim
2011-06-22  8:46 ` Kukjin Kim
2011-06-22  8:46 ` [PATCH 1/7] ARM: EXYNOS4: Support system level power down configuration Kukjin Kim
2011-06-22  8:46   ` Kukjin Kim
2011-06-22  8:46 ` [PATCH 2/7] ARM: EXYNOS4: Remove PMU configuration for S2RAM Kukjin Kim
2011-06-22  8:46   ` Kukjin Kim
2011-06-22  8:46 ` [PATCH 3/7] ARM: EXYNOS4: Add support PM with external GIC Kukjin Kim
2011-06-22  8:46   ` Kukjin Kim
2011-06-22  8:46 ` [PATCH 4/7] ARM: EXYNOS4: Support early wakeup while entering sleep mode Kukjin Kim
2011-06-22  8:46   ` Kukjin Kim
2011-06-22 14:57   ` Russell King - ARM Linux
2011-06-22 14:57     ` Russell King - ARM Linux
2011-06-24  7:42     ` Kukjin Kim
2011-06-24  7:42       ` Kukjin Kim
2011-06-24  9:37       ` Russell King - ARM Linux
2011-06-24  9:37         ` Russell King - ARM Linux
2011-06-24 10:22         ` Russell King - ARM Linux
2011-06-24 10:22           ` Russell King - ARM Linux
2011-07-01  1:03           ` Kukjin Kim
2011-07-01  1:03             ` Kukjin Kim
2011-07-01  7:44             ` Russell King - ARM Linux
2011-07-01  7:44               ` Russell King - ARM Linux
2011-07-04  9:42               ` Kukjin Kim [this message]
2011-07-04  9:42                 ` Kukjin Kim
2011-07-04  9:52                 ` Russell King - ARM Linux
2011-07-04  9:52                   ` Russell King - ARM Linux
2011-06-29  4:58         ` Kukjin Kim
2011-06-29  4:58           ` Kukjin Kim
2011-06-22  8:46 ` [PATCH 5/7] ARM: EXYNOS4: Add save/restore function for PLL Kukjin Kim
2011-06-22  8:46   ` Kukjin Kim
2011-06-22  8:46 ` [PATCH 6/7] ARM: EXYNOS4: Add save/restore for more ARM registers Kukjin Kim
2011-06-22  8:46   ` Kukjin Kim
2011-06-22 14:54   ` Russell King - ARM Linux
2011-06-22 14:54     ` Russell King - ARM Linux
2011-06-23  6:39     ` Kukjin Kim
2011-06-23  6:39       ` Kukjin Kim
2011-06-23  7:51       ` Russell King - ARM Linux
2011-06-23  7:51         ` Russell King - ARM Linux
2011-06-23  8:00         ` Kukjin Kim
2011-06-23  8:00           ` Kukjin Kim
2011-06-22  8:46 ` [PATCH 7/7] ARM: EXYNOS4: Move S5P_CENTRAL_SEQ_CONFIGURATION setting for PM Kukjin Kim
2011-06-22  8:46   ` Kukjin Kim
2011-06-22 12:10   ` Sergei Shtylyov
2011-06-22 12:10     ` Sergei Shtylyov
2011-06-23  8:05     ` Kukjin Kim
2011-06-23  8:05       ` Kukjin Kim

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='005001cc3a2e$a6689480$f339bd80$%kim@samsung.com' \
    --to=kgene.kim@samsung.com \
    --cc=ben-linux@fluff.org \
    --cc=jc.lee@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.