Re: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-11 Thread jonghwan Choi
On Fri, May 9, 2014 at 6:23 AM, Nishanth Menon wrote: > Have you considered the option of having a clock driver which can > decide the divider (based on dts OR index or whatever)? > > example: you could do clk_set_rate(apll, rate); > and instead of implementing clock divider programmation inside

Re: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-11 Thread jonghwan Choi
On Fri, May 9, 2014 at 6:23 AM, Nishanth Menon n...@ti.com wrote: Have you considered the option of having a clock driver which can decide the divider (based on dts OR index or whatever)? example: you could do clk_set_rate(apll, rate); and instead of implementing clock divider programmation

Re: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-09 Thread jonghwan Choi
On Thu, May 8, 2014 at 11:00 PM, Viresh Kumar wrote: > Why? So, as far as I got it your dividers are nothing but 0,1,2... > i.e. > Freqs: 400 500 600 700 800 > div: 4 3 2 1 0 > > right? That's what you are doing in exynos5440. So just add this in your > probe after

Re: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-09 Thread jonghwan Choi
On Thu, May 8, 2014 at 11:00 PM, Viresh Kumar viresh.ku...@linaro.org wrote: Why? So, as far as I got it your dividers are nothing but 0,1,2... i.e. Freqs: 400 500 600 700 800 div: 4 3 2 1 0 right? That's what you are doing in exynos5440. So just add this in

RE: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-08 Thread Jonghwan Choi
On 8 May 2014 2:56 PM, Viresh Kumar wrote: > > Not necessarily. People may need a multiplier as well or some other > configuration and so this stuff was left for drivers to implement. -> In exynos cpufreq driver, if we want to support more frequency, then we have to describe frequency

RE: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-08 Thread Jonghwan Choi
On 8 May 2014 2:56 PM, Viresh Kumar viresh.ku...@linaro.org wrote: Not necessarily. People may need a multiplier as well or some other configuration and so this stuff was left for drivers to implement. - In exynos cpufreq driver, if we want to support more frequency, then we have to

RE: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-07 Thread Jonghwan Choi
, 2014 10:56 AM > To: Jonghwan Choi > Cc: Viresh Kumar; Linux PM list; open list; Rafael J. Wysocki; Len Brown; > Amit Daniel Kachhap > Subject: Re: [PATCH 1/3] PM / OPP: Add support for descending order for > cpufreq table > > On Wed, May 7, 2014 at 8:22 PM, Jonghwan Choi

RE: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-07 Thread Jonghwan Choi
> @Jonghwan: Please consider doing this: > - Don't play with the order of frequencies in table. > - Instead initialize .driver_data filed with values that you need to write > in the registers for all frequencies. i.e. 0 for highest frequency and > FREQ_COUNT-1 for lowest one. -> For that, I

RE: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-07 Thread Jonghwan Choi
@Jonghwan: Please consider doing this: - Don't play with the order of frequencies in table. - Instead initialize .driver_data filed with values that you need to write in the registers for all frequencies. i.e. 0 for highest frequency and FREQ_COUNT-1 for lowest one. - For that, I changed

RE: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-07 Thread Jonghwan Choi
To: Jonghwan Choi Cc: Viresh Kumar; Linux PM list; open list; Rafael J. Wysocki; Len Brown; Amit Daniel Kachhap Subject: Re: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table On Wed, May 7, 2014 at 8:22 PM, Jonghwan Choi jhbird.c...@samsung.com wrote: @Jonghwan

RE: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-06 Thread Jonghwan Choi
age- > From: Viresh Kumar [mailto:viresh.ku...@linaro.org] > Sent: Monday, May 05, 2014 11:39 PM > To: Nishanth Menon > Cc: Jonghwan Choi; Linux PM list; open list; Rafael J. Wysocki; Len Brown; > Amit Daniel Kachhap > Subject: Re: [PATCH 1/3] PM / OPP: Add support for descending orde

RE: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-06 Thread Jonghwan Choi
: Viresh Kumar [mailto:viresh.ku...@linaro.org] Sent: Monday, May 05, 2014 11:39 PM To: Nishanth Menon Cc: Jonghwan Choi; Linux PM list; open list; Rafael J. Wysocki; Len Brown; Amit Daniel Kachhap Subject: Re: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table On 5

RE: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-02 Thread Jonghwan Choi
resh.li...@gmail.com] On Behalf Of > Viresh Kumar > Sent: Wednesday, April 30, 2014 5:25 PM > To: Jonghwan Choi; Linux PM list > Cc: open list; Rafael J. Wysocki; Len Brown; Amit Daniel Kachhap > Subject: Re: [PATCH 1/3] PM / OPP: Add support for descending order for > cpufreq t

RE: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-02 Thread Jonghwan Choi
Sent: Wednesday, April 30, 2014 5:25 PM To: Jonghwan Choi; Linux PM list Cc: open list; Rafael J. Wysocki; Len Brown; Amit Daniel Kachhap Subject: Re: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table Hi, This isn't a very big patchset and this patch is very much

[PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-04-30 Thread Jonghwan Choi
OPP_TABLE_ORDER_DESCEND flag to consider descending order. Cc: Amit Daniel Kachhap Signed-off-by: Jonghwan Choi --- drivers/base/power/opp.c | 17 - include/linux/pm_opp.h |7 +-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/drivers/base/power/opp.c b

[PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-04-30 Thread Jonghwan Choi
OPP_TABLE_ORDER_DESCEND flag to consider descending order. Cc: Amit Daniel Kachhap amit.dan...@samsung.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/base/power/opp.c | 17 - include/linux/pm_opp.h |7 +-- 2 files changed, 21 insertions(+), 3

RE: [PATCH 1/2] PM / OPP: Use list_for_each_entry_reverse instead of list_for_each_entry

2014-04-28 Thread Jonghwan Choi
gmail.com [mailto:viresh.li...@gmail.com] On Behalf Of > Viresh Kumar > Sent: Tuesday, April 29, 2014 2:33 PM > To: Jonghwan Choi > Cc: open list; Rafael J. Wysocki; Len Brown > Subject: Re: [PATCH 1/2] PM / OPP: Use list_for_each_entry_reverse instead > of list_for_each_entry &g

[PATCH 1/2] PM / OPP: Use list_for_each_entry_reverse instead of list_for_each_entry

2014-04-28 Thread Jonghwan Choi
Most of the cpufreq table is sorted in descending order. But when cpufreq table is made from dev_pm_opp_init_cpufreq_table, it is sorted in ascending order. So in some case to make cpufreq table with descending order it needs an extra work. Signed-off-by: Jonghwan Choi --- drivers/base/power

[PATCH 1/2] PM / OPP: Use list_for_each_entry_reverse instead of list_for_each_entry

2014-04-28 Thread Jonghwan Choi
Most of the cpufreq table is sorted in descending order. But when cpufreq table is made from dev_pm_opp_init_cpufreq_table, it is sorted in ascending order. So in some case to make cpufreq table with descending order it needs an extra work. Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com

RE: [PATCH 1/2] PM / OPP: Use list_for_each_entry_reverse instead of list_for_each_entry

2014-04-28 Thread Jonghwan Choi
: Tuesday, April 29, 2014 2:33 PM To: Jonghwan Choi Cc: open list; Rafael J. Wysocki; Len Brown Subject: Re: [PATCH 1/2] PM / OPP: Use list_for_each_entry_reverse instead of list_for_each_entry On Tue, Apr 29, 2014 at 10:54 AM, Jonghwan Choi jhbird.c...@samsung.com wrote: Most of the cpufreq

[PATCH] regulator: core: Reduce busy-wait looping

2014-03-20 Thread Jonghwan Choi
Commit 5df529d440("regulator: core: Reduce busy-wait looping") can also be used in regulator_do_set_voltage. Signed-off-by: Jonghwan Choi --- drivers/regulator/core.c | 39 +-- 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH] regulator: core: Reduce busy-wait looping

2014-03-20 Thread Jonghwan Choi
Commit 5df529d440(regulator: core: Reduce busy-wait looping) can also be used in regulator_do_set_voltage. Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/regulator/core.c | 39 +-- 1 file changed, 33 insertions(+), 6 deletions(-) diff

[PATCH 2/2] cpufreq: exynos: Frequency lock should be considered in hibernation also.

2013-11-25 Thread Jonghwan Choi
gned-off-by: Jonghwan Choi --- drivers/cpufreq/exynos-cpufreq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index f3c2287..cd05b0a 100644 --- a/drivers/cpufreq/exynos-cpufreq.c +++ b/drivers/cpufreq/exynos-cpufr

[PATCH 1/2] cpufreq: s5pv210: Frequency lock should be considered in hibernation also.

2013-11-25 Thread Jonghwan Choi
gned-off-by: Jonghwan Choi --- drivers/cpufreq/s5pv210-cpufreq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c index e3973da..bfbb09e 100644 --- a/drivers/cpufreq/s5pv210-cpufreq.c +++ b/drivers/cpufreq/s5pv210-cpufr

[PATCH 1/2] cpufreq: s5pv210: Frequency lock should be considered in hibernation also.

2013-11-25 Thread Jonghwan Choi
-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/cpufreq/s5pv210-cpufreq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c index e3973da..bfbb09e 100644 --- a/drivers/cpufreq/s5pv210-cpufreq.c +++ b/drivers

[PATCH 2/2] cpufreq: exynos: Frequency lock should be considered in hibernation also.

2013-11-25 Thread Jonghwan Choi
-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/cpufreq/exynos-cpufreq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index f3c2287..cd05b0a 100644 --- a/drivers/cpufreq/exynos-cpufreq.c +++ b/drivers/cpufreq

[PATCH 4/4] PM / devfreq: Consider hibernation in pm notifier

2013-11-19 Thread Jonghwan Choi
Frequency lock should be considered in suspend/hibernation. Signed-off-by: Jonghwan Choi --- drivers/devfreq/exynos/exynos5_bus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/devfreq/exynos/exynos5_bus.c b/drivers/devfreq/exynos/exynos5_bus.c index a60da3c..bd672de0 100644

[PATCH 3/4] PM / devfreq: Consider hibernation in pm notifier

2013-11-19 Thread Jonghwan Choi
Frequency lock should be considered in suspend/hibernation. Signed-off-by: Jonghwan Choi --- drivers/devfreq/exynos/exynos4_bus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/devfreq/exynos/exynos4_bus.c b/drivers/devfreq/exynos/exynos4_bus.c index cede6f7..dd6947e 100644

[PATCH 2/4] cpufreq: exynos: Consider hibernation in pm notifier

2013-11-19 Thread Jonghwan Choi
Frequency lock should be considered in suspend/hibernation. Signed-off-by: Jonghwan Choi --- drivers/cpufreq/exynos-cpufreq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index f3c2287..cd05b0a 100644 --- a/drivers

[PATCH 1/4] cpufreq: s5pv210: Consider hibernation in pm notifier

2013-11-19 Thread Jonghwan Choi
Frequency lock should be considered in suspend/hibernation. Signed-off-by: Jonghwan Choi --- drivers/cpufreq/s5pv210-cpufreq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c index e3973da..bfbb09e 100644 --- a/drivers

[PATCH 1/4] cpufreq: s5pv210: Consider hibernation in pm notifier

2013-11-19 Thread Jonghwan Choi
Frequency lock should be considered in suspend/hibernation. Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/cpufreq/s5pv210-cpufreq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c index e3973da

[PATCH 2/4] cpufreq: exynos: Consider hibernation in pm notifier

2013-11-19 Thread Jonghwan Choi
Frequency lock should be considered in suspend/hibernation. Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/cpufreq/exynos-cpufreq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index f3c2287..cd05b0a

[PATCH 3/4] PM / devfreq: Consider hibernation in pm notifier

2013-11-19 Thread Jonghwan Choi
Frequency lock should be considered in suspend/hibernation. Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/devfreq/exynos/exynos4_bus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/devfreq/exynos/exynos4_bus.c b/drivers/devfreq/exynos/exynos4_bus.c index

[PATCH 4/4] PM / devfreq: Consider hibernation in pm notifier

2013-11-19 Thread Jonghwan Choi
Frequency lock should be considered in suspend/hibernation. Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/devfreq/exynos/exynos5_bus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/devfreq/exynos/exynos5_bus.c b/drivers/devfreq/exynos/exynos5_bus.c index

[PATCH 3.10-stable] ARM: KVM: Fix 64-bit coprocessor handling

2013-08-23 Thread Jonghwan Choi
the CRn(0) regs and were considered CRn(0) in the in-kernel representation. Signed-off-by: Christoffer Dall Signed-off-by: Jonghwan Choi --- arch/arm/kvm/coproc.c | 26 +++--- arch/arm/kvm/coproc.h |3 +++ arch/arm/kvm/coproc_a15.c |6 +- 3 files c

[PATCH 3.10-stable] ARM: KVM: Fix 64-bit coprocessor handling

2013-08-23 Thread Jonghwan Choi
they happened to follow the CRn(0) regs and were considered CRn(0) in the in-kernel representation. Signed-off-by: Christoffer Dall christoffer.d...@linaro.org Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- arch/arm/kvm/coproc.c | 26 +++--- arch/arm/kvm/coproc.h

[PATCH] PCI: fix typo in iov.c

2013-07-07 Thread Jonghwan Choi
Devic3 should be device. Signed-off-by: Jonghwan Choi --- drivers/pci/iov.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index de8ffac..de4034e 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c @@ -786,7 +786,7 @@ int

[PATCH] PCI: fix typo in iov.c

2013-07-07 Thread Jonghwan Choi
Devic3 should be device. Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/pci/iov.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index de8ffac..de4034e 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c @@ -786,7

[PATCH 3.9-stable] iwlwifi: fix rate control regression

2013-06-27 Thread Jonghwan Choi
Signed-off-by: Jonghwan Choi --- drivers/net/wireless/iwlwifi/dvm/rs.c |2 +- drivers/net/wireless/iwlwifi/mvm/rs.c |1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlwifi/dvm/rs.c b/drivers/net/wireless/iwlwifi/dvm/rs.c index abe3042..5de2dbf 100644 --- a/d

[PATCH 3.9-stable] Bluetooth: btmrvl: fix thread stopping race

2013-06-27 Thread Jonghwan Choi
ep happens, the thread will go to sleep and won't necessarily be woken up. Move the kthread_should_stop() check into a race-free place. Signed-off-by: Daniel Drake Signed-off-by: Gustavo Padovan Signed-off-by: John W. Linville Signed-off-by: Jonghwan Choi --- drivers/bluetooth/btmrvl_mai

[PATCH 3.9-stable] iwlegacy: fix rate control regression

2013-06-27 Thread Jonghwan Choi
after rate control API rewrite, this is required by mac80211. Otherwise legacy rates control does not work and we transmit always at 1Mbit/s on pre 11n networks. Signed-off-by: Stanislaw Gruszka Signed-off-by: John W. Linville Signed-off-by: Jonghwan Choi --- drivers/net/wireless/iwlegacy/3945-r

[PATCH 3.9-stable] iwlegacy: fix rate control regression

2013-06-27 Thread Jonghwan Choi
. But currently, after rate control API rewrite, this is required by mac80211. Otherwise legacy rates control does not work and we transmit always at 1Mbit/s on pre 11n networks. Signed-off-by: Stanislaw Gruszka sgrus...@redhat.com Signed-off-by: John W. Linville linvi...@tuxdriver.com Signed-off-by: Jonghwan

[PATCH 3.9-stable] Bluetooth: btmrvl: fix thread stopping race

2013-06-27 Thread Jonghwan Choi
Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/bluetooth/btmrvl_main.c |9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/bluetooth/btmrvl_main.c b/drivers/bluetooth/btmrvl_main.c index 3a4343b..9a9f518 100644 --- a/drivers/bluetooth

[PATCH 3.9-stable] iwlwifi: fix rate control regression

2013-06-27 Thread Jonghwan Choi
emmanuel.grumb...@intel.com Signed-off-by: Johannes Berg johannes.b...@intel.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/net/wireless/iwlwifi/dvm/rs.c |2 +- drivers/net/wireless/iwlwifi/mvm/rs.c |1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net

[PATCH 3.9-stable] s5p makefiles: don't override other selections on obj-[ym]

2013-06-24 Thread Jonghwan Choi
never use $obj-y := foo.o instead, it should use: $obj-y += foo.o Failing to do that is very bad, as it will suppress needed modules. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Jonghwan Choi --- drivers/media/platform/s5p-jpeg/Makefile |2 +- drivers/media/platfo

[PATCH 3.9-stable] s5p makefiles: don't override other selections on obj-[ym]

2013-06-24 Thread Jonghwan Choi
, it should never use $obj-y := foo.o instead, it should use: $obj-y += foo.o Failing to do that is very bad, as it will suppress needed modules. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/media/platform/s5p-jpeg

[PATCH 3.9-stable] ARM: tegra30: clocks: Fix pciex clock registration

2013-06-18 Thread Jonghwan Choi
this clock api gives warning and ultimately does not succeed to assert(deassert) Signed-off-by: Jay Agarwal Acked-by: Stephen Warren Signed-off-by: Mike Turquette Signed-off-by: Jonghwan Choi --- drivers/clk/tegra/clk-tegra30.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletion

[PATCH 3.9-stable] ARM: tegra30: clocks: Fix pciex clock registration

2013-06-18 Thread Jonghwan Choi
) api of this clock api gives warning and ultimately does not succeed to assert(deassert) Signed-off-by: Jay Agarwal jagar...@nvidia.com Acked-by: Stephen Warren swar...@nvidia.com Signed-off-by: Mike Turquette mturque...@linaro.org Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/clk

[PATCH 3.9-stable] arm: omap2: fix AM33xx hwmod infos for UART2

2013-06-16 Thread Jonghwan Choi
atch fixes this by making the UART2 hwmod structure to a new structure that lists the EDMA channels to be used by the UART2. Signed-off-by: Thomas Petazzoni Acked-by: Vaibhav Hiremath [p...@pwsan.com: updated to apply] Signed-off-by: Paul Walmsley Signed-off-by: Jonghwan Choi --- arch/arm/

[PATCH 3.9-stable] ARM: omap3: clock: fix wrong container_of in clock36xx.c

2013-06-16 Thread Jonghwan Choi
lk_hw_omap. However, looking at cclock3xxx_data.c, all concerned clock have parent defined as clk_divider. Fix the function to use clk_divider. Tested with 3.9 on dm3730. Signed-off-by: Jean-Philippe Francois Cc: NeilBrown Cc: Mike Turquette Signed-off-by: Paul Walmsley Signed-off-by: Jonghwan Choi

[PATCH 3.9-stable] ARM: omap3: clock: fix wrong container_of in clock36xx.c

2013-06-16 Thread Jonghwan Choi
...@linaro.org Signed-off-by: Paul Walmsley p...@pwsan.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- arch/arm/mach-omap2/clock36xx.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-omap2/clock36xx.c b/arch/arm/mach-omap2/clock36xx.c index

[PATCH 3.9-stable] arm: omap2: fix AM33xx hwmod infos for UART2

2013-06-16 Thread Jonghwan Choi
-off-by: Paul Walmsley p...@pwsan.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- arch/arm/mach-omap2/omap_hwmod_33xx_data.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c b/arch/arm/mach-omap2

[PATCH 3.9-stable] jfs: Several bugs in jfs_freeze() and jfs_unfreeze()

2013-06-03 Thread Jonghwan Choi
by: Vahram Martirosyan Reviewed-by: Gu Zheng Signed-off-by: Dave Kleikamp Signed-off-by: Jonghwan Choi --- fs/jfs/super.c | 38 ++ 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/fs/jfs/super.c b/fs/jfs/super.c index 1a543be..2502d39 100644 --

[PATCH 3.9-stable] jfs: Several bugs in jfs_freeze() and jfs_unfreeze()

2013-06-03 Thread Jonghwan Choi
). Signed-off-by: Vahram Martirosyan vahram.martiros...@linuxtesting.org Reviewed-by: Gu Zheng guz.f...@cn.fujitsu.com Signed-off-by: Dave Kleikamp dave.kleik...@oracle.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- fs/jfs/super.c | 38 ++ 1 file changed

RE: [PATCH 3.9-stable] staging:iio:light:tsl2x7x: fix the error handling in tsl2x7x_probe()

