From: "Gérard Roudier" <groudier@free.fr>
To: chus Medina <chuslists@hotmail.com>
Cc: <linux-kernel@vger.kernel.org>, <chus@glue.umd.edu>
Subject: Re: PCI #LOCK assertion
Date: Fri, 25 Jan 2002 00:43:20 +0100 (CET) [thread overview]
Message-ID: <20020125003124.K1588-100000@gerard> (raw)
In-Reply-To: <F4T0giSftNtzsG06vdG0001152a@hotmail.com>
On Fri, 25 Jan 2002, chus Medina wrote:
> Hola,
>
> I need to create module to perform atomic transactions through the PCI bus
> between the processor and an IDE hard disk. The PCI bus specifications 2.2
> point to the #LOCK signal to perform such a transaction. Is possible to
> assert the #LOCK signal of the PCI bus using the Linux Kernel? How? I didnt
> see any pointers in include/pci.h or anywhere in the source code.
>
> I will truly appreciate any help/pointers,
This has nothing to do with the kernel.
This only depends on your CPU and on the PCI-HOST bridge of your system.
For example, some (all?) Intel PCI-HOST bridges will translate a LOCK
prefixed memory READ to PCI into a locked PCI transaction. It is also
possible to perform a locked READ/MODIFY transaction to PCI using the
corresponding LOCK prefixed memory instruction.
I suggest you to download PCI-HOST bridge documents from Intel site and
to look into them, if obviously you are interestested in such hardware.
Just, PCI-to-PCI bridges do not carry the PCI LOCK# protocol. As a result
a subsystem relying on PCI LOCK# will not work (as expected) if PCI agents
are talking through a PCI-to-PCI bridge.
Gérard.
next prev parent reply other threads:[~2002-01-25 19:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-25 18:17 chus Medina
2002-01-24 23:43 ` Gérard Roudier [this message]
2002-01-25 18:43 ` Richard B. Johnson
2002-01-27 21:18 ` H. Peter Anvin
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=20020125003124.K1588-100000@gerard \
--to=groudier@free.fr \
--cc=chus@glue.umd.edu \
--cc=chuslists@hotmail.com \
--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
all inboxes | Powered by JetHome®