From: "Rafał Bilski" <rafalbilski@interia.pl>
To: Robert Hancock <hancockr@shaw.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] (Longhaul 1/5) PCI: Protect bus master DMA from Longhaul by rw semaphores
Date: Sat, 01 Jul 2006 20:02:51 +0200 [thread overview]
Message-ID: <44A6B8CB.3030406@interia.pl> (raw)
In-Reply-To: <44A45F92.8000904@shaw.ca>
>
> That really is a rather horrible design on their part. Who the hell at
> VIA thought this was a good idea?
>
I have asked them. Answer is: support is in north/south bridge.
This code works fine (of course "clear BM bit for each device" removed):
[...]
cx = &pr->power.states[ACPI_STATE_C3];
printk("Begin..\n"); /* Just to be sure */
preempt_disable();
local_irq_save(flags);
[...]
safe_halt(); /* Sync */
ACPI_FLUSH_CPU_CACHE();
wrmsrl(MSR_VIA_LONGHAUL, longhaul->val);
/* Invoke C3 */
inb(cx->address);
/* Dummy op - must do something useless after P_LVL3 read */
t2 = inl(acpi_fadt.xpm_tmr_blk.address);
local_irq_disable();
[...]
printk("..End\n");
30 min "hdparm -t", frequency changes at 1s interval.
CPU temperature is changing too.
Checked in Bashmark.
THIS IS WORKING.
------------------------------------------------------------------------
Najkrótsza trasa na wakacje: http://map24.interia.pl
next prev parent reply other threads:[~2006-07-01 18:03 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.lpmuYQxc6OV7Bh11JMM/FzqVWyY@ifi.uio.no>
2006-06-29 23:17 ` [PATCH] (Longhaul 1/5) PCI: Protect bus master DMA from Longhaul by rw semaphores Robert Hancock
2006-07-01 18:02 ` Rafał Bilski [this message]
2006-06-28 18:25 Rafał Bilski
2006-06-29 11:37 ` Alan Cox
2006-06-29 12:03 ` Bart Hartgers
2006-06-29 12:50 ` Rafał Bilski
2006-06-29 14:12 ` Rafał Bilski
2006-06-29 15:01 ` Bart Hartgers
2006-06-29 15:40 ` Rafał Bilski
2006-06-30 10:46 ` Bart Hartgers
2006-06-29 15:16 ` Bart Hartgers
2006-06-29 15:55 ` Alan Cox
2006-06-29 18:54 ` Rafał Bilski
2006-06-29 15:52 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2006-06-28 13:56 Rafał Bilski
2006-06-28 17:34 ` Greg KH
2006-06-28 18:03 ` Alan Cox
2006-06-28 18:00 ` Jeremy Fitzhardinge
2006-06-28 18:10 ` Dave Jones
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=44A6B8CB.3030406@interia.pl \
--to=rafalbilski@interia.pl \
--cc=hancockr@shaw.ca \
--cc=linux-kernel@vger.kernel.org \
/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