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 c

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 do

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 informat

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 change

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-02 Thread Jonghwan Choi
h.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 table >

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

2014-04-29 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

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

2014-04-28 Thread Jonghwan Choi
iresh.li...@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_

[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] 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 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 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 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] 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 3.9-stable] iwlwifi: fix rate control regression

2013-06-27 Thread Jonghwan Choi
ned-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/btmrv

[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] 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] 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: omap2: fix AM33xx hwmod infos for UART2

2013-06-16 Thread Jonghwan Choi
his patch 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

[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] 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 --

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&#

[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] 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] This patch fixes the issue that drm_vblank_get() is

2013-05-28 Thread Jonghwan Choi
t and 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_dr

[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/u

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

2013-05-26 Thread Jonghwan Choi
ned-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] 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
irosław " 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

[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

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

2013-05-19 Thread Jonghwan Choi
" 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...@vge

[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

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 >>

[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..0828124 10

[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
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] ARM: EXYNOS5: Fix kernel dump in AFTR idle mode

2013-05-09 Thread Jonghwan Choi
ned-off-by: Jonghwan Choi --- arch/arm/mach-exynos/include/mach/regs-pmu.h |1 + arch/arm/mach-exynos/pmu.c |5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-exynos/include/mach/regs-pmu.h b/arch/arm/mach-exynos/include/mach/regs-pmu.h ind

[PATCH 3.9-stable ]drbd: fix for deadlock when using automatic split-brain-recovery

2013-05-08 Thread Jonghwan Choi
t the first hunk of that patch forgets to remove the drbd_set_role(). We apparently only ever tested the "two primaries" case. Cc: # 3.9.x: ef57f9e6: drbd: Fix build error Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe Signed-off-by

[PATCH 3.9-stable] drbd: Fix build error when CONFIG_CRYPTO_HMAC is not set

2013-05-08 Thread Jonghwan Choi
This patch looks like it should be in the 3.9-stable tree, should we apply it? -- From: "Philipp Reisner " commit ef57f9e6bb9278720c8a5278728f252ab85d7ac6 upstream Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe Signed-off-by

[PATCH 3.9-stable] drbd: fix memory leak

2013-05-08 Thread Jonghwan Choi
y: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe Signed-off-by: Jonghwan Choi --- drivers/block/drbd/drbd_main.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index e98da67..54d03d4 100644 --- a/dri

[PATCH] net/core Fix wrong comments about memcpy_fromiovecend

2013-05-07 Thread Jonghwan Choi
"Copy iovec from kernel" should be "Copy iovec to kernel" because copy_from_user copies data from userspace. Signed-off-by: Jonghwan Choi --- net/core/iovec.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/iovec.c b/net/core/iovec.c index 7e7

[PATCH 3.9-stable] mmc: dw_mmc: fix fifo access for 64-bit

2013-05-05 Thread Jonghwan Choi
eon Acked-by: Jaehoon Chung Signed-off-by: Chris Ball Signed-off-by: Jonghwan Choi --- drivers/mmc/host/dw_mmc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 9834221..cc8d8de 100644 --- a/drivers/mmc/host/dw_m

[PATCH] virtio_blk: Add missing 'static' qualifiers

2013-05-02 Thread Jonghwan Choi
Add missing 'static' qualifiers Signed-off-by: Jonghwan Choi --- drivers/block/virtio_blk.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 6472395..5cdf88b 100644 --- a/drivers/block/virtio_blk.c +++

[PATCH 3.8-stable] kernel/audit_tree.c: tree will leak memory when failure occurs in audit_trim_trees()

2013-04-30 Thread Jonghwan Choi
n.org: run put_tree() before mutex_lock() for small scalability improvement] Signed-off-by: Chen Gang Cc: Al Viro Cc: Eric Paris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Jonghwan Choi --- kernel/audit_tree.c |2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH 3.8-stable] lib/int_sqrt.c: optimize square root algorithm

2013-04-30 Thread Jonghwan Choi
Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Jonghwan Choi --- lib/int_sqrt.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/lib/int_sqrt.c b/lib/int_sqrt.c index fc2eeb7..1ef4cc3 100644 --- a/lib/int_sqrt.c +++

[PATCH 3.8-stable] ARM: 7690/1: mm: fix CONFIG_LPAE typos

2013-04-25 Thread Jonghwan Choi
suitable for earlyprintk), then we can revisit the code later if it causes any problems. Signed-off-by: Paul Bolle Signed-off-by: Will Deacon Signed-off-by: Russell King Signed-off-by: Jonghwan Choi --- arch/arm/kernel/head.S |2 +- arch/arm/kernel/setup.c |2 +- 2 files changed, 2 i

[PATCH 3.8-stable] ARM: 7699/1: sched_clock: Add more notrace to prevent

2013-04-24 Thread Jonghwan Choi
ausing my system to crash. Marking these functions notrace fixes it. Technically cyc_to_ns() doesn't need the notrace because it's already marked inline, but let's just add it so that if we ever remove inline from that function it doesn't blow up. Signed-off-by: Stephen Boyd Signed-

[PATCH 3.8-stable] ARM: 7692/1: iop3xx: move IOP3XX_PERIPHERAL_VIRT_BASE

2013-04-24 Thread Jonghwan Choi
0.00] [] (vm_area_add_early+0x0/0x88) from [] (add_static_vm_early+0x14/0x68) Tested-by: Mikael Pettersson Signed-off-by: Aaro Koskinen Signed-off-by: Russell King Signed-off-by: Jonghwan Choi --- arch/arm/include/asm/hardware/iop3xx.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

RE: [PATCH 3.8-stable] ARM: S3C24XX: Correct NR_IRQS definition for s3c2440

2013-04-22 Thread Jonghwan Choi
f Greg KH > Sent: Tuesday, April 23, 2013 12:09 PM > To: Jonghwan Choi > Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; 'Sylwester > Nawrocki'; 'Kukjin Kim'; 'Tomasz Figa' > Subject: Re: [PATCH 3.8-stable] ARM: S3C24XX: Correct NR_IRQS definition

[PATCH 3.8-stable] ARM: S3C24XX: Correct NR_IRQS definition for s3c2440

2013-04-22 Thread Jonghwan Choi
Sylwester Nawrocki Acked-by: Heiko Stuebner Signed-off-by: Kukjin Kim Signed-off-by: Jonghwan Choi --- arch/arm/mach-s3c24xx/include/mach/irqs.h |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-s3c24xx/include/mach/irqs.h b/arch/arm/mach-s3c24xx/include/m

[PATCH 3.8-stable] perf: Fix error return code

2013-04-22 Thread Jonghwan Choi
ned-off-by: Ingo Molnar Signed-off-by: Jonghwan Choi --- kernel/events/core.c |1 + 1 file changed, 1 insertion(+) diff --git a/kernel/events/core.c b/kernel/events/core.c index 7b6646a..f6eba58 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -5988,6 +5988,7 @@ skip_type:

[PATCH 3.8-stable] regulator: fixed regulator_bulk_enable unwinding code

2013-04-22 Thread Jonghwan Choi
Signed-off-by: Andrzej Hajda Signed-off-by: Kyungmin Park Signed-off-by: Mark Brown Signed-off-by: Jonghwan Choi --- drivers/regulator/core.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 5a0f54a..e561

[PATCH 3.8-stable] regmap: irq: call pm_runtime_put in pm_runtime_get_sync

2013-04-17 Thread Jonghwan Choi
th correct value and runtime power management to behave correctly, call pm_runtime_put(_sync) in such case. Signed-off-by Liu Chuansheng Signed-off-by: Li Fei Signed-off-by: Mark Brown Signed-off-by: Jonghwan Choi --- drivers/base/regmap/regmap-irq.c |1 + 1 file changed, 1 insertion(+) di

[PATCH 3.8-stable] esp4: fix error return code in esp_output()

2013-04-17 Thread Jonghwan Choi
s function. Signed-off-by: Wei Yongjun Acked-by: Steffen Klassert Signed-off-by: David S. Miller Signed-off-by: Jonghwan Choi --- net/ipv4/esp4.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c index 3b4f0cd..4cfe34d 100644 ---

