DMA_ERROR_CODE is going to go away, so don't rely on it. Instead
define a ->mapping_error method for all IOMMU based dma operation
instances. The direct ops don't ever return an error and don't
need a ->mapping_error method.
Signed-off-by: Christoph Hellwig
---
arch/powerpc/include/asm/dma-map
DMA_ERROR_CODE is going to go away, so don't rely on it.
Signed-off-by: Christoph Hellwig
---
arch/x86/kernel/pci-calgary_64.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/arch/x86/kernel/pci-calgary_64.c b/arch/x86/kernel/pci-calgary_64.c
index f
s390 can also use noop_dma_ops, and while that currently does not return
errors it will so in the future. Implementing the mapping_error method
is the proper way to have per-ops error conditions.
Signed-off-by: Christoph Hellwig
---
arch/s390/include/asm/dma-mapping.h | 2 --
arch/s390/pci/pci
DMA_ERROR_CODE is going to go away, so don't rely on it.
Signed-off-by: Christoph Hellwig
---
arch/sparc/include/asm/dma-mapping.h | 2 --
arch/sparc/kernel/iommu.c| 12 +---
arch/sparc/kernel/iommu_common.h | 2 ++
arch/sparc/kernel/pci_sun4v.c| 14 ++--
On 08/06/2017 10:22, Wanpeng Li wrote:
> From: Wanpeng Li
>
> If "i" is the last element in the vcpu->arch.cpuid_entries[] array, it
> potentially can be exploited the vulnerability. this will out-of-bounds
> read and write the unused memory in host OS.
>
> As Paolo pointed:
>
>>> /* when
Hi Andrey,
[auto build test WARNING on ljones-mfd/for-mfd-next]
[also build test WARNING on v4.12-rc4 next-20170608]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Andrey-Smirnov/mfd-Add-driver
On Thu, Jun 08, 2017 at 11:12:10PM +1000, Michael Ellerman wrote:
> Greg Kroah-Hartman writes:
>
> > The dev_attrs field has long been "depreciated" and is finally being
> > removed, so move the driver to use the "correct" dev_groups field
> > instead for struct bus_type.
> >
> > Cc: Benjamin Her
The dma alloc interface returns an error by return NULL, and the
mapping interfaces rely on the mapping_error method, which the dummy
ops already implement correctly.
Thus remove the DMA_ERROR_CODE define.
Signed-off-by: Christoph Hellwig
---
arch/arm64/include/asm/dma-mapping.h | 1 -
arch/arm
xtensa already implements the mapping_error method for its only
dma_map_ops instance.
Signed-off-by: Christoph Hellwig
---
arch/xtensa/include/asm/dma-mapping.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/xtensa/include/asm/dma-mapping.h
b/arch/xtensa/include/asm/dma-mapping.h
ind
All ia64 dma_mapping_ops instances already have a mapping_error member.
Signed-off-by: Christoph Hellwig
---
arch/ia64/include/asm/dma-mapping.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/ia64/include/asm/dma-mapping.h
b/arch/ia64/include/asm/dma-mapping.h
index 73ec3c6f4cfe..3ce
sh does not return errors for dma_map_page.
Signed-off-by: Christoph Hellwig
---
arch/sh/include/asm/dma-mapping.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/sh/include/asm/dma-mapping.h
b/arch/sh/include/asm/dma-mapping.h
index d99008af5f73..9b06be07db4d 100644
--- a/arch/sh/inc
dma-noop is the only dma_mapping_ops instance for m32r and does not return
errors.
Signed-off-by: Christoph Hellwig
---
arch/m32r/include/asm/dma-mapping.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/m32r/include/asm/dma-mapping.h
b/arch/m32r/include/asm/dma-mapping.h
index c01d9f
microblaze does not return errors for dma_map_page.
Signed-off-by: Christoph Hellwig
---
arch/microblaze/include/asm/dma-mapping.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/microblaze/include/asm/dma-mapping.h
b/arch/microblaze/include/asm/dma-mapping.h
index 3fad5e722a66..e15cd
openrisc does not return errors for dma_map_page.
Signed-off-by: Christoph Hellwig
---
arch/openrisc/include/asm/dma-mapping.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/openrisc/include/asm/dma-mapping.h
b/arch/openrisc/include/asm/dma-mapping.h
index 0c0075f17145..a4ea139c2ef9
DMA_ERROR_CODE is going to go away, so don't rely on it.
Signed-off-by: Christoph Hellwig
---
drivers/xen/swiotlb-xen.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c
index a0f006daab48..c3a04b2d7532 100644
Dear RT Folks,
I'm pleased to announce the 3.12.74-rt99 stable release.
This release is just an update to the new stable 3.12.74 version
and no RT specific changes have been made.
You can get this release via the git tree at:
git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt
On 8 June 2017 at 14:59, Jean Wangtao wrote:
>
> Hi Vincent,
>
> 2017年6月8日 下午3:19,"Vincent Guittot" 写道:
>
> Hi Kevin,
>
> On 5 June 2017 at 11:07, Tao Wang wrote:
>> cpu idle cooling driver performs synchronized idle injection across
>> all cpu in same cluster, offers a new method to cooling down
Dear RT Folks,
I'm pleased to announce the 3.18.55-rt61 stable release.
This release is just an update to the new stable 3.18.55 version
and no RT specific changes have been made.
You can get this release via the git tree at:
git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt
Signed-off-by: Christoph Hellwig
---
arch/c6x/include/asm/dma-mapping.h | 5 -
1 file changed, 5 deletions(-)
diff --git a/arch/c6x/include/asm/dma-mapping.h
b/arch/c6x/include/asm/dma-mapping.h
index aca9f755e4f8..05daf1038111 100644
--- a/arch/c6x/include/asm/dma-mapping.h
+++ b/arch/c6x/
Dear RT Folks,
I'm pleased to announce the 4.4.70-rt83 stable release.
This release is just an update to the new stable 4.4.70 version
and no RT specific changes have been made.
You can get this release via the git tree at:
git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g
On 8 June 2017 at 14:31, Andy Shevchenko wrote:
> On Thu, Jun 8, 2017 at 5:55 AM, Matthew Wilcox wrote:
>> We only need to know if the bottom 3 bits are 0 to apply this optimisation.
>> For example, if we have a user which does this:
>>
>> nbits = 8;
>> if (argle)
>>
On Mon, May 29, 2017 at 07:09:35PM -0700, Davidlohr Bueso wrote:
> Davidlohr Bueso (5):
> rbtree: Cache leftmost node internally
> sched/fair: Replace cfs_rq->rb_leftmost
> locking/rtmutex: Replace top-waiter and pi_waiters leftmost caching
> sched/deadline: Replace earliest deadline and ru
On 6/7/2017 5:06 PM, Boris Ostrovsky wrote:
On 06/07/2017 03:14 PM, Tom Lendacky wrote:
The cr3 register entry can contain the SME encryption bit that indicates
the PGD is encrypted. The encryption bit should not be used when creating
a virtual address for the PGD table.
Create a new function,
DMA_ERROR_CODE is not a public API and will go away soon. dma dma-iommu
driver already implements a proper ->mapping_error method, so it's only
using the value internally. Add a new local define using the value
that arm64 which is the only current user of dma-iommu.
Signed-off-by: Christoph Hell
dev_addr isn't even a dma_addr_t, and DMA_ERROR_CODE has never been
a valid driver API. Add a bool mapped flag instead.
Signed-off-by: Christoph Hellwig
---
drivers/gpu/drm/armada/armada_fb.c | 2 +-
drivers/gpu/drm/armada/armada_gem.c | 5 ++---
drivers/gpu/drm/armada/armada_gem.h | 1 +
3 fi
On Wed, Jun 07, 2017 at 04:29:50PM +0200, Arnd Bergmann wrote:
> On Wed, Jun 7, 2017 at 2:52 PM, Daniel Lezcano
> wrote:
> > On Tue, Jun 06, 2017 at 11:41:11AM +0200, Arnd Bergmann wrote:
> >> On Mon, Jun 5, 2017 at 10:59 AM, Joel Stanley wrote:
> >> > On Mon, Jun 5, 2017 at 5:18 PM, Andrew Jeffe
On Thu, Jun 08 2017 at 3:06:23 pm BST, Marcin Nowakowski
wrote:
> gic_read_count(), gic_write_compare() and gic_write_cpu_compare() are
> often used in a sequence to update the compare register with a count
> value increased by a small offset.
> With small delta values used to update the compare
On Thu, 8 Jun 2017 07:01:08 +
Feng Feng24 Liu wrote:
> Hi, T Makphaibulchoke & Steve
> I found that you discuss about " kernel BUG at
> kernel/locking/rtmutex.c:997 " at
> https://groups.google.com/forum/#!topic/fa.linux.kernel/aV2peeXs71E
>
> Could you help to giv
DMA_ERROR_CODE is not a public API and will go away. Instead properly
unwind based on the loop counter.
Signed-off-by: Christoph Hellwig
---
drivers/dma/ioat/init.c | 24 +++-
1 file changed, 7 insertions(+), 17 deletions(-)
diff --git a/drivers/dma/ioat/init.c b/drivers/dm
Hi all,
for a while we have a generic implementation of the dma mapping routines
that call into per-arch or per-device operations. But right now there
still are various bits in the interfaces where don't clearly operate
on these ops. This series tries to clean up a lot of those (but not all
yet,
DMA_ERROR_CODE is not supposed to be used by drivers.
Signed-off-by: Christoph Hellwig
---
drivers/firmware/tegra/ivc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/firmware/tegra/ivc.c b/drivers/firmware/tegra/ivc.c
index 29ecfd815320..a01461d63f68 100644
---
From: Bilal Amarni
CONFIG_KEYS_COMPAT is defined in arch-specific Kconfigs and is missing for
several 64-bit architectures : mips, parisc, tile.
At the moment and for those architectures, calling in 32-bit userspace the
keyctl syscall would return an ENOSYS error.
This patch moves the CONFIG_KE
From: Mark Rutland
If a key's refcount is dropped to zero between key_lookup() peeking at
the refcount and subsequently attempting to increment it, refcount_inc()
will see a zero refcount. Here, refcount_inc() will WARN_ONCE(), and
will *not* increment the refcount, which will remain zero.
Once
From: Eric Biggers
In join_session_keyring(), if install_session_keyring_to_cred() were to
fail, we would leak the keyring reference, just like in the bug fixed by
commit 23567fd052a9 ("KEYS: Fix keyring ref leak in
join_session_keyring()"). Fortunately this cannot happen currently, but
we reall
Tagged thusly:
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
keys-fixes-20170608
David
---
Bilal Amarni (1):
security/keys: add CONFIG_KEYS_COMPAT to Kconfig
Dan Carpenter (1):
X.509: Fix error code in x509_cert_parse()
Davidlohr Bueso (1):
security:
From: Dan Carpenter
We forgot to set the error code on this path so it could result in
returning NULL which leads to a NULL dereference.
Fixes: db6c43bd2132 ("crypto: KEYS: convert public key and digsig asym to the
akcipher api")
Signed-off-by: Dan Carpenter
Signed-off-by: David Howells
---
On 08/06/17 09:36, Steven Rostedt wrote:
> On Thu, 8 Jun 2017 10:05:55 +0100
> Juri Lelli wrote:
>
> > On 08/06/17 10:43, Luca Abeni wrote:
> > > On Thu, 8 Jun 2017 10:31:25 +0200
> > > Ingo Molnar wrote:
> > >
> > > > * luca abeni wrote:
> > > >
> > > > > From: Luca Abeni
> > > > >
> >
From: Markus Elfring
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Link:
http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
Signed-off-by: Markus Elfring
Signed-off-
On Thu, Jun 08, 2017 at 11:18:13PM +1000, Nicholas Piggin wrote:
> I guess I see your point... okay, will constrain the comment to powerpc
> context switch and primitives code. Any fundamental change to such
> scheduler barriers I guess would require at least a glance over arch
> switch code :)
Ju
On 2017/5/23 17:33, Vlastimil Babka wrote:
> On 05/23/2017 11:21 AM, zhong jiang wrote:
>> On 2017/5/23 0:51, Vlastimil Babka wrote:
>>> On 05/20/2017 05:01 AM, zhong jiang wrote:
On 2017/5/20 10:40, Hugh Dickins wrote:
> On Sat, 20 May 2017, Xishi Qiu wrote:
>> Here is a bug report f
From: Eric Biggers
MACs should, in general, be compared using crypto_memneq() to prevent
timing attacks.
Cc: Mimi Zohar
Cc: Herbert Xu
Signed-off-by: Eric Biggers
Signed-off-by: David Howells
---
security/keys/encrypted-keys/encrypted.c |5 +++--
1 file changed, 3 insertions(+), 2 dele
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Cc: Thierry Reding
Cc: Jonathan Hunter
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-tegra.c | 30 +++---
1 file changed, 3 insertions(+), 27 deletions(-)
diff --gi
There are places where default specification to print decimal numbers
is in use.
Make it global and convert existing users.
Signed-off-by: Andy Shevchenko
---
lib/vsprintf.c | 21 +
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/lib/vsprintf.c b/lib/vsprintf.
From: Eric Biggers
For keys of type "encrypted", consistently zero sensitive key material
before freeing it. This was already being done for the decrypted
payloads of encrypted keys, but not for the master key and the keys
derived from the master key.
Out of an abundance of caution and because
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-rx6110.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/rtc/rtc-rx6110.c b/drivers/rtc/rtc-rx6110.c
ind
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-rk808.c | 20 ++--
1 file changed, 6 insertions(+), 14 deletions(-)
diff --git a/drivers/rtc/rtc-rk808.c b/drivers/rtc/rtc-rk808
From: Eric Biggers
Requesting "digest_null" in the keyctl_kdf_params caused an infinite
loop in kdf_ctr() because the "null" hash has a digest size of 0. Fix
it by rejecting hash algorithms with a digest size of 0.
Signed-off-by: Eric Biggers
Signed-off-by: David Howells
Acked-by: Stephan Mue
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-pcf50633.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/rtc/rtc-pcf50633.c b/drivers/rtc/rtc-pcf50633.c
in
From: Mat Martineau
The initial Diffie-Hellman computation made direct use of the MPI
library because the crypto module did not support DH at the time. Now
that KPP is implemented, KEYCTL_DH_COMPUTE should use it to get rid of
duplicate code and leverage possible hardware acceleration.
This fixe
From: Eric Biggers
Signed-off-by: Eric Biggers
Signed-off-by: David Howells
Acked-by: Stephan Mueller
---
include/uapi/linux/keyctl.h |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/uapi/linux/keyctl.h b/include/uapi/linux/keyctl.h
index 201c6644b237..ef16d
From: Eric Biggers
Accessing a 'u8[4]' through a '__be32 *' violates alignment rules. Just
make the counter a __be32 instead.
Signed-off-by: Eric Biggers
Signed-off-by: David Howells
Acked-by: Stephan Mueller
---
security/keys/dh.c | 16 +++-
1 file changed, 3 insertions(+),
From: Loganaden Velvindron
Signed-off-by: Loganaden Velvindron
Signed-off-by: Yasir Auleear
Signed-off-by: David Howells
---
crypto/asymmetric_keys/verify_pefile.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/crypto/asymmetric_keys/verify_pefile.c
b/crypto/asym
From: Eric Biggers
If userspace called KEYCTL_DH_COMPUTE with kdf_params containing NULL
otherinfo but nonzero otherinfolen, the kernel would allocate a buffer
for the otherinfo, then feed it into the KDF without initializing it.
Fix this by always doing the copy from userspace (which will fail w
Hi Nicholas,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.12-rc4 next-20170608]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Nicholas-Piggin/kbuild-switch-to-thin
Am 08.06.2017 um 15:09 schrieb Jerome Brunet:
> Add Tsin A pins to bank DV and X.
> We don't have a driver for the tsin yet but since the tsin A pinmux is
> enabled by default at boot time, declaring this pinmux is required to
> properly operate on GPIOX.
>
> Without this change, GPIOX 8, 9, 10 an
From: Eric Biggers
While a 'struct key' itself normally does not contain sensitive
information, Documentation/security/keys.txt actually encourages this:
"Having a payload is not required; and the payload can, in fact,
just be a value stored in the struct key itself."
In case someone
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Cc: "Rafael J. Wysocki"
Cc: linux...@vger.kernel.org
Signed-off-by: Andy Shevchenko
---
drivers/base/power/trace.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/b
From: Eric Biggers
As the previous patch did for encrypted-keys, zero sensitive any
potentially sensitive data related to the "trusted" key type before it
is freed. Notably, we were not zeroing the tpm_buf structures in which
the actual key is stored for TPM seal and unseal, nor were we zeroing
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Cc: Krzysztof Kozlowski
Cc: Bartlomiej Zolnierkiewicz
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-s5m.c | 27 ++-
1 file changed, 6 insertions(+), 21 deletions(-)
These two patches do not apply cleanly to my net GIT tree, please respin.
On 31/05/17 19:29, sean.w...@mediatek.com wrote:
From: Sean Wang
add basic nodes into the mt7622.dtsi for the system
bring-up which includes ARM CPU, GIC, timer, MediaTek
UART, SYSIRQ and one reserved memory region for ATF.
Signed-off-by: Sean Wang
---
arch/arm64/boot/dts/mediatek/mt7622.
From: Eric Biggers
Zero the payloads of user and logon keys before freeing them. This
prevents sensitive key material from being kept around in the slab
caches after a key is released.
Signed-off-by: Eric Biggers
Signed-off-by: David Howells
---
security/keys/user_defined.c | 16 +
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Cc: Arnd Bergmann
Signed-off-by: Andy Shevchenko
---
drivers/char/ds1302.c | 38 ++
1 file changed, 10 insertions(+), 28 deletions(-)
diff --git a/drivers/cha
On Thu, 2017-06-08 at 15:49 +0200, Andreas Färber wrote:
> Am 08.06.2017 um 15:09 schrieb Jerome Brunet:
> > Add Tsin A pins to bank DV and X.
> > We don't have a driver for the tsin yet but since the tsin A pinmux is
> > enabled by default at boot time, declaring this pinmux is required to
> > pro
From: Eric Biggers
key_update() freed the key_preparsed_payload even if it was not
initialized first. This would cause a crash if userspace called
keyctl_update() on a key with type like "asymmetric" that has a
->preparse() method but not an ->update() method. Possibly it could
even be triggere
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-rx8025.c | 19 ---
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/drivers/rtc/rtc-rx8025.c b/drivers/rtc/rtc-rx80
From: Eric Biggers
sys_add_key() and the KEYCTL_UPDATE operation of sys_keyctl() allowed a
NULL payload with nonzero length to be passed to the key type's
->preparse(), ->instantiate(), and/or ->update() methods. Various key
types including asymmetric, cifs.idmap, cifs.spnego, and pkcs7_test did
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Cc: Jason Wessel
Cc: Ingo Molnar
Signed-off-by: Andy Shevchenko
---
kernel/debug/kdb/kdb_main.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/kernel/debug/kdb/kdb_mai
There are users which print time and date represented by content of
struct rtc_time in human readable format.
Instead of open coding that each time introduce %pt[dt][rv] specifier.
Cc: Arnd Bergmann
Cc: Bartlomiej Zolnierkiewicz
Cc: Dmitry Torokhov
Cc: Geert Uytterhoeven
Cc: Guan Xuetao
Cc:
From: Eric Biggers
Before returning from add_key() or one of the keyctl() commands that
takes in a key payload, zero the temporary buffer that was allocated to
hold the key payload copied from userspace. This may contain sensitive
key material that should not be kept around in the slab caches.
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Cc: Dmitry Torokhov
Signed-off-by: Andy Shevchenko
---
drivers/input/misc/hp_sdc_rtc.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/input/misc/hp_sdc_rtc.c
From: Eric Biggers
The encrypted-keys module was using a single global HMAC transform,
which could be rekeyed by multiple threads concurrently operating on
different keys, causing incorrect HMAC values to be calculated. Fix
this by allocating a new HMAC transform whenever we need to calculate a
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-at91rm9200.c | 16
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-pm8xxx.c | 16 +---
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.
Remove the FIXME on clk81 mux and add all the documented parents
Signed-off-by: Jerome Brunet
---
drivers/clk/meson/gxbb.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c
index 36c0e455437e..a897ea45327c 100644
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Cc: Geert Uytterhoeven
Signed-off-by: Andy Shevchenko
---
arch/m68k/mac/misc.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/arch/m68k/mac/misc.c b/arch/m68k/mac/mis
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-s3c.c | 21 +
1 file changed, 5 insertions(+), 16 deletions(-)
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c
in
There is at least one new user is coming where default specification to print
strings is in use.
Make it global.
Signed-off-by: Andy Shevchenko
---
lib/vsprintf.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index d43dbf6b862e..
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-pic32.c | 18 --
1 file changed, 4 insertions(+), 14 deletions(-)
diff --git a/drivers/rtc/rtc-pic32.c b/drivers/rtc/rtc-pic32.c
> Btw, I'm seeing only patches 6 and 7 here at media ML (and patchwork).
> As those are trivial changes, I'll just apply what I have.
Perfect, thanks!
signature.asc
Description: PGP signature
Am 08.06.2017 um 15:53 schrieb Jerome Brunet:
> On Thu, 2017-06-08 at 15:49 +0200, Andreas Färber wrote:
>> Am 08.06.2017 um 15:09 schrieb Jerome Brunet:
>>> Add Tsin A pins to bank DV and X.
>>> We don't have a driver for the tsin yet but since the tsin A pinmux is
>>> enabled by default at boot t
From: Eric Biggers
Since v4.9, the crypto API cannot (normally) be used to encrypt/decrypt
stack buffers because the stack may be virtually mapped. Fix this for
the padding buffers in encrypted-keys by using ZERO_PAGE for the
encryption padding and by allocating a temporary heap buffer for the
d
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-mcp795.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rtc/rtc-mcp79
The pointer can't be NULL since it's first what has been done in the
pointer().
Remove useless checks.
Note when we print clock name or rate it is safe in case !CONFIG_HAVE_CLK.
Signed-off-by: Andy Shevchenko
---
lib/vsprintf.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/li
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Guan Xuetao
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-puv3.c | 18 --
1 file changed, 4 insertions(+), 14 deletions(-)
diff --git a/drivers/rtc/rtc-puv3.c b/drivers/rtc/
Em Thu, Jun 08, 2017 at 03:15:32PM +0200, Milian Wolff escreveu:
> On Wednesday, May 24, 2017 8:21:22 AM CEST Namhyung Kim wrote:
> > Hi Ingo,
> >
> > Please consider pulling the perf tooling changes below. Build tested
> > on Ubuntu, Fedora and Archlinux. I found a problem during `perf test`
>
On 06/08/2017 03:44 PM, Xishi Qiu wrote:
> On 2017/5/23 17:33, Vlastimil Babka wrote:
>
>> On 05/23/2017 11:21 AM, zhong jiang wrote:
>>> On 2017/5/23 0:51, Vlastimil Babka wrote:
On 05/20/2017 05:01 AM, zhong jiang wrote:
> On 2017/5/20 10:40, Hugh Dickins wrote:
>> On Sat, 20 May 20
Hi Christoph,
On 08/06/17 14:25, Christoph Hellwig wrote:
> DMA_ERROR_CODE is not a public API and will go away soon. dma dma-iommu
> driver already implements a proper ->mapping_error method, so it's only
> using the value internally. Add a new local define using the value
> that arm64 which is
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Arnd Bergmann
Signed-off-by: Andy Shevchenko
---
drivers/char/rtc.c | 7 +++
drivers/rtc/hctosys.c | 8 ++--
drivers/rtc/interface.c | 8 ++--
drivers/rtc/rtc-proc.c | 36 +
On Tue, 06 Jun, at 02:31:22PM, Kirill A. Shutemov wrote:
> This is preparation for following patches without changing semantics of the
> code.
>
> Signed-off-by: Kirill A. Shutemov
> Cc: Matt Fleming
> ---
> arch/x86/boot/compressed/eboot.c | 39 +--
> 1 file
On 07/06/17 18:24, Juergen Gross wrote:
> There has been a report about a deadlock in the xenbus driver:
>
> [ 247.979498] ==
> [ 247.985688] WARNING: possible circular locking dependency detected
> [ 247.991882] 4.12.0-rc4-00022-gc4b25c0 #575
On Thu, Jun 08, 2017 at 04:47:52PM +0300, Andy Shevchenko wrote:
> Use %pt instead of open coded variant to print content of
> struct rtc_time in human readable format.
>
> Arnd Bergmann
Cc: ?
> Signed-off-by: Andy Shevchenko
Acked-by: Greg Kroah-Hartman
On Thu, Jun 08, 2017 at 04:47:51PM +0300, Andy Shevchenko wrote:
> Use %pt instead of open coded variant to print content of
> struct rtc_time in human readable format.
>
> Cc: Arnd Bergmann
> Signed-off-by: Andy Shevchenko
Acked-by: Greg Kroah-Hartman
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-m41t80.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c
index 8940e
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-at91sam9.c | 16
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at9
From: Eric Biggers
With the 'encrypted' key type it was possible for userspace to provide a
data blob ending with a master key description shorter than expected,
e.g. 'keyctl add encrypted desc "new x" @s'. When validating such a
master key description, validate_master_desc() could read beyond t
Use %pt instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-m48t59.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/rtc/rtc-m48t59.c b/drivers/rtc/rtc-m48t59.c
index d9
On 08/06/17 14:25, Christoph Hellwig wrote:
> The dma alloc interface returns an error by return NULL, and the
> mapping interfaces rely on the mapping_error method, which the dummy
> ops already implement correctly.
>
> Thus remove the DMA_ERROR_CODE define.
Reviewed-by: Robin Murphy
> Signed-
From: Arnd Bergmann
Date: Thu, 8 Jun 2017 10:01:59 +0200
> I would also suggest adding a sanity check like
Hmm, but this will kill the build for non-fixed endian architectures
won't it?
On 07/06/17 09:14, Byungchul Park wrote:
> On Wed, Jun 07, 2017 at 08:42:24AM +0900, Byungchul Park wrote:
> > On Tue, Jun 06, 2017 at 04:12:25PM +0100, Juri Lelli wrote:
> > > Hi,
> > >
> > > On 02/06/17 16:31, Byungchul Park wrote:
[...]
> > > >
> > > > static inline int cpudl_maximum_cpu(s
401 - 500 of 1224 matches
Mail list logo