From: Pete Zaitcev <zaitcev@redhat.com>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Fwd: [PATCH] s390 (1/7): s390 arch fixes.
Date: Fri, 7 Mar 2003 18:29:14 -0500 [thread overview]
Message-ID: <20030307182914.D32569@devserv.devel.redhat.com> (raw)
In-Reply-To: <200303072001.h27K12V16864@devserv.devel.redhat.com>; from zaitcev@redhat.com on Fri, Mar 07, 2003 at 03:01:02PM -0500
> --- linux-2.5.64/arch/s390/kernel/time.c Wed Mar 5 04:28:53 2003
> +++ linux-2.5.64-s390/arch/s390/kernel/time.c Fri Mar 7 11:40:12 2003
> @@ -202,14 +203,14 @@
> unsigned long cr0;
> __u64 timer;
>
> + timer = jiffies_timer_cc + jiffies_64 * CLK_TICKS_PER_JIFFY;
> + S390_lowcore.jiffy_timer = timer;
> + timer += CLK_TICKS_PER_JIFFY + CPU_DEVIATION;
> + asm volatile ("SCKC %0" : : "m" (timer));
> /* allow clock comparator timer interrupt */
> asm volatile ("STCTL 0,0,%0" : "=m" (cr0) : : "memory");
> cr0 |= 0x800;
> asm volatile ("LCTL 0,0,%0" : : "m" (cr0) : "memory");
> - timer = init_timer_cc + jiffies_64 * CLK_TICKS_PER_JIFFY;
> - S390_lowcore.jiffy_timer = timer;
> - timer += CLK_TICKS_PER_JIFFY + CPU_DEVIATION;
> - asm volatile ("SCKC %0" : : "m" (timer));
> }
>
> /*
This is a good fix, I confirm it fixing my booting problem ...
on 2.4! Seriously, I can't believe it worked before.
Please send it to Marcelo, too.
-- Pete
next prev parent reply other threads:[~2003-03-07 23:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200303072001.h27K12V16864@devserv.devel.redhat.com>
2003-03-07 22:05 ` Fwd: [PATCH] s390 (1/7): s390 arch fixes Pete Zaitcev
2003-03-07 23:29 ` Pete Zaitcev [this message]
2003-03-10 8:55 Martin Schwidefsky
-- strict thread matches above, loose matches on Subject: below --
2003-03-10 9:05 Martin Schwidefsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030307182914.D32569@devserv.devel.redhat.com \
--to=zaitcev@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=schwidefsky@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox