From: Dimitri Puzin <max@psycast.de>
To: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: linux-crypto@vger.kernel.org
Subject: Re: hifn_795x in Linux-2.6.27-rc7
Date: Tue, 23 Sep 2008 20:06:32 +0200 [thread overview]
Message-ID: <48D93028.20903@psycast.de> (raw)
In-Reply-To: <20080923165521.GA26513@2ka.mipt.ru>
[-- Attachment #1.1: Type: text/plain, Size: 1103 bytes --]
Evgeniy Polyakov schrieb:
> Hi Dimitri.
>
> On Mon, Sep 22, 2008 at 07:39:23PM +0200, Dimitri Puzin (max@psycast.de) wrote:
>> nommu_map_single: overflow 1fe047e00+512 of device mask ffffffff
>
> Does attached patch fix the problem?
With this patch applied it still doesn't work as expected. The overflow
messages are gone however syslog shows
[ 120.924266] hifn0: abort: c: 0, s: 1, d: 0, r: 0.
when doing cryptsetup luksFormat as in original e-mail. At this point
cryptsetup hangs and can't be killed with -SIGKILL. I've attached
SysRq-t dump of this condition.
Regards,
Dimitri Puzin
>
> diff --git a/drivers/crypto/hifn_795x.c b/drivers/crypto/hifn_795x.c
> index 81f3f95..b288bbd 100644
> --- a/drivers/crypto/hifn_795x.c
> +++ b/drivers/crypto/hifn_795x.c
> @@ -2593,7 +2593,7 @@ static int hifn_probe(struct pci_dev *pdev, const struct pci_device_id *id)
> return err;
> pci_set_master(pdev);
>
> - err = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
> + err = pci_set_dma_mask(pdev, DMA_64BIT_MASK);
> if (err)
> goto err_out_disable_pci_device;
>
[-- Attachment #1.2: sysrq.gz --]
[-- Type: application/x-gzip, Size: 10188 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
next prev parent reply other threads:[~2008-09-23 18:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-22 17:39 hifn_795x in Linux-2.6.27-rc7 Dimitri Puzin
2008-09-23 16:55 ` Evgeniy Polyakov
2008-09-23 17:39 ` Evgeniy Polyakov
2008-09-23 18:06 ` Dimitri Puzin [this message]
2008-09-23 18:18 ` Evgeniy Polyakov
2008-09-23 21:55 ` David Miller
2008-09-24 2:53 ` Evgeniy Polyakov
2008-09-24 3:01 ` Herbert Xu
2008-09-24 3:05 ` David Miller
2008-10-12 12:14 ` Herbert Xu
2008-09-24 16:40 ` Patrick McHardy
2008-09-24 17:00 ` Evgeniy Polyakov
2008-09-24 17:13 ` Patrick McHardy
2008-09-24 17:16 ` Evgeniy Polyakov
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=48D93028.20903@psycast.de \
--to=max@psycast.de \
--cc=johnpol@2ka.mipt.ru \
--cc=linux-crypto@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.