Fixed coding style issue by removing trailing whitespaces.
Signed-off-by: Alexandru Gheorghiu
---
kernel/signal.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/kernel/signal.c b/kernel/signal.c
index 2ec870a..fd9a953 100644
--- a/kernel/signal.c
+++
于 2013/3/5 10:41, Paul Mundt 写道:
On Tue, Jan 15, 2013 at 03:38:55PM +0800, Mike Qiu wrote:
Adding a function irq_create_mapping_many() which can associate
multiple MSIs to a continous irq mapping.
This is needed to enable multiple MSI support for pSeries.
+int irq_create_mapping_many(struct
于 2013年03月02日 16:35, HATAYAMA Daisuke 写道:
> Code around /proc/vmcore currently assumes program header table is
> next to ELF header. But future change can break the assumption on
> kexec-tools and the 1st kernel. To avoid worst case, now refer to
> e_phoff member that indicates position of program
On 5 March 2013 13:22, Stratos Karafotis wrote:
> I had the same thoughts, but I saw the comments in the code:
>
> /*
> * Every sampling_rate, we check, if current idle time is less than 20%
> * (default), then we try to increase frequency Every sampling_rate *
> * sampling_down_factor, we
Hi Tejun,
We met one panic issue related workqueue based over 3.4.5 Linux kernel.
Panic log as:
[153587.035369] Unable to handle kernel NULL pointer dereference at
virtual address 0004
[153587.043731] pgd = e1e74000
[153587.046691] [0004] *pgd=
[153587.050567] Internal error:
On 03/05/2013 03:55 AM, Maciej Rutecki wrote:
> Last known good: 3.8.0
> Bad version: 3.9-rc1
>
> [6.116492] =
> [6.116614] [ BUG: ktpacpi_nvramd/446 still has locks held! ]
> [6.116737] 3.9.0-rc1 #1 Not tainted
> [6.116821]
On Mon, Mar 04, 2013 at 05:05:34PM +0900, Jingoo Han wrote:
> This patch uses module_platform_driver_probe() macro which makes
> the code smaller and simpler.
>
> Signed-off-by: Jingoo Han
Not sure I see the point, but:
Acked-by: Paul Mundt
--
To unsubscribe from this list: send the line
于 2013/3/5 10:23, Michael Ellerman 写道:
On Tue, Jan 15, 2013 at 03:38:55PM +0800, Mike Qiu wrote:
Adding a function irq_create_mapping_many() which can associate
multiple MSIs to a continous irq mapping.
This is needed to enable multiple MSI support for pSeries.
Signed-off-by: Mike Qiu
---
On Mon, Mar 04, 2013 at 08:43:50PM -0800, Andrew Chew wrote:
> The backlight enable GPIO is specified in the device tree node for
> backlight.
>
> Signed-off-by: Andrew Chew
> ---
> I decided to go ahead with disabling/enabling the backlight via GPIO as
> needed. Note that I named the new
Allocate buffer for ELF headers on page-size aligned boudary to
satisfy mmap() requirement. For this, __get_free_pages() is used
instead of kmalloc().
Also, later patch will decrease actually used buffer size for ELF
headers, so it's necessary to keep original buffer size and actually
used buffer
Current code assumes all PT_NOTE headers are placed at the beginning
of program header table and they are consequtive. But the assumption
could be broken by future changes on either kexec-tools or the 1st
kernel. This patch removes the assumption and rearranges program
headers as the following
Code around /proc/vmcore currently assumes program header table is
next to ELF header. But future change can break the assumption on
kexec-tools and the 1st kernel. To avoid worst case, now refer to
e_phoff member that indicates position of program header table in
file-offset.
Signed-off-by:
2013/3/5 Mark Brown :
> On Tue, Mar 05, 2013 at 02:16:00PM +0800, Axel Lin wrote:
>> Add enable_is_inverted flag to indicate set enable_mask bits to disable
>> when using regulator_enable_regmap and friends APIs.
>>
>> Signed-off-by: Axel Lin
>> Reviewed-by: Haojian Zhuang
>> ---
>> This patch
The part of dump target memory is copied into the 2nd kernel if it
doesn't satisfy mmap()'s page-size boundary requirement. To
distinguish such copied object from usual old memory, a flag
MEM_TYPE_CURRENT_KERNEL is introduced. If this flag is set, the object
is considered being copied into buffer
On Mon, Mar 04, 2013 at 05:43:48PM -0300, Marcelo Tosatti wrote:
> On Mon, Mar 04, 2013 at 07:49:13PM +0200, Gleb Natapov wrote:
> > On Sun, Mar 03, 2013 at 07:29:53PM -0300, Marcelo Tosatti wrote:
> > > On Sun, Mar 03, 2013 at 03:00:22PM +0200, Gleb Natapov wrote:
> > > > On Fri, Mar 01, 2013 at
This patch introduces NT_VMCORE_DEBUGINFO to a unique note type in
VMCOREINFO name, which has had no name so far. The name means that
it's a kind of note type in vmcoreinfo that contains system kernel's
debug information.
Signed-off-by: HATAYAMA Daisuke
---
include/uapi/linux/elf.h |4
To satisfy mmap()'s page-size bounary requirement, round-up offset of
each vmcore objects in page-size boundary; each offset is connected to
user-space virtual address through mapping of mmap().
Signed-off-by: HATAYAMA Daisuke
---
fs/proc/vmcore.c | 18 --
1 files changed, 8
This patch introduces mmap_vmcore().
If flag MEM_TYPE_CURRENT_KERNEL is set, remapped is the buffer on the
2nd kernel. If not set, remapped is some area in old memory.
Neither writable nor executable mapping is permitted even with
mprotect(). Non-writable mapping is also requirement of
The previous patch changed offsets of each vmcore objects by round-up
operation. vmcore size must count the holes.
Signed-off-by: HATAYAMA Daisuke
---
fs/proc/vmcore.c | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c
On Tue, 2013-03-05 at 06:55 +, Rob Herring wrote:
> Here's a config:
Was it truncated? oldconfig is asking a ton of questions, far more than
I would expect for something like variance between our HEADs etc.
If I just answer the default to all the questions then I get a .config
with Xen on
If there's some vmcore object that doesn't satisfy page-size boundary
requirement, remap_pfn_range() fails to remap it to user-space.
Objects that posisbly don't satisfy the requirement are ELF note
segments only. The memory chunks corresponding to PT_LOAD entries are
guaranteed to satisfy
Modern kernel marks the end of ELF note buffer with NT_VMCORE_PAD type
note in order to make the buffer satisfy mmap()'s page-size boundary
requirement. This patch makes finishing reading each buffer if the
note type now being read is NT_VMCORE_PAD type.
Signed-off-by: HATAYAMA Daisuke
---
Fill both crash_notes and vmcoreinfo_note buffers by NT_VMCORE_PAD
note type to make them satisfy mmap()'s page-size boundary
requirement.
So far, end of note segments has been marked by zero-filled elf
header. Instead, this patch writes NT_VMCORE_PAD note in the end of
note segments until the
The NT_VMCORE_PAD type is introduced to make both crash_notes buffer
and vmcoreinfo_note buffer satisfy mmap()'s page-size boundary
requirement by filling them with this note type.
The purpose of this type is just to align the buffer in page-size
boundary; it has no meaning in contents, which are
To satisfy mmap()'s page-size boundary requirement, specify aligned
attribute to vmcoreinfo_note objects to allocate it on page-size
boundary.
Signed-off-by: HATAYAMA Daisuke
---
include/linux/kexec.h |6 --
kernel/kexec.c|2 +-
2 files changed, 5 insertions(+), 3
To satisfy mmap()'s page-size boundary requirement, allocate per-cpu
crash_notes objects on page-size boundary.
/proc/vmcore on the 2nd kernel checks if each note objects is
allocated on page-size boundary. If there's some object not satisfying
the page-size boundary requirement, /proc/vmcore
If flag MEM_TYPE_CURRENT_KERNEL is set, the object is copied in the
buffer on the 2nd kernel, then read_vmcore() reads the buffer. If the
flag is not set, read_vmcore() reads old memory as usual.
Signed-off-by: HATAYAMA Daisuke
---
fs/proc/vmcore.c | 15 +++
1 files changed, 11
Clean up read_vmcore(). Part for objects in vmcore_list can be written
uniformly to part for ELF headers. By this change, duplicate and
complicated codes are removed, so it's more clear to see what's done
there.
Also, by this change, map_offset_to_paddr() is no longer used. Remove
it.
To satisfy mmap() page-size boundary requirement, round up buffer size
of ELF headers by PAGE_SIZE. The resulting value becomes offset of ELF
note segments and it's assigned in unique PT_NOTE program header
entry.
Also, some part that assumes past ELF headers' size is replaced by
this new
p_memsz member of program header entry with PT_NOTE type needs to have
size of the corresponding ELF note segment. Currently, vmcoreinfo
exports data part only. If vmcoreinfo reachs vmcoreinfo_max_size, then
in merge_note_headers_elf{32,64}, empty ELF note header cannot be
found or buffer overrun
Currently, read to /proc/vmcore is done by read_oldmem() that uses
ioremap/iounmap per a single page. For example, if memory is 1GB,
ioremap/iounmap is called (1GB / 4KB)-times, that is, 262144
times. This causes big performance degradation.
In particular, the current main user of this mmap() is
On Tue, Mar 05, 2013 at 02:16:00PM +0800, Axel Lin wrote:
> Add enable_is_inverted flag to indicate set enable_mask bits to disable
> when using regulator_enable_regmap and friends APIs.
>
> Signed-off-by: Axel Lin
> Reviewed-by: Haojian Zhuang
> ---
> This patch was sent on
On Mon, Mar 04, 2013 at 03:38:12PM +0100, Anton Arapov wrote:
>
> diff --git a/arch/x86/include/asm/uprobes.h b/arch/x86/include/asm/uprobes.h
> index c353555..fa9d9de 100644
> --- a/arch/x86/include/asm/uprobes.h
> +++ b/arch/x86/include/asm/uprobes.h
> @@ -56,4 +56,9 @@ extern bool
On Tue, Mar 05, 2013 at 01:59:06PM +0900, Alex Courbot wrote:
> On 03/05/2013 01:48 PM, Andrew Chew wrote:
> >I sent out a new patch that enables/disables the backlight enable gpio.
> >
> >>On 03/05/2013 01:00 PM, Andrew Chew wrote:
> >>>I did come to the same conclusion regarding the platform
On Mon, Mar 4, 2013 at 8:27 PM, Rob Landley wrote:
> On 03/03/2013 10:03:55 PM, Eric W. Biederman wrote:
>>
>> Rob Landley writes:
>>
>> > On 03/01/2013 03:57:40 AM, Michael Kerrisk (man-pages) wrote:
>> >> > And yet the glibc guys insist on #define
>> >> GNU_GNU_GNU_ALL_HAIL_STALLMAN in
>> >> >
On Tue, Mar 05, 2013 at 02:47:27PM +0800, John Stultz wrote:
> On 03/05/2013 02:38 PM, Feng Tang wrote:
> >On Tue, Mar 05, 2013 at 02:27:34PM +0800, John Stultz wrote:
> >
> >>
> >>So this might be ok for an initial implementation, as on the
> >>non-stop-tsc hardware, the TSC is the best
It's pointless to check "af.alt_bit1 == UNUSED" twice.
This looks like a copy-paste bug, I think what we want is to check if *both*
af.alt_bit1 and af.alt_bit2 are UNUSED.
Signed-off-by: Axel Lin
---
Hi,
I don't have the datasheet and hw.
I'd appreciate if someone can review and test this patch.
V4L2 devices usually grab additional references to user pages for a very
long period of time, what causes permanent migration failures if the given
page has been allocated from CMA pageblock. By setting FOLL_DURABLE flag,
videobuf2 will instruct __get_user_pages() to migrate user pages out of
CMA
Introduce migrate_replace_page() function for migrating single page to the
given target page.
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
include/linux/migrate.h |5
mm/migrate.c| 59 +++
2 files changed,
Ensure that newly allocated pages, which are faulted in in FOLL_DURABLE
mode comes from non-movalbe pageblocks, to workaround migration failures
with Contiguous Memory Allocator.
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
include/linux/highmem.h | 12 ++--
When __get_user_pages() is called with FOLL_DURABLE flag, ensure that no
page in CMA pageblocks gets locked. This workarounds the permanent
migration failures caused by locking the pages by get_user_pages() call for
a long period of time.
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin
Hello,
Contiguous Memory Allocator is very sensitive about migration failures
of the individual pages. A single page, which causes permanent migration
failure can break large conitguous allocations and cause the failure of
a multimedia device driver.
One of the known issues with migration of CMA
__get_user_pages() is already exported function, so get_user_pages()
can be easily inlined to the caller functions.
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
include/linux/mm.h | 74 +---
mm/memory.c| 69
On 03/04/2013 09:04 PM, Will Deacon wrote:
> Hi guys,
>
> On Mon, Mar 04, 2013 at 02:45:33AM +, Rob Herring wrote:
>> On 02/20/2013 05:48 AM, Ian Campbell wrote:
>>> On ARM we want these to be the same size on 32- and 64-bit.
>>>
>>> This is an ABI change on ARM. X86 does not change.
>>>
>>>
On 03/05/2013 02:38 PM, Feng Tang wrote:
On Tue, Mar 05, 2013 at 02:27:34PM +0800, John Stultz wrote:
So this might be ok for an initial implementation, as on the
non-stop-tsc hardware, the TSC is the best clocksource available.
One concern long term is that there may be cases where the
"Michael Kerrisk (man-pages)" writes:
> Eric,
>
> On Mon, Mar 4, 2013 at 6:52 PM, Eric W. Biederman
> wrote:
>> "Michael Kerrisk (man-pages)" writes:
>>
>>> On Fri, Mar 1, 2013 at 4:35 PM, Eric W. Biederman
> wrote:
"Michael Kerrisk (man-pages)" writes:
> Hi Rob,
>
> On
On Tue, Mar 05, 2013 at 02:27:34PM +0800, John Stultz wrote:
> On 03/05/2013 10:27 AM, Feng Tang wrote:
> >There are some new processors whose TSC clocksource won't stop during
> >suspend. Currently, after system resumes, kernel will use persistent
> >clock or RTC to compensate the sleep time, but
I'm sorry, this is the only patch, please ignore [01/14].
On Tue, Mar 5, 2013 at 12:37 PM, Huacai Chen wrote:
> Currently, clear_page()/copy_page() are generated by Micro-assembler
> dynamically. But they are unavailable until uasm_resolve_relocs() has
> finished because jump labels are illegal
"Raphael S.Carvalho" writes:
> Starting point: create_pid_namespace()
>
> Suppose create_pid_cachep() was executed sucessfully, thus:
> pcache was allocated by kmalloc().
> cachep received a cache created by kmem_cache_create().
> and pcache->list was added to the list pid_caches_lh.
>
> So what
Hi Linus !
Here are a few powerpc bits & fixes for rc1. A couple of str*cpy fixes,
some fixes in handling the FSCR register on Power8 (controls the
enabling of processor features), a 32-bit build fix and a couple more
nits.
Cheers,
Ben.
The following changes since commit
On Mon, Mar 04, 2013 at 09:32:03PM -0700, Jason Gunthorpe wrote:
> On Tue, Mar 05, 2013 at 11:53:02AM +0800, Feng Tang wrote:
> > > You may want to also CC the maintainers of all the ARM subsystems that
> > > use read_persistent_clock and check with them to ensure this new
> > > interface will
On 03/05/2013 10:27 AM, Feng Tang wrote:
There are some new processors whose TSC clocksource won't stop during
suspend. Currently, after system resumes, kernel will use persistent
clock or RTC to compensate the sleep time, but for those new types of
clocksources, we could skip the special
[Resending, since my mobile device turned things into HTML]
Eric,
On Mon, Mar 4, 2013 at 6:52 PM, Eric W. Biederman wrote:
> "Michael Kerrisk (man-pages)" writes:
>
>> On Fri, Mar 1, 2013 at 4:35 PM, Eric W. Biederman
>> wrote:
>>> "Michael Kerrisk (man-pages)" writes:
>>>
Hi Rob,
On 03/05/2013 12:32 PM, Jason Gunthorpe wrote:
On Tue, Mar 05, 2013 at 11:53:02AM +0800, Feng Tang wrote:
// Drops some small precision along the way but is simple..
static inline u64 cyclecounter_cyc2ns_128(const struct cyclecounter *cc,
cycle_t
Signed-off-by: Axel Lin
Reviewed-by: Haojian Zhuang
---
drivers/regulator/max8649.c | 39 ++-
1 file changed, 6 insertions(+), 33 deletions(-)
diff --git a/drivers/regulator/max8649.c b/drivers/regulator/max8649.c
index 3ca1438..fdb67ff 100644
---
Signed-off-by: Axel Lin
Reviewed-by: Haojian Zhuang
---
drivers/regulator/88pm8607.c | 36
1 file changed, 4 insertions(+), 32 deletions(-)
diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c
index c79ab84..493948a 100644
---
Add enable_is_inverted flag to indicate set enable_mask bits to disable
when using regulator_enable_regmap and friends APIs.
Signed-off-by: Axel Lin
Reviewed-by: Haojian Zhuang
---
This patch was sent on https://lkml.org/lkml/2013/2/16/14.
This resend is against linux-next tree (20130305).
From: Namhyung Kim
The symbol__parse_objdump_line() parses result of the objdump run but
it's hard to follow if one doesn't know the output format of the
objdump. Add a head comment on the function to help her.
Signed-off-by: Namhyung Kim
---
tools/perf/util/annotate.c | 20
From: Namhyung Kim
Pass evsel instead of evidx. This is a preparation for supporting
event group view in annotation and no functional change is intended.
Signed-off-by: Namhyung Kim
---
tools/perf/builtin-annotate.c | 16 +---
tools/perf/builtin-top.c | 2 +-
From: Namhyung Kim
The loop end condition is calculated from next disasm_line or the
symbol size if it's the last disasm_line. But it doesn't need to be
calculated at every iteration. Moving it out of the function can
simplify code a bit. Also the src_line doesn't need to be checked in
every
From: Namhyung Kim
Factor out calculation of histogram of a symbol into
disasm__calc_percent. It'll be used for later changes.
Signed-off-by: Namhyung Kim
---
tools/perf/util/annotate.c | 49 --
1 file changed, 30 insertions(+), 19 deletions(-)
From: Namhyung Kim
The perf_evsel__is_group_event function is for checking whether given
evsel needs event group view support or not. Please note that it's
different to the existing perf_evsel__is_group_leader() which checks
only the given evsel is a leader or a standalone (i.e. non-group)
Dynamically allocate source_line_percent according to a number of
group members and save nr_pcnt to the struct source_line. This
way we can handle multiple events in a general manner.
However since the size of struct source_line is not fixed anymore,
iterating whole source_line should care about
The disasm_line__calc_percent() which was used by annotate browser
code almost duplicates disasm__calc_percent. Let's get rid of the
code duplication.
Signed-off-by: Namhyung Kim
---
tools/perf/ui/browsers/annotate.c | 50 +++
tools/perf/util/annotate.c
From: Namhyung Kim
Add support for event group view to GTK annotation browser.
Cc: Pekka Enberg
Signed-off-by: Namhyung Kim
---
tools/perf/ui/gtk/annotate.c | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/tools/perf/ui/gtk/annotate.c
From: Namhyung Kim
The source_line_percent struct contains percentage value of the symbol
histogram. This is a preparation of event group view change.
Signed-off-by: Namhyung Kim
---
tools/perf/ui/browsers/annotate.c | 2 +-
tools/perf/util/annotate.c| 14 +++---
From: Namhyung Kim
Add --group option to enable event grouping. When enabled, all the
group members information will be shown with the leader so skip
non-leader events.
It only supports --stdio output currently. Later patches will extend
additional features.
$ perf annotate --group --stdio
Dynamically allocate browser_disasm_line according to a number of
group members and save nr_pcnt to the struct. This way we can
handle multiple events in a general manner.
Signed-off-by: Namhyung Kim
---
tools/perf/ui/browsers/annotate.c | 67 +--
1 file
Hi all,
This patchset implements event group view on perf annotate. It's
basically a rebased version and major difference to prior version is
the GTK annotation browser support.
Here goes an example:
$ perf annotate --group --stdio
Percent | Source code & Disassembly
Make percent field of struct browser_disasm_line an array and
move it to the last. This is a preparation of event group view
feature.
Signed-off-by: Namhyung Kim
---
tools/perf/ui/browsers/annotate.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git
On Tue, Mar 05, 2013 at 02:04:45AM -0300, Raphael S Carvalho wrote:
> >
> > Actually I noticed this problem and I think it is not a BUG.
> > Since the pid_cache is created for all pid namespace which have the same
> > level.
> > Even this pid namespace is failed to create, the pid_cache will not
I'm sorry, this is the only patch, please ignore [01/14].
On Mon, Mar 4, 2013 at 8:56 PM, Huacai Chen wrote:
> Currently, clear_page()/copy_page() are generated by Micro-assembler
> dynamically. But they are unavailable until uasm_resolve_relocs() has
> finished because jump labels are illegal
On Mon, 4 Mar 2013, Eric Dumazet wrote:
> On Tue, 2013-03-05 at 11:47 +0800, Cong Wang wrote:
> > (Cc'ing the right netdev mailing list...)
> >
> > On 03/05/2013 08:01 AM, dormando wrote:
> > > Hi!
> > >
> > > I have a (core lockup?) with 3.7.6+ and 3.8.2 which appears to be under
> > > ixgbe.
On Mon, 2013-03-04 at 22:05 +0100, Philipp Reisner wrote:
> Sure, here it is:
> --
>
> From: Philipp Reisner
>
> commit 9749f30f1a387070e6e8351f35aeb829eacc3ab6 upstream.
>
> Inspired by the list_for_each_entry() macro
>
> Signed-off-by: Ben Hutchings
> Signed-off-by: Philipp Reisner
On Mon, 2013-03-04 at 15:09 -0500, tmhik...@gmail.com wrote:
> Forgive me for bothering you about this again, I know that -stable
> has a policy of only accepting patches once Linus has accepted them
> upstream, but I'm curious what's going on here. Is there something I could
> help with to
Hi Viresh,
On 03/05/2013 02:23 AM, Viresh Kumar wrote:> Interesting. Because it was
removed earlier and no body complained :)
>
> I got following from Documentation:
>
> sampling_down_factor: this parameter controls the rate at which the
> kernel makes a decision on when to decrease the
On 03/05/2013 01:43 PM, Andrew Chew wrote:
The backlight enable GPIO is specified in the device tree node for
backlight.
Signed-off-by: Andrew Chew
---
I decided to go ahead with disabling/enabling the backlight via GPIO as
needed. Note that I named the new functions pwm_backlight_enable()
On 03/05/2013 01:59 PM, Alex Courbot wrote:
Btw, you also want to check if the enable-gpio property exists first
because otherwise probe() will fails if no GPIO is specified).
That's actually not true - I overlooked the fact that probe() checks for
the GPIO validity before requesting it. My
On Tue, 2013-03-05 at 11:47 +0800, Cong Wang wrote:
> (Cc'ing the right netdev mailing list...)
>
> On 03/05/2013 08:01 AM, dormando wrote:
> > Hi!
> >
> > I have a (core lockup?) with 3.7.6+ and 3.8.2 which appears to be under
> > ixgbe. The machine appears to still be up but network stays in a
On Tue, Mar 5, 2013 at 12:51 AM, Gao feng wrote:
> On 2013/03/05 11:26, Eric W. Biederman wrote:
>> From: Raphael S.Carvalho
>>
>> Starting point: create_pid_namespace()
>>
>> Suppose create_pid_cachep() was executed sucessfully, thus:
>> pcache was allocated by kmalloc().
>> cachep received a
On 03/05/2013 01:48 PM, Andrew Chew wrote:
I sent out a new patch that enables/disables the backlight enable gpio.
On 03/05/2013 01:00 PM, Andrew Chew wrote:
I did come to the same conclusion regarding the platform data breakage.
I'm expecting that the use of platform data will go away, at
W83667HG-B, NCT6775, NCT6776 have the same watchdog registers as the
other supported chips but require a slightly different initialization.
Signed-off-by: Guenter Roeck
---
drivers/watchdog/Kconfig| 18 ++
drivers/watchdog/w83627hf_wdt.c | 29
Signed-off-by: Guenter Roeck
---
drivers/watchdog/Kconfig|1 +
drivers/watchdog/w83627hf_wdt.c | 234 ---
2 files changed, 47 insertions(+), 188 deletions(-)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 9fcc70c..dd462af
Major difference is that the watchdog control and counter registers
are different on both chips.
Signed-off-by: Guenter Roeck
---
drivers/watchdog/Kconfig|2 ++
drivers/watchdog/w83627hf_wdt.c | 60 +++
2 files changed, 50 insertions(+), 12
Since both chips are now supported by the w83627hf watchdog driver,
the chip specific drivers are no longer needed and can be removed.
Signed-off-by: Guenter Roeck
---
drivers/watchdog/Kconfig| 30 ---
drivers/watchdog/Makefile |2 -
drivers/watchdog/w83697hf_wdt.c | 461
There is no need to enable the watchdog device if it is already enabled.
Also, when enabling the watchdog device, only set the watchdog device
enable bit and do not touch other bits; depending on the chip type,
those bits may enable other functionality.
Signed-off-by: Guenter Roeck
---
Instead of requiring the user to provide an IO address per module
parameter, auto-detect it as well as supported chips.
Signed-off-by: Guenter Roeck
---
drivers/watchdog/w83627hf_wdt.c | 121 ---
1 file changed, 101 insertions(+), 20 deletions(-)
diff --git
It is unnecessary to enable the logical device and WDT0 each time
the watchdog is accessed. Do it only once during initialization.
Signed-off-by: Guenter Roeck
---
drivers/watchdog/w83627hf_wdt.c | 35 +--
1 file changed, 17 insertions(+), 18 deletions(-)
diff
Use helper functions named similar to other drivers to access
superio registers.
Signed-off-by: Guenter Roeck
---
drivers/watchdog/w83627hf_wdt.c | 97 +--
1 file changed, 52 insertions(+), 45 deletions(-)
diff --git a/drivers/watchdog/w83627hf_wdt.c
Convert to watchdog infrastructure, cleanup, add support for additional
chips, and merge with W83697HF and W83697UG watchdog drivers.
Tested with NCT6775 and NCT6776. I'll be able to test the code with W83627UHG.
Additional test feedback, especially for other chips, would be appreciated.
--
To
big LITTLE is ARM's new Architecture focussing power/performance needs of modern
world. More information about big LITTLE can be found here:
http://www.arm.com/products/processors/technologies/biglittleprocessing.php
http://lwn.net/Articles/481055/
In order to keep cpufreq support for all big
I'm sorry, this is the only patch, please ignore [01/14].
> Currently, clear_page()/copy_page() are generated by Micro-assembler
> dynamically. But they are unavailable until uasm_resolve_relocs() has
> finished because jump labels are illegal before that. Since these
> functions are shared by
I sent out a new patch that enables/disables the backlight enable gpio.
> On 03/05/2013 01:00 PM, Andrew Chew wrote:
> > I did come to the same conclusion regarding the platform data breakage.
> > I'm expecting that the use of platform data will go away, at least on
> > ARM, since we are all
This patch uses module_platform_driver_probe() macro which makes
the code smaller and simpler.
Signed-off-by: Jingoo Han
---
drivers/mfd/davinci_voicecodec.c | 12 +---
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/drivers/mfd/davinci_voicecodec.c
This patch uses module_platform_driver_probe() macro which makes
the code smaller and simpler.
Signed-off-by: Jingoo Han
---
drivers/mfd/htc-pasic3.c | 13 +
1 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/drivers/mfd/htc-pasic3.c b/drivers/mfd/htc-pasic3.c
index
This patch uses module_platform_driver_probe() macro which makes
the code smaller and simpler.
Signed-off-by: Jingoo Han
---
drivers/mfd/ab3100-otp.c | 14 +-
1 files changed, 1 insertions(+), 13 deletions(-)
diff --git a/drivers/mfd/ab3100-otp.c b/drivers/mfd/ab3100-otp.c
index
The backlight enable GPIO is specified in the device tree node for
backlight.
Signed-off-by: Andrew Chew
---
I decided to go ahead with disabling/enabling the backlight via GPIO as
needed. Note that I named the new functions pwm_backlight_enable() and
pwm_backlight_disable() (instead of
On 03/05/2013 01:00 PM, Andrew Chew wrote:
I did come to the same conclusion regarding the platform data breakage.
I'm expecting that the use of platform data will go away, at least on ARM,
since we are all aggressively moving what used to be in platform data into
the device tree. Do other
Currently, clear_page()/copy_page() are generated by Micro-assembler
dynamically. But they are unavailable until uasm_resolve_relocs() has
finished because jump labels are illegal before that. Since these
functions are shared by every CPU, we only call build_clear_page()/
build_copy_page() only
On Tue, Mar 05, 2013 at 11:53:02AM +0800, Feng Tang wrote:
> > // Drops some small precision along the way but is simple..
> > static inline u64 cyclecounter_cyc2ns_128(const struct cyclecounter *cc,
> > cycle_t cycles)
> > {
> > u64 max =
1 - 100 of 1283 matches
Mail list logo