Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-18 Thread Thomas Gleixner
On Mon, 16 Oct 2017, David Kozub wrote: > On Mon, 16 Oct 2017, Thomas Gleixner wrote: > > --- a/drivers/clocksource/cs5535-clockevt.c > > +++ b/drivers/clocksource/cs5535-clockevt.c > > @@ -117,7 +117,8 @@ static irqreturn_t mfgpt_tick(int irq, void *dev_id) > > /* Turn off the clock (and

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-18 Thread Thomas Gleixner
On Mon, 16 Oct 2017, David Kozub wrote: > On Mon, 16 Oct 2017, Thomas Gleixner wrote: > > --- a/drivers/clocksource/cs5535-clockevt.c > > +++ b/drivers/clocksource/cs5535-clockevt.c > > @@ -117,7 +117,8 @@ static irqreturn_t mfgpt_tick(int irq, void *dev_id) > > /* Turn off the clock (and

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-16 Thread David Kozub
On Mon, 16 Oct 2017, Thomas Gleixner wrote: On Thu, 12 Oct 2017, David Kozub wrote: On Thu, 12 Oct 2017, Thomas Gleixner wrote: On Thu, 12 Oct 2017, Daniel Lezcano wrote: The real question is why /* Set the clock scale and enable the event mode for CMP2 */ val = MFGPT_SCALE |

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-16 Thread David Kozub
On Mon, 16 Oct 2017, Thomas Gleixner wrote: On Thu, 12 Oct 2017, David Kozub wrote: On Thu, 12 Oct 2017, Thomas Gleixner wrote: On Thu, 12 Oct 2017, Daniel Lezcano wrote: The real question is why /* Set the clock scale and enable the event mode for CMP2 */ val = MFGPT_SCALE |

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-16 Thread Thomas Gleixner
On Thu, 12 Oct 2017, David Kozub wrote: > On Thu, 12 Oct 2017, Thomas Gleixner wrote: > > On Thu, 12 Oct 2017, Daniel Lezcano wrote: > > The real question is why > > > >/* Set the clock scale and enable the event mode for CMP2 */ > >val = MFGPT_SCALE | (3 << 8); > > > >

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-16 Thread Thomas Gleixner
On Thu, 12 Oct 2017, David Kozub wrote: > On Thu, 12 Oct 2017, Thomas Gleixner wrote: > > On Thu, 12 Oct 2017, Daniel Lezcano wrote: > > The real question is why > > > >/* Set the clock scale and enable the event mode for CMP2 */ > >val = MFGPT_SCALE | (3 << 8); > > > >

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-12 Thread David Kozub
On Thu, 12 Oct 2017, Thomas Gleixner wrote: On Thu, 12 Oct 2017, Daniel Lezcano wrote: On 11/10/2017 22:48, David Kozub wrote: [ ... ] +   disable_timer(timer); +   cs5535_mfgpt_write(timer, MFGPT_REG_COUNTER, 0); +    /* Set up the IRQ on the MFGPT side */    if

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-12 Thread David Kozub
On Thu, 12 Oct 2017, Thomas Gleixner wrote: On Thu, 12 Oct 2017, Daniel Lezcano wrote: On 11/10/2017 22:48, David Kozub wrote: [ ... ] +   disable_timer(timer); +   cs5535_mfgpt_write(timer, MFGPT_REG_COUNTER, 0); +    /* Set up the IRQ on the MFGPT side */    if

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-12 Thread Thomas Gleixner
On Thu, 12 Oct 2017, Daniel Lezcano wrote: > On 11/10/2017 22:48, David Kozub wrote: > > [ ... ] > > >> > >> +   disable_timer(timer); > >> +   cs5535_mfgpt_write(timer, MFGPT_REG_COUNTER, 0); > >> + > >>    /* Set up the IRQ on the MFGPT side */ > >>    if

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-12 Thread Thomas Gleixner
On Thu, 12 Oct 2017, Daniel Lezcano wrote: > On 11/10/2017 22:48, David Kozub wrote: > > [ ... ] > > >> > >> +   disable_timer(timer); > >> +   cs5535_mfgpt_write(timer, MFGPT_REG_COUNTER, 0); > >> + > >>    /* Set up the IRQ on the MFGPT side */ > >>    if

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-12 Thread Daniel Lezcano
On 11/10/2017 22:48, David Kozub wrote: [ ... ] >> >> +   disable_timer(timer); >> +   cs5535_mfgpt_write(timer, MFGPT_REG_COUNTER, 0); >> + >>    /* Set up the IRQ on the MFGPT side */ >>    if (cs5535_mfgpt_setup_irq(timer, MFGPT_CMP2, _irq)) { >>    printk(KERN_ERR

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-12 Thread Daniel Lezcano
On 11/10/2017 22:48, David Kozub wrote: [ ... ] >> >> +   disable_timer(timer); >> +   cs5535_mfgpt_write(timer, MFGPT_REG_COUNTER, 0); >> + >>    /* Set up the IRQ on the MFGPT side */ >>    if (cs5535_mfgpt_setup_irq(timer, MFGPT_CMP2, _irq)) { >>    printk(KERN_ERR

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-11 Thread David Kozub
On Wed, 11 Oct 2017, Daniel Lezcano wrote: On 10/10/2017 23:19, David Kozub wrote: On Tue, 10 Oct 2017, Daniel Lezcano wrote: On 09/10/2017 21:33, David Kozub wrote: On Mon, 9 Oct 2017, Daniel Lezcano wrote: On 07/10/2017 23:26, David Kozub wrote: Hi all, booting up kernel 4.14-rc3 with

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-11 Thread David Kozub
On Wed, 11 Oct 2017, Daniel Lezcano wrote: On 10/10/2017 23:19, David Kozub wrote: On Tue, 10 Oct 2017, Daniel Lezcano wrote: On 09/10/2017 21:33, David Kozub wrote: On Mon, 9 Oct 2017, Daniel Lezcano wrote: On 07/10/2017 23:26, David Kozub wrote: Hi all, booting up kernel 4.14-rc3 with

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-11 Thread Daniel Lezcano
On 10/10/2017 23:19, David Kozub wrote: > On Tue, 10 Oct 2017, Daniel Lezcano wrote: > >> On 09/10/2017 21:33, David Kozub wrote: >>> On Mon, 9 Oct 2017, Daniel Lezcano wrote: >>> On 07/10/2017 23:26, David Kozub wrote: > Hi all, > > booting up kernel 4.14-rc3 with

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-11 Thread Daniel Lezcano
On 10/10/2017 23:19, David Kozub wrote: > On Tue, 10 Oct 2017, Daniel Lezcano wrote: > >> On 09/10/2017 21:33, David Kozub wrote: >>> On Mon, 9 Oct 2017, Daniel Lezcano wrote: >>> On 07/10/2017 23:26, David Kozub wrote: > Hi all, > > booting up kernel 4.14-rc3 with

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-10 Thread David Kozub
On Tue, 10 Oct 2017, Daniel Lezcano wrote: On 09/10/2017 21:33, David Kozub wrote: On Mon, 9 Oct 2017, Daniel Lezcano wrote: On 07/10/2017 23:26, David Kozub wrote: Hi all, booting up kernel 4.14-rc3 with CS5535_CLOCK_EVENT_SRC on an ALIX 2c3 (http://pcengines.ch/alix2c3.htm) dies with: [ 

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-10 Thread David Kozub
On Tue, 10 Oct 2017, Daniel Lezcano wrote: On 09/10/2017 21:33, David Kozub wrote: On Mon, 9 Oct 2017, Daniel Lezcano wrote: On 07/10/2017 23:26, David Kozub wrote: Hi all, booting up kernel 4.14-rc3 with CS5535_CLOCK_EVENT_SRC on an ALIX 2c3 (http://pcengines.ch/alix2c3.htm) dies with: [ 

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-10 Thread Daniel Lezcano
On 09/10/2017 21:33, David Kozub wrote: > On Mon, 9 Oct 2017, Daniel Lezcano wrote: > >> On 07/10/2017 23:26, David Kozub wrote: >>> Hi all, >>> >>> booting up kernel 4.14-rc3 with CS5535_CLOCK_EVENT_SRC on an ALIX 2c3 >>> (http://pcengines.ch/alix2c3.htm) dies with: >>> >>> [    2.313086]

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-10 Thread Daniel Lezcano
On 09/10/2017 21:33, David Kozub wrote: > On Mon, 9 Oct 2017, Daniel Lezcano wrote: > >> On 07/10/2017 23:26, David Kozub wrote: >>> Hi all, >>> >>> booting up kernel 4.14-rc3 with CS5535_CLOCK_EVENT_SRC on an ALIX 2c3 >>> (http://pcengines.ch/alix2c3.htm) dies with: >>> >>> [    2.313086]

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-09 Thread David Kozub
On Mon, 9 Oct 2017, Daniel Lezcano wrote: On 07/10/2017 23:26, David Kozub wrote: Hi all, booting up kernel 4.14-rc3 with CS5535_CLOCK_EVENT_SRC on an ALIX 2c3 (http://pcengines.ch/alix2c3.htm) dies with: [    2.313086] cs5535-smb cs5535-smb: SCx200 device 'CS5535 ACB0' registered [   

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-09 Thread David Kozub
On Mon, 9 Oct 2017, Daniel Lezcano wrote: On 07/10/2017 23:26, David Kozub wrote: Hi all, booting up kernel 4.14-rc3 with CS5535_CLOCK_EVENT_SRC on an ALIX 2c3 (http://pcengines.ch/alix2c3.htm) dies with: [    2.313086] cs5535-smb cs5535-smb: SCx200 device 'CS5535 ACB0' registered [   

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-09 Thread Daniel Lezcano
On 07/10/2017 23:26, David Kozub wrote: > Hi all, > > booting up kernel 4.14-rc3 with CS5535_CLOCK_EVENT_SRC on an ALIX 2c3 > (http://pcengines.ch/alix2c3.htm) dies with: > > [    2.313086] cs5535-smb cs5535-smb: SCx200 device 'CS5535 ACB0' > registered > [    2.338711] cs5535-mfgpt

Re: PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-09 Thread Daniel Lezcano
On 07/10/2017 23:26, David Kozub wrote: > Hi all, > > booting up kernel 4.14-rc3 with CS5535_CLOCK_EVENT_SRC on an ALIX 2c3 > (http://pcengines.ch/alix2c3.htm) dies with: > > [    2.313086] cs5535-smb cs5535-smb: SCx200 device 'CS5535 ACB0' > registered > [    2.338711] cs5535-mfgpt

PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-07 Thread David Kozub
Hi all, booting up kernel 4.14-rc3 with CS5535_CLOCK_EVENT_SRC on an ALIX 2c3 (http://pcengines.ch/alix2c3.htm) dies with: [2.313086] cs5535-smb cs5535-smb: SCx200 device 'CS5535 ACB0' registered [2.338711] cs5535-mfgpt cs5535-mfgpt: registered timer 0 [2.355676] ledtrig-cpu:

PROBLEM: Kernel BUG in mfgpt_tick (cs5535-clockevt.c) on ALIX 2c3 - null call

2017-10-07 Thread David Kozub
Hi all, booting up kernel 4.14-rc3 with CS5535_CLOCK_EVENT_SRC on an ALIX 2c3 (http://pcengines.ch/alix2c3.htm) dies with: [2.313086] cs5535-smb cs5535-smb: SCx200 device 'CS5535 ACB0' registered [2.338711] cs5535-mfgpt cs5535-mfgpt: registered timer 0 [2.355676] ledtrig-cpu: