Wizzup has quit [Quit: Lost terminal]
Wizzup has joined #linux-exynos
nighty- has joined #linux-exynos
PabloPL has joined #linux-exynos
PabloPL has quit [Quit: PabloPL]
ahajda1 has joined #linux-exynos
PabloPL has joined #linux-exynos
ahajda1 has quit [Ping timeout: 252 seconds]
ahajda1 has joined #linux-exynos
<krzk> PabloPL: Hi, Indeed I did not think about this... let me take a look...
<krzk> PabloPL: first, I do not see the search for smp_operaitons... the ARM generic driver indeed looks for registered cpuidle methods
<krzk> but not smp operations
<krzk> where do you have the smp_operations?
PabloPL has quit [Quit: PabloPL]
PabloPL has joined #linux-exynos
<PabloPL> krzk: in arm_cpuidle_init inside arch/arm/kernel/cpuidle.c
<PabloPL> krzk: it's needed for "enable-method" (which according to docs should be optional, but then cpuidle is not working)
<PabloPL> krzk: About cpu_operations, in few other places where i've found them registered (using CPU_METHOD_OF_DECLARE) i saw that there was always smp_operations passed to this
<PabloPL> krzk: so i'm not sure if this is required (and in s5pv210 case it'll be empty) or if i shouldn't use smp_operations, how it should look
<krzk> PabloPL: in arm_cpuidle_init() you need cpuidle_method, not cpu
<krzk> this is CPUIDLE_METHOD_OF_DECLARE
<krzk> not CPU_METHOD_OF_DECLARE
<krzk> but anyway I am not sure whether cpuidle-arm is good solution for you... it is a generic ARM driver which uses DT to choose the enable-method, exactly like you mentioned
<krzk> It came from ARMv8 where the enable-method is PSCI
<krzk> The other solution - maybe easier - is just to take the exynos driver and extend it
<krzk> It is a very simple driver which calls ARM mach code for entering deeper modes - exynos_enter_lowpower()
PabloPL has quit [Quit: PabloPL]
<krzk> PabloPL: the driver will call the mach-supplied callback for entering low power mode (supplied through platform_data). See rch/arm/mach-exynos/exynos.c (and skip the coupled case).
PabloPL has joined #linux-exynos
PabloPL has quit [Client Quit]
ahajda1 has quit [Ping timeout: 246 seconds]
ahajda1 has joined #linux-exynos
PabloPL has joined #linux-exynos
<PabloPL> krzk: Ok, thanks. will look at this
PabloPL has quit [Quit: PabloPL]
ahajda1 has quit [Ping timeout: 246 seconds]
aalm has quit [Quit: xyz 2.3]
mszyprow|home has joined #linux-exynos
nighty- has quit [Quit: Disappears in a puff of smoke]
mszyprow|home has quit [Ping timeout: 244 seconds]
aalm has joined #linux-exynos
<wwilly> typically why I don't like hardkernel software, kernel panic with a fresh install of their last img...
ahajda1 has joined #linux-exynos
aalm has quit [Ping timeout: 268 seconds]
aalm has joined #linux-exynos
mszyprow|home has joined #linux-exynos
ahajda1 has quit [Ping timeout: 252 seconds]
ahajda1 has joined #linux-exynos
mszyprow|home has quit [Ping timeout: 245 seconds]
ahajda1 has quit [Ping timeout: 246 seconds]