[PATCH 3.8-stable] sched/debug: Fix sd->*_idx limit range avoiding overflow

2013-04-15 Thread Jonghwan Choi
te bug fix. This patch fixes sd->*_idx limit range to [0 ~ CPU_LOAD_IDX_MAX-1] avoiding array overflow caused by setting sd->*_idx to CPU_LOAD_IDX_MAX on sysctl. Signed-off-by: Libin Cc: Cc: Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/51626610.2040...@huawei.com Signed-off-by: Ingo Mo

RE: [PATCH 3.8-stable] gpio: fix wrong checking condition for gpio range

2013-04-14 Thread Jonghwan Choi
..@linaro.org] > Sent: Sunday, April 14, 2013 12:27 AM > To: Jonghwan Choi > Cc: Linus Walleij; sta...@vger.kernel.org; linux-kernel@vger.kernel.org; > Jonghwan Choi > Subject: Re: [PATCH 3.8-stable] gpio: fix wrong checking condition for > gpio range > > On 13 Apri

[PATCH 3.8-stable] gpio: fix wrong checking condition for gpio range

2013-04-13 Thread Jonghwan Choi
; fails & it doesn't check any more. It doesn't follow the loop that used at here. Replace it by endless loop at here. Then it keeps parsing "gpio-ranges" property until it ends. Signed-off-by: Haojian Zhuang Reviewed-by: Linus Walleij Signed-off-by: Linus Walleij Sig

[PATCH 3.8-stable] mnt: release locks on error path in do_loopback

2013-04-13 Thread Jonghwan Choi
ocks still held! [ 77.668027] 2 locks held by mount/514: [ 77.668817] #0: (&sb->s_type->i_mutex_key#7){+.+.+.}, at: [] lock_mount+0x32/0xe0 [ 77.671755] #1: (&namespace_sem){+.}, at: [] lock_mount+0x4a/0xe0 Signed-off-by: Andrey Vagin Signed-off-by: Al Viro Signed-off-by

[PATCH] KVM: ARM: Fix wrong address in comment

2013-04-10 Thread Jonghwan Choi
hyp_hvc vector offset should be 0x14 and hyp_svc vector offset should be 0x8. Signed-off-by: Jonghwan Choi --- arch/arm/kvm/interrupts.S |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/kvm/interrupts.S b/arch/arm/kvm/interrupts.S index 8ca87ab..a8e0c2d 100644

[PATCH 3.8-stable] GFS2: Fix unlock of fcntl locks during withdrawn state

2013-04-10 Thread Jonghwan Choi
ll only be local, since the node has withdrawn from the cluster. This prevents triggering a VFS level bug trap due to locks remaining when a file is closed. Signed-off-by: Steven Whitehouse Signed-off-by: Jonghwan Choi --- fs/gfs2/file.c |5 - 1 file changed, 4 insertions(+), 1 deletio

[PATCH 3.8-stable] GFS2: return error if malloc failed in gfs2_rs_alloc()

2013-04-10 Thread Jonghwan Choi
c() always return 0. Fix to return 'error'. Signed-off-by: Wei Yongjun Signed-off-by: Steven Whitehouse Signed-off-by: Jonghwan Choi --- fs/gfs2/rgrp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index b7eff07..9afba3d6 100644

[PATCH 3.8-stable] net: count hw_addr syncs so that unsync works properly.

2013-04-10 Thread Jonghwan Choi
nced" as a count (same as refcount) and allow all unsync calls to work. Signed-off-by: Vlad Yasevich Signed-off-by: David S. Miller Signed-off-by: Jonghwan Choi --- include/linux/netdevice.h |2 +- net/core/dev_addr_lists.c |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(

[RESEND PATCH 3.8-stable] ARM: EXYNOS: Fix crash on soft reset on EXYNOS5440

2013-04-07 Thread Jonghwan Choi
writing to the soft-reset controller register. Signed-off-by: Thomas Abraham Signed-off-by: Girish K S Signed-off-by: Kukjin Signed-off-by: Jonghwan Choi --- arch/arm/mach-exynos/common.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/commo

[RESEND PATCH 3.8-stable] cpufreq: exynos: Get booting freq value in exynos_cpufreq_init

2013-04-07 Thread Jonghwan Choi
This patch looks like it should be in the 3.8-stable tree, should we applyit? -- From: "Jonghwan Choi " commit 6e45eb12fd1c741d556bf264ee98853b5f3104e5 upstream Boot_freq is for saving booting freq. But exynos_cpufreq_cpu_init is called in hotplug. If boot_freq is

[PATCH 3.8-stable] bonding: remove sysfs before removing devices

2013-04-07 Thread Jonghwan Choi
st removing the sysfs and only after that calling rtnl_link_unregister(). Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller Signed-off-by: Jonghwan Choi --- drivers/net/bonding/bond_main.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bondin

[PATCH 3.8-stable] ARM: EXYNOS: Fix crash on soft reset on EXYNOS5440

2013-04-04 Thread Jonghwan Choi
ned-off-by: Thomas Abraham Signed-off-by: Girish K S Signed-off-by: Kukjin Signed-off-by: Jonghwan Choi --- arch/arm/mach-exynos/common.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index 1a89824..3b6de7a 10

[PATCH 3.8-stable] cpufreq: exynos: Get booting freq value in exynos_cpufreq_init

2013-04-04 Thread Jonghwan Choi
This patch looks like it should be in the 3.8-stable tree, should we apply it? -- From: "Jonghwan Choi " Boot_freq is for saving booting freq. But exynos_cpufreq_cpu_init is called in hotplug. If boot_freq is existed in exynos_cpufreq_cpu_init, boot_freq could

[PATCH 3.8-stable] thermal: return an error on failure to register thermal

2013-04-02 Thread Jonghwan Choi
3.8-stable review patch. If anyone has any objections, please let me know. -- From: "Richard Guy Briggs " commit da28d966f6aa942ae836d09729f76a1647932309 upstream. The return code from the registration of the thermal class is used to unallocate resources, but this failure isn't

RE: [PATCH 3.8-stable] regulator: core: Log when a device causes a voltage

2013-04-02 Thread Jonghwan Choi
stable] regulator: core: Log when a device causes > a voltage > > On Tue, Apr 02, 2013 at 01:39:06PM -0700, Russ Dill wrote: > > On 04/02/2013 01:02 PM, Greg KH wrote: > > > On Tue, Apr 02, 2013 at 06:30:42PM +0900, Jonghwan Choi wrote: > > >> 3.8-stable revie

[PATCH 3.8-stable] regulator: core: Log when a device causes a voltage

2013-04-02 Thread Jonghwan Choi
ould potentially read memory from anywhere causing a panic. This patch instead uses rdev and the updated min/max uV values. Signed-off-by: Russ Dill Signed-off-by: Mark Brown Signed-off-by: Jonghwan Choi --- drivers/regulator/core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 2/2] pinctrl: exynos5440: Fix compile error in pinctrl-exynos5440/samsung.c

2012-12-16 Thread Jonghwan Choi
error: drivers/pinctrl/pinctrl-exynos5440.o: multiple definition of 'pcfgs' drivers/pinctrl/pinctrl-samsung.o: previous definition here Signed-off-by: Jonghwan Choi --- drivers/pinctrl/pinctrl-exynos5440.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drive

[PATCH 1/2] pinctrl: samsung: Fix compile error in pinctrl-exynos5440/samsung.c

2012-12-16 Thread Jonghwan Choi
error: drivers/pinctrl/pinctrl-exynos5440.o: multiple definition of 'pcfgs' drivers/pinctrl/pinctrl-samsung.o: previous definition here Signed-off-by: Jonghwan Choi --- drivers/pinctrl/pinctrl-samsung.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drive

RE: [RFC PATCH] ARM: EXYNOS5: Support Exynos5-bus devfreq driver

