Fix typo in checking error value of cap_get_proc(): cap - caps
Signed-off-by: Sergei Zviagintsev ser...@s15v.net
---
tools/testing/selftests/kdbus/kdbus-util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/kdbus/kdbus-util.c
Set value of `size' in one step instead of four.
Signed-off-by: Sergei Zviagintsev ser...@s15v.net
---
tools/testing/selftests/kdbus/kdbus-util.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/tools/testing/selftests/kdbus/kdbus-util.c
Handle errors properly, free allocated resources.
Signed-off-by: Sergei Zviagintsev ser...@s15v.net
---
tools/testing/selftests/kdbus/kdbus-util.c | 31 ++
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/tools/testing/selftests/kdbus/kdbus-util.c
Do not initialize efd, unpriv_conn_id, userns_conn_id and monitor. These
vars are assigned to values later in code while initial values are never
used.
Signed-off-by: Sergei Zviagintsev ser...@s15v.net
---
tools/testing/selftests/kdbus/test-metadata-ns.c | 9 +++--
1 file changed, 3
Assign returned file descriptor directly to `fd', without intermediate
`ret' variable.
Signed-off-by: Sergei Zviagintsev ser...@s15v.net
---
tools/testing/selftests/kdbus/kdbus-util.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git
On Wed, Jun 17, 2015 at 10:10:51PM +0800, Eddie Huang wrote:
Our hardware limitation is: we don't have separate dma tx, rx channel
with transfer finish interrupt, only have spi trigger operation.So the
mediatek SPI dma full duplex operation steps are:
1. Set TX DMA address.
2. Set RX DMA
In kernel/acct.c we call the cmpxchg() macro without using it's
return value, so the compiler complains when compiling for ARM:
kernel/acct.c: In function 'acct_pin_kill':
arch/arm/include/asm/cmpxchg.h:205:3: warning: value computed is not used
[-Wunused-value]
On Wed, Jun 17, 2015 at 05:49:27PM +0200, Peter Zijlstra wrote:
On Wed, Jun 17, 2015 at 07:57:12AM -0700, Paul E. McKenney wrote:
On Wed, Jun 17, 2015 at 02:29:24PM +0200, Peter Zijlstra wrote:
I did leave off the READ/WRITE ONCE stuff, because I could not come up
with a scenario where it
On 17/06/2015 18:34, Michael S. Tsirkin wrote:
On Wed, Jun 17, 2015 at 06:31:32PM +0200, Paolo Bonzini wrote:
On 17/06/2015 18:30, Michael S. Tsirkin wrote:
Meanwhile old tools are vulnerable to OOM attacks.
For each vhost device there will be likely one tap interface, and I
suspect that
On Wed, Jun 17, 2015 at 06:38:25PM +0200, Paolo Bonzini wrote:
On 17/06/2015 18:34, Michael S. Tsirkin wrote:
On Wed, Jun 17, 2015 at 06:31:32PM +0200, Paolo Bonzini wrote:
On 17/06/2015 18:30, Michael S. Tsirkin wrote:
Meanwhile old tools are vulnerable to OOM attacks.
For each
Fix checkpatch error about initialize globals to 0.
Signed-off-by: Peter Karlsson peter.p.karls...@svt.se
---
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
I am 45years old male, from United State, Currently in Syria for Peace keeping,
I work for US Army, I would love to know you more better and that is only if
you do not mind. I am an easy going man that wants to be loved and i believe
that is not too much to ask. Can you tell me something about
Fixes two checkpatch style issues.
Peter Karlsson (2):
staging: ft1000-usb: Removed unnecessary parenthes.
staging: ft1000-usb: Removed global initialization.
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
1.9.1
--
To
On Wed, Jun 17, 2015 at 07:57:12AM -0700, Paul E. McKenney wrote:
On Wed, Jun 17, 2015 at 02:29:24PM +0200, Peter Zijlstra wrote:
I did leave off the READ/WRITE ONCE stuff, because I could not come up
with a scenario where it makes a difference -- I appreciate paranoia,
but I also think we
On 06/17/2015 06:38 AM, Ludovic Desroches wrote:
Hi Stephen,
On Mon, Jun 15, 2015 at 09:58:05AM -0600, Stephen Warren wrote:
On 06/10/2015 09:04 AM, Ludovic Desroches wrote:
When having a controller which allows per pin muxing, declaring with
which groups a function can be used is a useless
On Wed, 17 Jun 2015 17:34:02 +0200
Boris Brezillon boris.brezil...@free-electrons.com wrote:
On Wed, 17 Jun 2015 23:08:08 +0800
Herbert Xu herb...@gondor.apana.org.au wrote:
On Wed, Jun 17, 2015 at 03:32:02PM +0200, Boris Brezillon wrote:
Hi Herbert,
I send you this patch alone
Em Wed, Jun 17, 2015 at 08:41:52PM +0800, Wangnan (F) escreveu:
This patch has already acked-by Jiri Olsa on March, but I lost the original
email on my local mailbox, so send it again.
Couldn't find the Ack, or the first submission, anyway, applying it now,
Thanks,
- Arnaldo
Thank you.
On 6/17/15 1:56 AM, kan.li...@intel.com wrote:
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c
index 793b150..ac6cf2a 100644
--- a/tools/perf/util/event.c
+++ b/tools/perf/util/event.c
@@ -213,6 +213,8 @@ static int perf_event__synthesize_fork(struct perf_tool
*tool,
On 06/17/2015 02:14 AM, Herbert Xu wrote:
This patch set introduces a Public Key Encryption API.
What is proposed is a new crypto type called crypto_akcipher_type,
plus new struct akcipher_alg and struct crypto_akcipher, together with
number
of helper functions to register akcipher type
On Wed, Jun 17, 2015 at 4:34 PM, Francois-Nicolas Muller
francois-nicolas.mul...@intel.com wrote:
First of all it would be nice to start a new thread per iteration.
Use TCO watchdog first timeout (pretimeout) to dump CPU backtraces
and ease debug of watchdog expiration causes.
On Intel
On Wed, 17 Jun 2015 17:38:40 +0200
Michael S. Tsirkin m...@redhat.com wrote:
On Wed, Jun 17, 2015 at 05:12:57PM +0200, Igor Mammedov wrote:
On Wed, 17 Jun 2015 16:32:02 +0200
Michael S. Tsirkin m...@redhat.com wrote:
On Wed, Jun 17, 2015 at 03:20:44PM +0200, Paolo Bonzini wrote:
On 15/06/2015 10:55, Xiao Guangrong wrote:
+ /* add it to the list if it's valid. */
+ if (var_mtrr_range_is_valid(mtrr_state-var_ranges[index])) {
+ list_for_each_entry(tmp, mtrr_state-head, node)
+ if (cur-base tmp-base)
+
On Wed, 2015-06-17 at 17:00 +0200, Alexander Sverdlin wrote:
You do not see the platform_device, because there are no users yet, put
this MODULE_ALIAS() is perfectly fine, it will allow automatic module loading
in non-DT case.
Do you mean that it will allow automatic module loading once the
Hi Jonas,
-Original Message-
From: Jonas Gorski [mailto:j...@openwrt.org]
Sent: 17 June 2015 15:31
To: Sifan Naeem
Cc: Mark Brown; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;
Andrew Bresticker
Subject: Re: [PATCH v2] spi: img-spfi: Same Edge bit set to double supported
On Wed, 2015-06-17 at 11:52AM -0400, Nicholas Krause wrote:
This removes the unused variable num_frag and the setting of it
to the number of fragments from the passed sk_buff pointer by
this function's caller due to this variable never being used
in this particular function and is not declared
Beginning at commit d52d3997f843 (ipv6: Create percpu rt6_info), the
following INFO splat is logged:
===
[ INFO: suspicious RCU usage. ]
4.1.0-rc7-next-20150612 #1 Not tainted
---
kernel/sched/core.c:7318 Illegal context switch in RCU-bh
Add last missing line in commit cdd9eefdf905
(fs/ufs: restore s_lock mutex)
Signed-off-by: Fabian Frederick f...@skynet.be
---
Second part of the patch with 2 fixes was not applied.
Meanwhile, Al already fixed remount().
fs/ufs/super.c | 1 +
1 file changed, 1 insertion(+)
diff --git
Hi Waldemar,
On 17/06/15 15:42, Waldemar Brodkorb wrote:
> Hi Greg,
> Greg Ungerer wrote,
>>
>> I don't have any compile (or runtime) problems with m5208evb_defconfig
>> on linux-4.0.5 either. That is close to what most people use with qemu.
>> What .config are you using?
>
> Are you sure the
> }
> - if (error == -ENOSPC && !once++) {
> + if (error == -ENOSPC) {
> + if (!once++) {
> info = SHMEM_I(inode);
> spin_lock(>lock);
> shmem_recalc_inode(inode);
> spin_unlock(>lock);
>
Patch report descriptor to remove unused and ramdomly changing axis.
Original report descriptor (via BT) was as follows:
05 01 09 04 a1 01 a1 02 85 01 75 08 95 01 15 00 |..u.|
0010 26 ff 00 81 03 75 01 95 13 15 00 25 01 35 00 45 |&u.%.5.E|
0020 01 05 09
Signed-off-by: Simon Wood
---
drivers/hid/hid-sony.c | 41 +
1 file changed, 33 insertions(+), 8 deletions(-)
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c
index 3fba2dca..af02139 100644
--- a/drivers/hid/hid-sony.c
+++
Signed-off-by: Simon Wood
---
drivers/hid/hid-core.c | 1 +
drivers/hid/hid-sony.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 044e96a..a64f862 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1962,6 +1962,7 @@
Li Zhang [zhlci...@linux.vnet.ibm.com] wrote:
| When using command perf report --kallsyms=/proc/kallsyms with a non-root
| user, symbols are resolved. Then select one symbol and annotate it, it
| reports the error as the following:
| Can't annotate __clear_user: No vmlinux file with build id xxx
On Tue, 2015-06-16 at 10:54 -0700, Kees Cook wrote:
> This imports the existing seccomp test suite into the kernel's selftests
> tree. It contains extensive testing of seccomp features and corner cases.
> There remain additional tests to move into the kernel tree, but they have
> not yet been
On Tue, Jun 16, 2015 at 4:09 PM, Beata Michalska
wrote:
> Add support for generic FS events including threshold
> notifications, ENOSPC and remount as read-only warnings,
> along with generic internal warnings/errors.
>
> Signed-off-by: Beata Michalska
> ---
> fs/ext4/balloc.c | 10
On Tue, Jun 16, 2015 at 7:12 PM, Nicholas Krause wrote:
> This makes the function be_get_sriov_config have a return type of
> void now due to never signaling/nor its only caller the function
> be_alloc_sriov_res checking if this function has returned a
> error code to indicate this particular
Hi,
The commit:
commit d72da4a4d973d8a0a0d3c97e7cdebf287fbe3a99
Author: Peter Zijlstra
Date: Wed May 27 11:09:36 2015 +0930
rbtree: Make lockless searches non-fatal
Adds to rbtree.h, which in turn is included from perf
userspace
headers. Now building tools/perf will fail with hundreds
On Wed, Jun 17, 2015 at 10:06:01AM +0530, Maninder Singh wrote:
> Use BUG_ON(condition) instead of if(condition)/BUG() .
>
> Signed-off-by: Maninder Singh
> Reviewed-by: Akhilesh Kumar
Why not?
Acked-by: Michael S. Tsirkin
> ---
> net/packet/af_packet.c |3 +--
> 1 files changed, 1
On Wed, Jun 17, 2015 at 12:19:15AM +0200, Igor Mammedov wrote:
> On Tue, 16 Jun 2015 23:16:07 +0200
> "Michael S. Tsirkin" wrote:
>
> > On Tue, Jun 16, 2015 at 06:33:34PM +0200, Igor Mammedov wrote:
> > > Series extends vhost to support upto 509 memory regions,
> > > and adds some
On Wed, Jun 17, 2015 at 12:00:56AM +0200, Igor Mammedov wrote:
> On Tue, 16 Jun 2015 23:14:20 +0200
> "Michael S. Tsirkin" wrote:
>
> > On Tue, Jun 16, 2015 at 06:33:37PM +0200, Igor Mammedov wrote:
> > > since commit
> > > 1d4e7e3 kvm: x86: increase user memory slots to 509
> > >
> > > it
The added sysfs interface /sys/kernel/livepatch/state is read-only,
it shows the patches that have been applied, incluing the stack index
and the state of each patch.
$ cat /sys/kernel/livepatch/state
Index Patch State
---
1
Hi
I'm trying to understand the reason of this failure. I'm running a
3.0.x kernel but I have seen that there are not so much differents in proc
fs. Anyone have an idea what could be the reason and where this unlock happen?
Michael
[10669.296142] BUG: spinlock bad magic on CPU#0, top/11656
On Wed, Jun 17, 2015 at 7:59 AM, Konstantin Khlebnikov wrote:
> On Wed, Jun 17, 2015 at 12:29 AM, Andrew Morton
> wrote:
>> On Mon, 15 Jun 2015 08:56:49 +0300 Konstantin Khlebnikov
>> wrote:
>>
>>> This patch removes page-shift bits (scheduled to remove since 3.11) and
>>> completes migration
Le Wednesday 17 June 2015 à 03:05 +0200, Nicolai Stange a écrit :
> Fix an allmodconfig compilation failer on microblaze due to big endian
> architectures being apparently unsupported by the NetJet code:
> drivers/isdn/hisax/nj_s.c: In function 'setup_netjet_s':
>
tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ca3cfaa9e7db530b14e4a2d98a9310130152fdb8
commit: 1da60a5e7198c716990ac6fa508e45e27e7067c0 [11893/11947] Merge
remote-tracking branch 'leds/for-next'
reproduce:
# apt-get install sparse
git checkout
Signed-off-by: Fengguang Wu
---
leds-aat1290.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/leds/leds-aat1290.c b/drivers/leds/leds-aat1290.c
index 1ac525b4..fd7c25f 100644
--- a/drivers/leds/leds-aat1290.c
+++ b/drivers/leds/leds-aat1290.c
@@ -394,7 +394,7
This patch fixes a number of problems in crypto driver Kconfig
entries:
1. Select BLKCIPHER instead of BLKCIPHER2. The latter is internal
and should not be used outside of the crypto API itself.
2. Do not select ALGAPI unless you use a legacy type like
CRYPTO_ALG_TYPE_CIPHER.
3. Select the
+CC linux-arch, linux-mm, Arnd and Marek
On Tuesday 16 June 2015 11:11 PM, Alexey Brodkin wrote:
Current implementtion of descriptor init procedure only takes care about
ownership flag. While it is perfectly possible to have underlying memory
filled with garbage on boot or driver installation.
Hello,
On (06/16/15 23:47), Minchan Kim wrote:
[..]
>
> I like the idea but still have a concern to lack of fragmented zspages
> during memory pressure because auto-compaction will prevent fragment
> most of time. Surely, using fragment space as buffer in heavy memory
> pressure is not intened
From: GongZhaogang
By analysing the bug function call trace,we find that create_worker function
will alloc the memory from node0.Because node0 is offline,the allocation is
failed.Then we add a condition to ensure the node is online and
system can alloc memory from a node that is online.
Follow
On Fri, May 22, 2015 at 11:45 PM, Dave Gerlach wrote:
> Hi,
> This patch series is v4 of the series to add a wkup_m3_rproc driver
> for TI AM335xi and AM437x SoCs. This family of SoCs contains an ARM
> Cortex M3 coprocessor that is responsible for low-level power tasks
> that cannot be handled by
On Wed, 17 Jun 2015 13:56:33 +0800
Herbert Xu wrote:
> On Wed, Jun 17, 2015 at 01:05:27PM +0800, Herbert Xu wrote:
> > On Tue, Jun 16, 2015 at 11:58:59AM +0200, Boris Brezillon wrote:
> > >
> > > + ret = dma_map_sg(cesa_dev->dev, req->src, creq->src_nents,
> > > +
On Wed, 17 Jun 2015 13:58:24 +0800
Herbert Xu wrote:
> On Tue, Jun 16, 2015 at 11:58:58AM +0200, Boris Brezillon wrote:
> >
> > +config CRYPTO_DEV_MARVELL_CESA
> > + tristate "New Marvell's Cryptographic Engine driver"
> > + depends on (PLAT_ORION || ARCH_MVEBU || COMPILE_TEST) && HAS_DMA &&
On Wed, Jun 17, 2015 at 09:15:03AM +0200, Boris Brezillon wrote:
>
> Anyway, now I'm doing the following test:
>
> if (creq->src_nents && !ret)
> return -ENOMEM;
Best not call dma_map_sg at all in the !src_nents case as I think
some architectures will WARN or BUG if you give it a
On Tue 16-06-15 20:43:34, Darren Hart wrote:
[...]
> Michal - thanks for the context.
>
> I'm surprised by your recommendation to use __free_page() out here in platform
> driver land.
>
> I'd also prefer that the driver consistently free the same address to avoid
> confusion.
>
> For these
X-Gene clocks implement it's name in the clock private struct.
This is a duplication of the name field. We can delete the field
and rely on the common implementation to retrieve the name.
Signed-off-by: Matthias Brugger
---
drivers/clk/clk-xgene.c | 28 +---
1 file
Hi,
Your subject got cut short, I guess.
On Wed, Jun 17, 2015 at 5:22 PM, gongzg wrote:
> From: GongZhaogang
>
> By analysing the bug function call trace,we find that create_worker function
> will alloc the memory from node0.Because node0 is offline,the allocation is
> failed.Then we add a
On Mon, Jun 15, 2015 at 05:49:59PM +1000, Alexey Kardashevskiy wrote:
> The pnv_pci_ioda2_unset_window() function is used to do the final
> cleanup of a DMA window being released:
> - via VFIO ioctl by the guest request;
> - via unplugging a virtual PCI function.
> However the function was under
On 06/04/2015 02:45 AM, Gu Zheng wrote:
> The following lockdep warning occurrs when running with latest kernel:
> [3.178000] [ cut here ]
> [3.183000] WARNING: CPU: 128 PID: 0 at kernel/locking/lockdep.c:2755
> lockdep_trace_alloc+0xdd/0xe0()
> [3.193000]
On Wed, 17 Jun 2015 08:34:26 +0200
"Michael S. Tsirkin" wrote:
> On Wed, Jun 17, 2015 at 12:00:56AM +0200, Igor Mammedov wrote:
> > On Tue, 16 Jun 2015 23:14:20 +0200
> > "Michael S. Tsirkin" wrote:
> >
> > > On Tue, Jun 16, 2015 at 06:33:37PM +0200, Igor Mammedov wrote:
> > > > since commit
>
On Tue, 2015-06-16 at 10:54 -0700, Kees Cook wrote:
> This imports the existing seccomp test suite into the kernel's selftests
> tree. It contains extensive testing of seccomp features and corner cases.
> There remain additional tests to move into the kernel tree, but they have
> not yet been
On Wed, 17 Jun 2015 08:31:23 +0200
"Michael S. Tsirkin" wrote:
> On Wed, Jun 17, 2015 at 12:19:15AM +0200, Igor Mammedov wrote:
> > On Tue, 16 Jun 2015 23:16:07 +0200
> > "Michael S. Tsirkin" wrote:
> >
> > > On Tue, Jun 16, 2015 at 06:33:34PM +0200, Igor Mammedov wrote:
> > > > Series extends
From: GongZhaogang
By analysing the bug function call trace,we find that create_worker function
will alloc the memory from node0.Because node0 is offline,the allocation is
failed.Then we add a condition to ensure the node is online and
system can alloc memory from a node that is online.
Follow
On Wed, Jun 17, 2015 at 6:36 AM, Maninder Singh wrote:
> Use BUG_ON(condition) instead of if(condition)/BUG() .
>
> Signed-off-by: Maninder Singh
> Reviewed-by: Akhilesh Kumar
> ---
> net/packet/af_packet.c |3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git
On Wed, 17 Jun 2015 15:18:29 +0800
Herbert Xu wrote:
> On Wed, Jun 17, 2015 at 09:15:03AM +0200, Boris Brezillon wrote:
> >
> > Anyway, now I'm doing the following test:
> >
> > if (creq->src_nents && !ret)
> > return -ENOMEM;
>
> Best not call dma_map_sg at all in the !src_nents case as I
On Wed, Jun 17, 2015 at 09:28:02AM +0200, Igor Mammedov wrote:
> On Wed, 17 Jun 2015 08:34:26 +0200
> "Michael S. Tsirkin" wrote:
>
> > On Wed, Jun 17, 2015 at 12:00:56AM +0200, Igor Mammedov wrote:
> > > On Tue, 16 Jun 2015 23:14:20 +0200
> > > "Michael S. Tsirkin" wrote:
> > >
> > > > On
On Wed, Jun 17, 2015 at 09:33:57AM +0200, Igor Mammedov wrote:
> On Wed, 17 Jun 2015 08:31:23 +0200
> "Michael S. Tsirkin" wrote:
>
> > On Wed, Jun 17, 2015 at 12:19:15AM +0200, Igor Mammedov wrote:
> > > On Tue, 16 Jun 2015 23:16:07 +0200
> > > "Michael S. Tsirkin" wrote:
> > >
> > > > On
> On Tue, Jun 9, 2015 at 12:53 AM, Dov Levenglick
> wrote:
>>> On Sun, Jun 7, 2015 at 10:32 AM, wrote:
> 2015-06-05 5:53 GMT+09:00 :
>
> [...]
>
If ufshcd-pltfrm driver is loaded before ufs-qcom, (what actually
happens
always), then the calling to of_platform_populate()
On Wed, Jun 17, 2015 at 9:38 AM, gongzhaog...@inspur.com
wrote:
> Yes. I am wrong and send again.
>
> Subject: [PATCH] Hotplug: fix the bug that the system is down,when memory
> is not in node0 and cpu is logically hotadded.
You might want to shorten it a bit in any
The mv_cesa driver currently expects the SRAM memory region to be passed
as a platform device resource.
This approach implies two drawbacks:
- the DT representation is wrong
- the only one that can access the SRAM is the crypto engine
The last point is particularly annoying in some cases: for
Hello,
This patch series adds a new driver supporting Marvell's CESA IP.
This driver addresses some limitations of the existing one.
>From a performance and CPU load point of view the most important
limitation in the existing driver is the lack of DMA support, thus
preventing us from chaining
The existing mv_cesa driver supports some features of the CESA IP but is
quite limited, and reworking it to support new features (like involving the
TDMA engine to offload the CPU) is almost impossible.
This driver has been rewritten from scratch to take those new features into
account.
This
We are about to add a new driver to support new features like using the
TDMA engine to offload the CPU.
Orion, Dove and Kirkwood platforms are already using the mv_cesa driver,
but Orion SoCs do not embed the TDMA engine, which means we will have to
differentiate them if we want to get TDMA
On Dove platforms, the crypto engine requires a clock. Document this
clocks property in the mv_cesa bindings doc.
Signed-off-by: Boris Brezillon
---
Documentation/devicetree/bindings/crypto/mv_cesa.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git
The old and new marvell CESA drivers both support Orion and Kirkwood SoCs.
Add a module parameter to choose whether these SoCs should be attached to
the new or the old driver.
The default policy is to keep attaching those IPs to the old driver if it
is enabled, until we decide the new CESA driver
On Mon 15-06-15 13:03:22, Davidlohr Bueso wrote:
> The shrinker_rwsem is a global lock that protects the shrinker_list,
> serializing a shrinking call with register/unregistering the shrinker
> itself. As such, this lock is taken mostly for reading. In the unlikely
> case that the the list is
Add the Orion SoC description, and select this implementation by default
to support non-DT probing: Orion is the only platform where non-DT boards
are declaring the CESA block.
Control the allhwsupport module parameter to avoid probing the CESA IP when
the old CESA driver is enabled (unless it is
From: Arnaud Ebalard
Add support for Triple-DES operations.
Signed-off-by: Arnaud Ebalard
Signed-off-by: Boris Brezillon
---
drivers/crypto/marvell/cesa.c | 2 +
drivers/crypto/marvell/cesa.h | 2 +
drivers/crypto/marvell/cipher.c | 147
3
The CESA IP supports CPU offload through a dedicated DMA engine (TDMA)
which can control the crypto block.
When you use this mode, all the required data (operation metadata and
payload data) are transferred using DMA, and the results are retrieved
through DMA when possible (hash results are not
On 17/06/2015 02:36, Andy Lutomirski wrote:
> __pvclock_read_cycles had an unnecessary barrier. Get rid of that
> barrier and clean up the code by just using rdtsc_ordered().
>
> Cc: Paolo Bonzini
> Cc: Radim Krcmar
> Cc: Marcelo Tosatti
> Cc: k...@vger.kernel.org
> Signed-off-by: Andy
Add CESA IP description for all the missing armada SoCs (XP, 375 and 38x).
Signed-off-by: Boris Brezillon
---
drivers/crypto/marvell/cesa.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/crypto/marvell/cesa.c b/drivers/crypto/marvell/cesa.c
index 9c43cd7e..af590bf
From: Arnaud Ebalard
Add the Kirkwood and Dove SoC descriptions, and control the allhwsupport
module parameter to avoid probing the CESA IP when the old CESA driver is
enabled (unless it is explicitly requested to do so).
Signed-off-by: Arnaud Ebalard
Signed-off-by: Boris Brezillon
---
Add DT bindings documentation for the new marvell-cesa driver.
Signed-off-by: Boris Brezillon
---
.../devicetree/bindings/crypto/marvell-cesa.txt| 45 ++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree/bindings/crypto/marvell-cesa.txt
diff
Add support for DES operations.
Signed-off-by: Boris Brezillon
Signed-off-by: Arnaud Ebalard
---
drivers/crypto/marvell/cesa.c | 2 +
drivers/crypto/marvell/cesa.h | 2 +
drivers/crypto/marvell/cipher.c | 150
3 files changed, 154 insertions(+)
From: Arnaud Ebalard
Add support for SHA256 operations.
Signed-off-by: Arnaud Ebalard
Signed-off-by: Boris Brezillon
---
drivers/crypto/marvell/cesa.c | 2 +
drivers/crypto/marvell/cesa.h | 2 +
drivers/crypto/marvell/hash.c | 159 ++
3 files
From: Arnaud Ebalard
Add support for MD5 operations.
Signed-off-by: Arnaud Ebalard
Signed-off-by: Boris Brezillon
---
drivers/crypto/marvell/cesa.c | 2 +
drivers/crypto/marvell/cesa.h | 2 +
drivers/crypto/marvell/hash.c | 172 +-
3 files changed,
On Tue, Jun 16, 2015 at 11:17:53AM -0700, Kevin Hilman wrote:
> Sascha Hauer writes:
>
> > This adds the SCPSYS device node to the MT8173 dtsi file.
> >
> > Signed-off-by: Sascha Hauer
> > ---
> > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++
> > 1 file changed, 10 insertions(+)
>
On Tue, Jun 09, 2015 at 11:00:15PM +0300, Konstantin Khlebnikov wrote:
> From: Konstantin Khlebnikov
>
> This patch moves permission checks from pagemap_read() into pagemap_open().
>
> Pointer to mm is saved in file->private_data. This reference pins only
> mm_struct itself. /proc/*/mem, maps,
On Tue, Jun 16, 2015 at 03:29:25PM -0700, Stephen Boyd wrote:
> On 05/21/2015 09:43 AM, Srinivas Kandagatla wrote:
> > + /* if it's not end on byte boundary */
> > + if ((nbits + bit_offset) % BITS_PER_BYTE) {
> > + /* setup the last byte with msb bits from nvmem */
> > +
On 06/16/2015 07:20 PM, Alexei Starovoitov wrote:
> On 6/16/15 5:38 AM, Daniel Wagner wrote:
>> static int free_thread(void *arg)
>> +{
>> +unsigned long flags;
>> +struct htab_elem *l;
>> +
>> +while (!kthread_should_stop()) {
>> +spin_lock_irqsave(_freelist_lock, flags);
>> +
On Wed, 17 Jun 2015, Li Bin wrote:
> The added sysfs interface /sys/kernel/livepatch/state is read-only,
> it shows the patches that have been applied, incluing the stack index
> and the state of each patch.
>
> $ cat /sys/kernel/livepatch/state
> Index Patch State
>
On Tue 16-06-15 22:22:34, Jesper Dangaard Brouer wrote:
>
> On Tue, 16 Jun 2015 15:52:09 +0200 Jan Kara wrote:
>
> > On Tue 16-06-15 13:33:18, Jesper Dangaard Brouer wrote:
> > > Caught by kmemcheck.
> > >
> > > Don't know the fix... just pointed at the bug.
> > >
> > > Introduced in commit
On Tue, Jun 09, 2015 at 11:00:17PM +0300, Konstantin Khlebnikov wrote:
> From: Konstantin Khlebnikov
>
> This patch sets bit 56 in pagemap if this page is mapped only once.
> It allows to detect exclusively used pages without exposing PFN:
>
> present file exclusive state
> 0 00
On Tue, Jun 16, 2015 at 10:33:57AM -0700, Joe Perches wrote:
> On Tue, 2015-06-16 at 19:12 +0530, Sudip Mukherjee wrote:
> > move vgamode table from the header file to the C file and mark it
> > as const.
>
> The slightly odd indentation could be fixed here too.
Ok. I am sending v2. But if I am
On 09/06/2015 05:28, Xiao Guangrong wrote:
>>
>> -rmapp = gfn_to_rmap(kvm, sp->gfn, PT_PAGE_TABLE_LEVEL);
>> +slots = kvm_memslots(kvm);
>> +slot = __gfn_to_memslot(slots, sp->gfn);
>> +rmapp = __gfn_to_rmap(sp->gfn, PT_PAGE_TABLE_LEVEL, slot);
>>
>
> Why @sp is not available
On 09/06/2015 06:01, Xiao Guangrong wrote:
>
>
> On 05/28/2015 01:05 AM, Paolo Bonzini wrote:
>> This is now very simple to do. The only interesting part is a simple
>> trick to find the right memslot in gfn_to_rmap, retrieving the address
>> space from the spte role word. The same trick is
On Wed, Jun 17, 2015 at 5:46 PM, gongzg wrote:
> From: GongZhaogang
>
> By analysing the bug function call trace,we find that create_worker function
> will alloc the memory from node0.Because node0 is offline,the allocation is
> failed.Then we add a condition to ensure the node is online and
>
On Wed, 2015-06-17 at 13:45 +0530, Sudip Mukherjee wrote:
> On Tue, Jun 16, 2015 at 10:33:57AM -0700, Joe Perches wrote:
> > On Tue, 2015-06-16 at 19:12 +0530, Sudip Mukherjee wrote:
> > > move vgamode table from the header file to the C file and mark it
> > > as const.
> >
> > The slightly odd
On Wed, Jun 17, 2015 at 6:04 AM, juncheng bai
wrote:
> Hi.
> Yeah, you are right, use the default max_segments, the request size can
> be the object size, because the bi_phys_segments of bio could be recount,
> there's just a possibility.
>
> I want to fully understand the bi_phys_segments, hope
On Wed, 17 Jun 2015 09:36:11 +0200, Frans Klaver wrote:
On Wed, Jun 17, 2015 at 6:36 AM, Maninder Singh wrote:
Use BUG_ON(condition) instead of if(condition)/BUG() .
Signed-off-by: Maninder Singh
Reviewed-by: Akhilesh Kumar
---
net/packet/af_packet.c |3 +--
1 files changed, 1
1001 - 1100 of 2054 matches
Mail list logo