2013-06-02 Thread Jonghwan Choi
Thanks for the kind reply. Best Regards.~ > -Original Message- > From: Jonathan Cameron [mailto:ji...@jic23.retrosnub.co.uk] > Sent: Monday, June 03, 2013 12:13 AM > To: Jonghwan Choi > Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; 'Wei Yongjun'; >

RE: [PATCH 3.9-stable] staging:iio:light:tsl2x7x: fix the error handling in tsl2x7x_probe()

2013-06-02 Thread Jonghwan Choi
Thanks for the kind reply. Best Regards.~ -Original Message- From: Jonathan Cameron [mailto:ji...@jic23.retrosnub.co.uk] Sent: Monday, June 03, 2013 12:13 AM To: Jonghwan Choi Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; 'Wei Yongjun'; 'Jonathan Cameron' Subject: Re

[PATCH 3.9-stable] ASoC: wm8994: Fix reporting of accessory removal on

2013-05-30 Thread Jonghwan Choi
d, causing problems for systems which rely solely on the MICDET for this functionality. Restore it. Signed-off-by: Mark Brown Signed-off-by: Jonghwan Choi --- sound/soc/codecs/wm8994.c |5 + 1 file changed, 5 insertions(+) diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm89

[PATCH 3.9-stable] ASoC: wm8994: use the correct pointer to get the control

2013-05-30 Thread Jonghwan Choi
This patch looks like it should be in the 3.9-stable tree, should we apply it? -- From: "Vinod Koul " commit d3134e211e8db7fa833c40b5879fc022693e16c2 upstream Signed-off-by: Vinod Koul Signed-off-by: Mark Brown Signed-off-by: Jonghwan Choi --- sound/soc/codec

[PATCH 3.9-stable] ASoC: wm8994: use the correct pointer to get the control

2013-05-30 Thread Jonghwan Choi
...@opensource.wolfsonmicro.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- sound/soc/codecs/wm8994.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 3b269fa..8b769ba 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc

[PATCH 3.9-stable] ASoC: wm8994: Fix reporting of accessory removal on

2013-05-30 Thread Jonghwan Choi
microphone was removed, causing problems for systems which rely solely on the MICDET for this functionality. Restore it. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- sound/soc/codecs/wm8994.c |5 + 1 file changed, 5

[PATCH 3.9-stable] ARM: EXYNOS: fix software reset logic for EXYNOS5440 SOC

2013-05-29 Thread Jonghwan Choi
e software reset to all domains causes reboot failure. Signed-off-by: Jungseok Lee Signed-off-by: Kukjin Kim Signed-off-by: Jonghwan Choi --- arch/arm/mach-exynos/common.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/m

[PATCH 3.9-stable] ARM: EXYNOS: fix software reset logic for EXYNOS5440 SOC

2013-05-29 Thread Jonghwan Choi
because software reset to all domains causes reboot failure. Signed-off-by: Jungseok Lee jays@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- arch/arm/mach-exynos/common.c |9 - 1 file changed, 8 insertions(+), 1

[PATCH 3.9-stable] This patch fixes the issue that drm_vblank_get() is

2013-05-28 Thread Jonghwan Choi
then dpms became off. So this patch make sure that page flip event is completed before dpms goes to off. Cc: # 3.9.x: b6330548: drm.h: Fix DRM compilation Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park Signed-off-by: Jonghwan Choi --- drivers/gpu/drm/exynos/exynos_drm_crt

[PATCH 3.9-stable] drm.h: Fix DRM compilation with bare-metal toolchain.'Mark Brown'

2013-05-28 Thread Jonghwan Choi
ile kernel with just bare-metal toolchain which doesn't define __linux__. So, also add __KERNEL__ check. [n...@ti.com: port forward to 3.9-rc6 and post to dri devel for feedback as RFC] Signed-off-by: Paul Sokolovsky Signed-off-by: Dave Airlie Signed-off-by: Jonghwan Choi --- include/uapi/drm/dr

[PATCH 3.9-stable] drm.h: Fix DRM compilation with bare-metal toolchain.'Mark Brown'

2013-05-28 Thread Jonghwan Choi
Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- include/uapi/drm/drm.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 8d1e2bb..73a99e4 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h @@ -36,7

[PATCH 3.9-stable] This patch fixes the issue that drm_vblank_get() is

2013-05-28 Thread Jonghwan Choi
-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.c b/drivers/gpu/drm/exynos/exynos_drm_crtc.c index e8894bc..1847f1d 100644 --- a/drivers/gpu/drm/exynos

[PATCH 3.9-stable] cpufreq / intel_pstate: Add additional supported CPU ID

2013-05-26 Thread Jonghwan Choi
Signed-off-by: Jonghwan Choi --- drivers/cpufreq/intel_pstate.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index d8a8c9b..bd9fae6 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -57

[PATCH 3.9-stable] NFSv4.1 Fix a pNFS session draining deadlock

2013-05-26 Thread Jonghwan Choi
e callback service thread frees the callback slot. Then proceed with draining the forechannel. Signed-off-by: Andy Adamson Signed-off-by: Trond Myklebust Signed-off-by: Jonghwan Choi --- fs/nfs/callback_proc.c |2 +- fs/nfs/callback_xdr.c |2 +- fs/nfs/nfs4proc.c |2

[PATCH 3.9-stable] NFSv4.1 Fix a pNFS session draining deadlock

2013-05-26 Thread Jonghwan Choi
the callback service thread frees the callback slot. Then proceed with draining the forechannel. Signed-off-by: Andy Adamson and...@netapp.com Signed-off-by: Trond Myklebust trond.mykleb...@netapp.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- fs/nfs/callback_proc.c |2 +- fs/nfs

[PATCH 3.9-stable] cpufreq / intel_pstate: Add additional supported CPU ID

2013-05-26 Thread Jonghwan Choi
...@intel.com Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/cpufreq/intel_pstate.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index d8a8c9b..bd9fae6 100644

[PATCH 3.9-stable] staging:iio:light:tsl2x7x: fix the error handling in tsl2x7x_probe()

2013-05-23 Thread Jonghwan Choi
s function. And also correct the fail1 and fail2 lable to do the right thing. Signed-off-by: Wei Yongjun Signed-off-by: Jonathan Cameron Signed-off-by: Jonghwan Choi --- drivers/staging/iio/light/tsl2x7x_core.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drive

[PATCH 3.9-stable] staging/iio/mxs-lradc: fix preenable for multiple

2013-05-23 Thread Jonghwan Choi
uot; Signed-off-by: Jonathan Cameron Signed-off-by: Jonghwan Choi --- drivers/staging/iio/adc/mxs-lradc.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc/mxs-lradc.c index 55a459b..f5e9e55 100644 --- a/driv

[PATCH 3.9-stable] staging/iio/mxs-lradc: fix preenable for multiple

2013-05-23 Thread Jonghwan Choi
Mirosław mirq-li...@rere.qmqm.pl Signed-off-by: Jonathan Cameron ji...@kernel.org Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/staging/iio/adc/mxs-lradc.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers

[PATCH 3.9-stable] staging:iio:light:tsl2x7x: fix the error handling in tsl2x7x_probe()

2013-05-23 Thread Jonghwan Choi
elsewhere in this function. And also correct the fail1 and fail2 lable to do the right thing. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn Signed-off-by: Jonathan Cameron ji...@kernel.org Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/staging/iio/light/tsl2x7x_core.c

[PATCH 3.9-stable] regulator: mc13892: Fix MC13892_SWITCHERS0_SWxHI bit in set_voltage_sel

2013-05-21 Thread Jonghwan Choi
to 1375000. Leaving MC13892_SWITCHERS0_SWxHI bit untouched may result in wrong voltage setting. For example, currently switch voltage from 140 to 130 will set the voltage to 180 because the HI bit is still set. Signed-off-by: Axel Lin Signed-off-by: Mark Brown Signed-off-by: Jon

[PATCH 3.9-stable] leds: leds-gpio: reserve gpio before using it.

2013-05-21 Thread Jonghwan Choi
Signed-off-by: Jonghwan Choi --- drivers/leds/leds-gpio.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index a0d931b..b02b679 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c @@ -107,6 +107,10

[PATCH 3.9-stable] leds: leds-gpio: reserve gpio before using it.

2013-05-21 Thread Jonghwan Choi
-electrons.com Acked-by: Jingoo Han jg1@samsung.com Signed-off-by: Bryan Wu coolo...@gmail.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/leds/leds-gpio.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/leds/leds-gpio.c b/drivers/leds

[PATCH 3.9-stable] regulator: mc13892: Fix MC13892_SWITCHERS0_SWxHI bit in set_voltage_sel

2013-05-21 Thread Jonghwan Choi
...@sirena.org.uk Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/regulator/mc13892-regulator.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/mc13892-regulator.c b/drivers/regulator/mc13892-regulator.c index 9891aec..cc76c52 100644

RE: [PATCH 3.9-stable] NTB: variable dereferenced before check

2013-05-19 Thread Jonghwan Choi
t; Thanks. Best Regards. > -Original Message- > From: stable-ow...@vger.kernel.org [mailto:stable-ow...@vger.kernel.org] > On Behalf Of Jonghwan Choi > Sent: Monday, May 20, 2013 10:58 AM > To: 'Jonghwan Choi'; linux-kernel@vger.kernel.org > Cc: sta...@vger.kernel.org; '

[PATCH 3.9-stable] NTB: variable dereferenced before check

2013-05-19 Thread Jonghwan Choi
nt drivers. Also, add sanity checks for all exported functions. Reported-by: Dan Carpenter Signed-off-by: Jon Mason Signed-off-by: Jonghwan Choi --- drivers/ntb/ntb_transport.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/ntb/ntb_transport.c b/d

[PATCH 3.9-stable] NTB: variable dereferenced before check

2013-05-19 Thread Jonghwan Choi
to the client drivers. Also, add sanity checks for all exported functions. Reported-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Jon Mason jon.ma...@intel.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/ntb/ntb_transport.c | 16 ++-- 1 file changed, 14

RE: [PATCH 3.9-stable] NTB: variable dereferenced before check

2013-05-19 Thread Jonghwan Choi
. Best Regards. -Original Message- From: stable-ow...@vger.kernel.org [mailto:stable-ow...@vger.kernel.org] On Behalf Of Jonghwan Choi Sent: Monday, May 20, 2013 10:58 AM To: 'Jonghwan Choi'; linux-kernel@vger.kernel.org Cc: sta...@vger.kernel.org; 'Jon Mason'; c...@samsung.com Subject

Re: [PATCH 3.9-table] NTB: fix pointer math issues

2013-05-18 Thread jonghwan Choi
Thanks for your advice. Best Regards. On Sat, May 18, 2013 at 3:00 AM, Dan Carpenter wrote: > On Sat, May 18, 2013 at 11:39:05AM +0900, Jonghwan Choi wrote: >> From: Dan Carpenter >> >> This patch looks like it should be in the 3.9-stable tree, should we apply &

Re: [PATCH 3.9-table] NTB: fix pointer math issues

2013-05-18 Thread jonghwan Choi
Thanks for your advice. Best Regards. On Sat, May 18, 2013 at 3:00 AM, Dan Carpenter dan.carpen...@oracle.com wrote: On Sat, May 18, 2013 at 11:39:05AM +0900, Jonghwan Choi wrote: From: Dan Carpenter dan.carpen...@oracle.com This patch looks like it should be in the 3.9-stable tree, should

[PATCH 3.9-stable] NTB: Multiple NTB client fix

2013-05-17 Thread Jonghwan Choi
b2637: NTB: Link toggle memory Cc: # 3.9.x: 90f9e934: NTB: reset tx_index on Cc: # 3.9.x: c9d534c8: NTB: Correctly handle receive Cc: # 3.9.x: c336acd3: NTB: memcpy lockup workaround Cc: # 3.9.x: 904435cf: ntb_netdev: remove from list Signed-off-by: Jon Mason Signed-off-by: Jonghwan Choi --- d

[PATCH 3.9-stable] ntb_netdev: remove from list on exit

2013-05-17 Thread Jonghwan Choi
Cc: # 3.9.x: 90f9e934: NTB: reset tx_index on Cc: # 3.9.x: c9d534c8: NTB: Correctly handle receive Cc: # 3.9.x: c336acd3: NTB: memcpy lockup workaround Signed-off-by: Jon Mason Signed-off-by: Jonghwan Choi --- drivers/net/ntb_netdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/d

[PATCH 3.9-stable] NTB: memcpy lockup workaround

2013-05-17 Thread Jonghwan Choi
: # 3.9.x: 90f9e934: NTB: reset tx_index on Cc: # 3.9.x: c9d534c8: NTB: Correctly handle receive Signed-off-by: Jon Mason Signed-off-by: Jonghwan Choi --- drivers/ntb/ntb_transport.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/ntb/ntb_transport.c b/d

[PATCH 3.9-table] NTB: Correctly handle receive buffers of the minimal size

2013-05-17 Thread Jonghwan Choi
ink toggle memory Cc: # 3.9.x: 90f9e934: NTB: reset tx_index on Signed-off-by: Jon Mason Signed-off-by: Jonghwan Choi --- drivers/ntb/ntb_transport.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c index 082812