2012-12-10 Thread Jonghwan Choi
Hi Abhilash Kesavan. > + /* Change Divider - LEX */ > + tmp = __raw_readl(EXYNOS5_CLKDIV_LEX); > + > + tmp &= ~(EXYNOS5_CLKDIV_LEX_ATCLK_LEX_MASK | > + EXYNOS5_CLKDIV_LEX_PCLK_LEX_MASK); > + > + tmp |= int_freq[div_index].clk_div_lex; > + > + __raw_writel(tmp, EXYN

RE: [PATCH RFC] PM/Devfreq: Add Exynos5-bus devfreq driver for Exynos5250.

2012-12-04 Thread Jonghwan Choi
samsung.com; jhbird.c...@samsung.com > Subject: [PATCH RFC] PM/Devfreq: Add Exynos5-bus devfreq driver for > Exynos5250. > > Exynos5-bus device devfreq driver monitors PPMU counters and > adjusts operating frequencies and voltages with OPP. ASV should > be used to provide appropria

[PATCH 2/2] thermal: exynos: Add error handling for temperature code

2012-11-27 Thread Jonghwan Choi
If temperature code is invalid, it should be handled. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c index dc2ad6c..78c5c08

[PATCH 1/2] thermal: exynos: Check the range of temperature code

2012-11-27 Thread Jonghwan Choi
The temperature code should range between 46 and 146. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c | 21 ++--- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c index 6dd29e4

[PATCH v4 2/2] therma: exynos: Supports thermal tripping

2012-11-25 Thread Jonghwan Choi
TMU urgently sends active-high signal (thermal trip) to PMU, and thermal tripping by hardware logic i.e PMU is performed. Thermal tripping means that PMU cut off the whole power of SoC by controlling external voltage regulator. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c

[PATCH v4 1/2] thermal: exynos: Fix wrong bit to control tmu core

2012-11-25 Thread Jonghwan Choi
[0]bit is used to enable/disable tmu core. [1] bit is a reserved bit. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c | 16 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c

RE: [PATCH v3 2/2] therma: exynos: Supports thermal tripping

2012-11-22 Thread Jonghwan Choi
l tripping by hardware logic i.e PMU (Power Management Unit) is performed. (From TMU document.) Trigger_leves[3] is only used for THERM_TRIP. Trigger_levels3_en doesn't effect h/w tripping mode. So i think trigger_levels[3] is better than trigger_level3_en. Thanks~~^^ > -Origi

[PATCH v3 2/2] therma: exynos: Supports thermal tripping

2012-11-19 Thread Jonghwan Choi
TMU urgently sends active-high signal (thermal trip) to PMU, and thermal tripping by hardware logic i.e PMU is performed. Thermal tripping means that PMU cut off the whole power of SoC by controlling external voltage regulator. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c

[PATCH v3 1/2] thermal: exynos: Fix wrong bit to control tmu core

2012-11-19 Thread Jonghwan Choi
[0]bit is used to enable/disable tmu core. [1] bit is a reserved bit. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c | 16 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c

[PATCH v2 1/2] thermal: exynos: Fix wrong bit to control tmu core

2012-10-30 Thread Jonghwan Choi
[0]bit is used to enable/disable tmu core. [1] bit is a reserved bit. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c index fd03e85

[PATCH v2 2/2] therma: exynos: Supports thermal tripping

2012-10-30 Thread Jonghwan Choi
TMU urgently sends active-high signal (thermal trip) to PMU, and thermal tripping by hardware logic i.e PMU is performed. Thermal tripping means that PMU cut off the whole power of SoC by controlling external voltage regulator. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c

RE: [PATCH 2/2] therma: exynos: Supports thermal tripping

2012-10-30 Thread Jonghwan Choi
Thanks. Let me check. > -Original Message- > From: jonghwa3@samsung.com [mailto:jonghwa3@samsung.com] > Sent: Wednesday, October 31, 2012 2:06 PM > To: Jonghwan Choi > Cc: 'open list'; 'Amit Daniel Kachhap'; 'Zhang Rui'; 'Sachi

[PATCH 2/2] therma: exynos: Supports thermal tripping

2012-10-29 Thread Jonghwan Choi
TMU urgently sends active-high signal (thermal trip) to PMU, and thermal tripping by hardware logic i.e PMU is performed. Thermal tripping means that PMU cut off the whole power of SoC by controlling external voltage regulator. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c

  1   2   >