From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: Marek Vasut <marex@denx.de>
Cc: Corentin LABBE <clabbe.montjoie@gmail.com>,
robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
rdunlap@infradead.org, maxime.ripard@free-electrons.com,
herbert@gondor.apana.org.au, davem@davemloft.net,
grant.likely@linaro.org, devicetree@vger.kernel.org,
linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org,
linux-sunxi@googlegroups.com
Subject: Re: [PATCH v3 1/4] crypto: Add Allwinner Security System crypto accelerator
Date: Sun, 22 Jun 2014 13:33:35 +0100 [thread overview]
Message-ID: <20140622123335.GE32514@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <201406221423.15193.marex@denx.de>
On Sun, Jun 22, 2014 at 02:23:15PM +0200, Marek Vasut wrote:
> On Sunday, June 22, 2014 at 01:58:08 PM, Corentin LABBE wrote:
> [...]
> > >> + * This program is free software; you can redistribute it and/or modify
> > >> + * it under the terms of the GNU General Public License as published by
> > >> + * the Free Software Foundation version 2 of the License
> > >
> > > The license text seems incomplete.
> > > [...]
> >
> > I will replace it with a simplier line "Licensed under the GPL-2."
>
> I'd suggest you to use the SPDX license identifiers then, but that's not
> something the kernel crowd agreed upon yet IIRC.Therefore , just make the text
> complete please.
Marek,
The full text of the first paragraph (in COPYING) is:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
which is deemed to be entirely sufficient; quoting the full text is
discouraged, especially when it includes the FSF address. It is also
acceptable to restrict it to version 2 only, in which case something
like this can be used:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
Of course, it's up to the author to make up their own mind at the end
of the day.
> Oh, ok, good question -- dear list, shall one use sg_page()+kmap or sg_virt()?
sg_page() + kmap() is preferred, because sg_virt() fails with highmem.
Using sg_virt() means you restrict the driver to non-highmem memory,
and if the kernel wants to place the data into a highmem page, it will
have to use bounce buffers (so it's inefficient).
What's even better is to use the scatterlist iterator, which will handle
this for you. See the sg_miter_*() functions.
--
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.
next prev parent reply other threads:[~2014-06-22 12:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-10 12:43 [PATCH v3] crypto: Add Allwinner Security System crypto accelerator LABBE Corentin
[not found] ` <1402404197-4236-1-git-send-email-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-06-10 12:43 ` [PATCH v3 1/4] " LABBE Corentin
[not found] ` <1402404197-4236-2-git-send-email-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-06-14 19:01 ` Marek Vasut
[not found] ` <201406142101.02747.marex-ynQEQJNshbs@public.gmane.org>
2014-06-22 11:58 ` Corentin LABBE
[not found] ` <53A6C4D0.1030102-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-06-22 12:23 ` Marek Vasut
2014-06-22 12:33 ` Russell King - ARM Linux [this message]
[not found] ` <20140622123335.GE32514-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2014-06-22 13:44 ` Marek Vasut
2014-06-22 13:14 ` Russell King - ARM Linux
2014-06-10 12:43 ` [PATCH v3 2/4] crypto: Update makefile and Kconfig for Security System LABBE Corentin
[not found] ` <1402404197-4236-3-git-send-email-clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-06-14 19:01 ` Marek Vasut
[not found] ` <201406142101.30546.marex-ynQEQJNshbs@public.gmane.org>
2014-06-22 11:58 ` Corentin LABBE
[not found] ` <53A6C4EE.2020400-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-06-22 12:25 ` Marek Vasut
2014-06-10 12:43 ` [PATCH v3 3/4] ARM: sun7i: dt: Add Security System to A20 SoC DTS LABBE Corentin
2014-06-10 12:43 ` [PATCH v3 4/4] ARM: sunxi: dt: Add DT bindings documentation for SUNXI Security System LABBE Corentin
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=20140622123335.GE32514@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=clabbe.montjoie@gmail.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=grant.likely@linaro.org \
--cc=herbert@gondor.apana.org.au \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=marex@denx.de \
--cc=mark.rutland@arm.com \
--cc=maxime.ripard@free-electrons.com \
--cc=pawel.moll@arm.com \
--cc=rdunlap@infradead.org \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).