[PATCH 3.9-stable] NTB: reset tx_index on link toggle

2013-05-17 Thread Jonghwan Choi
64bit BAR Cc: # 3.9.x: b77b2637: NTB: Link toggle memory Signed-off-by: Jon Mason Signed-off-by: Jonghwan Choi --- drivers/ntb/ntb_transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c index f5a424d..0828

[PATCH 3.9-table] NTB: Link toggle memory leak

2013-05-17 Thread Jonghwan Choi
: NTB: fix pointer math Cc: # 3.9.x: 113fc505: NTB: Handle 64bit BAR Signed-off-by: Jon Mason Signed-off-by: Jonghwan Choi --- drivers/ntb/ntb_transport.c | 32 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/drivers/ntb/ntb_transport.c b/d

[PATCH 3.9-table] NTB: Handle 64bit BAR sizes

2013-05-17 Thread Jonghwan Choi
and clean-ups were required, most significantly using 2 32bit scratch pad registers for each BAR. Also, modify the driver to allow more than 2 Memory Windows. Cc: # 3.9.x: ad3e2751: ntb: off by one Cc: # 3.9.x: cc0f868d: NTB: fix pointer math Signed-off-by: Jon Mason Signed-off-by: Jon

[PATCH 3.9-table] NTB: fix pointer math issues

2013-05-17 Thread Jonghwan Choi
dd sizeof(struct ntb_rx_info) then it goes too far. Cc: # 3.9.x: ad3e2751: ntb: off by one Signed-off-by: Dan Carpenter Signed-off-by: Jon Mason Signed-off-by: Jonghwan Choi --- drivers/ntb/ntb_transport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ntb/ntb_trans

[PATCH 3.9-stable] ntb: off by one sanity checks

2013-05-17 Thread Jonghwan Choi
ld go beyond the end of the ndev->mw[] array. Signed-off-by: Dan Carpenter Signed-off-by: Jon Mason Signed-off-by: Jonghwan Choi --- drivers/ntb/ntb_hw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c index f802e7c..195cc

[PATCH 3.9-stable] ntb: off by one sanity checks

2013-05-17 Thread Jonghwan Choi
to NTB_NUM_MW then we would go beyond the end of the ndev-mw[] array. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Jon Mason jon.ma...@intel.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/ntb/ntb_hw.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH 3.9-table] NTB: fix pointer math issues

2013-05-17 Thread Jonghwan Choi
ntb_rx_info pointers. If we add sizeof(struct ntb_rx_info) then it goes too far. Cc: sta...@vger.kernel.org # 3.9.x: ad3e2751: ntb: off by one Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Jon Mason jon.ma...@intel.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com

[PATCH 3.9-table] NTB: Handle 64bit BAR sizes

2013-05-17 Thread Jonghwan Choi
: fix pointer math Signed-off-by: Jon Mason jon.ma...@intel.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/ntb/ntb_hw.c| 4 +- drivers/ntb/ntb_transport.c | 121 ++-- 2 files changed, 75 insertions(+), 50 deletions(-) diff --git

[PATCH 3.9-table] NTB: Link toggle memory leak

2013-05-17 Thread Jonghwan Choi
: ad3e2751: ntb: off by one Cc: sta...@vger.kernel.org # 3.9.x: cc0f868d: NTB: fix pointer math Cc: sta...@vger.kernel.org # 3.9.x: 113fc505: NTB: Handle 64bit BAR Signed-off-by: Jon Mason jon.ma...@intel.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/ntb/ntb_transport.c | 32

[PATCH 3.9-stable] NTB: reset tx_index on link toggle

2013-05-17 Thread Jonghwan Choi
.x: cc0f868d: NTB: fix pointer math Cc: sta...@vger.kernel.org # 3.9.x: 113fc505: NTB: Handle 64bit BAR Cc: sta...@vger.kernel.org # 3.9.x: b77b2637: NTB: Link toggle memory Signed-off-by: Jon Mason jon.ma...@intel.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/ntb

[PATCH 3.9-table] NTB: Correctly handle receive buffers of the minimal size

2013-05-17 Thread Jonghwan Choi
...@vger.kernel.org # 3.9.x: 113fc505: NTB: Handle 64bit BAR Cc: sta...@vger.kernel.org # 3.9.x: b77b2637: NTB: Link toggle memory Cc: sta...@vger.kernel.org # 3.9.x: 90f9e934: NTB: reset tx_index on Signed-off-by: Jon Mason jon.ma...@intel.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com

[PATCH 3.9-stable] NTB: memcpy lockup workaround

2013-05-17 Thread Jonghwan Choi
Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/ntb/ntb_transport.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c index a288a26..0f66daa 100644 --- a/drivers/ntb/ntb_transport.c +++ b/drivers

  1   2   3   >