On Thu, Sep 29, 2016 at 02:17:14AM +0800, fu@linaro.org wrote:
> From: Fu Wei
>
> On platforms booting with ACPI, architected memory-mapped timers'
> configuration data is provided by firmware through the ACPI GTDT
> static table.
>
> The clocksource architected timer kernel driver requires
On Fri, Oct 21, 2016 at 12:14:01PM +0100, Mark Rutland wrote:
> On Thu, Oct 20, 2016 at 05:58:17PM +0100, Mark Rutland wrote:
> > On Thu, Sep 29, 2016 at 02:17:13AM +0800, fu@linaro.org wrote:
> > > + arch_timer_ppi[PHYS_NONSECURE_PPI] =
> > > acpi_gtdt_map_ppi(PHYS_NONSECURE_PPI);
> > > + arc
From: Pan Xinhui
> Sent: 20 October 2016 22:28
> Commit ("x86, kvm: support vcpu preempted check") add one field "__u8
> preempted" into struct kvm_steal_time. This field tells if one vcpu is
> running or not.
>
> It is zero if 1) some old KVM deos not support this filed. 2) the vcpu is
> preempte
On Thu, Sep 29, 2016 at 02:17:15AM +0800, fu@linaro.org wrote:
> From: Fu Wei
>
> The patch refactor original memory-mapped timer init code:
> (1) extract some subfunction for reusing some common code
> a. get_cnttidr
> b. is_best_frame
> (2) move base address and irq code for arch_ti
Michal Hocko writes:
> From: Michal Hocko
>
> __GFP_THISNODE is documented to enforce the allocation to be satisified
> from the requested node with no fallbacks or placement policy
> enforcements. policy_zonelist seemingly breaks this semantic if the
> current policy is MPOL_MBIND and instead o
On Fri, 2016-10-21 at 10:45 +0200, Jiri Kosina wrote:
> The original reason [1] for having hidden qdiscs (potential scalability
> issues in qdisc_match_from_root() with single linked list in case of large
> amount of qdiscs) has been invalidated by 59cc1f61f0 ("net: sched: convert
> qdisc linked
Am 18.10.2016 um 20:30 schrieb David Miller:
> From: Stefan Wahren
> Date: Tue, 18 Oct 2016 13:27:34 +0200
>
>> +void
>> +qca_tty_receive(struct tty_struct *tty, const unsigned char *cp, char *fp,
>> +int count)
>> +{
>> +struct qcauart *qca = tty->disc_data;
>> +struct net_dev
On 10/21/2016 12:11 PM, Peter Griffin wrote:
> On Fri, 21 Oct 2016, Geert Uytterhoeven wrote:
>
>> Signed-off-by: Geert Uytterhoeven
>> Acked-by: Rob Herring
>> ---
>> v2:
>> - Add Acked-by.
>> ---
>
> Acked-by: Peter Griffin
>
applied with Peter Acked-by
Thanks Geert
> If you want to do something that might be useful, you could look into the
> problem of missing checks for dma mapping failure. There is nice slide
> presenatation about the issue:
>
> http://www.slideshare.net/SamsungOSG/shuah-khan-dmamaperror
Thanks for your suggestion about the software dev
Linux 4.7 (86e7972f690c1017fd086cdfe53d8524e68c661c) introduces
PERF_EVENT_IOC_PAUSE_OUTPUT feature. Document it.
Signed-off-by: Wang Nan
Cc: Michael Kerrisk
---
man2/perf_event_open.2 | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/man2/perf_event_open.2 b/man
Linux 4.7 (9ecda41acb971ebd07c8fb35faf24005c0baea12) introduces write_backward
attribute to perf_event_attr. Document this feature.
Signed-off-by: Wang Nan
Cc: Michael Kerrisk
---
man2/perf_event_open.2 | 56 +++---
1 file changed, 53 insertions(+), 3
On Fri 21-10-16 17:04:50, Aneesh Kumar K.V wrote:
> Michal Hocko writes:
>
> > From: Michal Hocko
> >
> > __GFP_THISNODE is documented to enforce the allocation to be satisified
> > from the requested node with no fallbacks or placement policy
> > enforcements. policy_zonelist seemingly breaks t
Hello
some my minor cents below
On 10/21/2016 12:20 PM, Joachim Eastwood wrote:
Hi Neil,
On 21 October 2016 at 10:44, Neil Armstrong wrote:
Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820.
Signed-off-by: Neil Armstrong
---
.../devicetree/bindings/net/oxnas-dwmac.
Hi all,
Le 21/10/2016 à 11:29, Richard Weinberger a écrit :
> Hi!
>
> On 21.10.2016 11:21, Naga Sureshkumar Relli wrote:
>> Hi,
>>
>> This is regarding UBIFS on 4.6 kernel.
>> We have tested UBIFS on our ZynqMP SOC QSPI Controller, the UBIFS is not
>> working with dma on this kernel.
>> Controll
stop_machine seems to be the only important place for yielding during
cpu_relax. This was fixed by using cpu_relax_yield. Therefore, we can
now redefine cpu_relax to be a barrier instead. (With the option to do
some SMT tuning later on)
Signed-off-by: Christian Borntraeger
---
arch/s390/include/
For spinning loops people did often use barrier() or cpu_relax().
For most architectures cpu_relax and barrier are the same, but on
some architectures cpu_relax can add some latency. For example on s390
cpu_relax gives up the time slice to the hypervisor. On power cpu_relax
tries to give some of th
For spinning loops people did often use barrier() or cpu_relax().
For most architectures cpu_relax and barrier are the same, but on
some architectures cpu_relax can add some latency. For example on s390
cpu_relax gives up the time slice to the hypervisor. On power cpu_relax
tries to give some of th
stop_machine can take a very long time if the hypervisor does
overcommitment for guest CPUs. When waiting for "the one", lets
give up our CPU by using the new cpu_relax_yield.
Signed-off-by: Christian Borntraeger
---
kernel/stop_machine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
With the s390 special case of a yielding cpu_relax implementation gone,
we can now remove all users of cpu_relax_lowlatency.
Signed-off-by: Christian Borntraeger
---
drivers/gpu/drm/i915/i915_gem_request.c | 2 +-
drivers/vhost/net.c | 4 ++--
kernel/locking/mcs_spinlock.h
As there are no users left, we can remove cpu_relax_lowlatency.
Signed-off-by: Christian Borntraeger
---
arch/alpha/include/asm/processor.h | 1 -
arch/arm/include/asm/processor.h| 1 -
arch/arm64/include/asm/processor.h | 1 -
arch/avr32/include/asm/processor.h | 1 -
arc
Jarod Wilson writes:
> - set min/max_mtu in all hdlc drivers, remove hdlc_change_mtu
> - sent max_mtu in lec driver, remove lec_change_mtu
> drivers/net/wan/c101.c| 1 -
> drivers/net/wan/hdlc.c| 11 ++-
> drivers/net/wan/hdlc_fr.c | 3 ++-
> drivers/ne
On Fri, Oct 21, 2016 at 01:58:55PM +0200, Christian Borntraeger wrote:
> stop_machine can take a very long time if the hypervisor does
> overcommitment for guest CPUs. When waiting for "the one", lets
> give up our CPU by using the new cpu_relax_yield.
This seems something that would apply to most
On Fri, Oct 21, 2016 at 01:58:53PM +0200, Christian Borntraeger wrote:
> Christian Borntraeger (5):
> processor.h: introduce cpu_relax_yield
> stop_machine: yield CPU during stop machine
> s390: make cpu_relax a barrier again
> Remove cpu_relax_lowlatency users
> remove cpu_relax_lowlaten
On 10/21/2016 01:34 PM, Aneesh Kumar K.V wrote:
Michal Hocko writes:
For both MPOL_PREFERED and MPOL_INTERLEAVE we pick the zone list from
the node other than the current running node. Why don't we do that for
MPOL_BIND ?ie, if the current node is not part of the policy node mask
why are we
On 18 October 2016 at 23:44, Steven Rostedt wrote:
> On Tue, 18 Oct 2016 16:08:58 +0800
> Chunyan Zhang wrote:
>
>> Currently Function traces can be only exported to ring buffer, this
>> patch added trace_export concept which can process traces and export
>> them to a registered destination as an
Most of getsockopt handlers in net/sctp/socket.c check len against
sizeof some structure like:
if (len < sizeof(int))
return -EINVAL;
On the first look, the check seems to be correct. But since len is int
and sizeof returns size_t, int gets promoted to unsigned size_t too.
On 19 October 2016 at 00:29, Steven Rostedt wrote:
> On Tue, 18 Oct 2016 16:08:59 +0800
> Chunyan Zhang wrote:
>
>> This patch adds a driver that models itself as an stm_source called
>> stm_ftrace. Once the stm device and stm_ftrace have been linked via
>> sysfs, the driver registers itself as a
Hi -
I found below conversation and it is on the same line as I wanted some
input from mailing list.
http://marc.info/?l=linux-kernel&m=147569860526197&w=2
I can do testing on any WIP item as Omar mentioned in above discussion.
https://github.com/osandov/linux/tree/blk-mq-iosched
Is there any w
On 10/21/2016 11:08 AM, Peter Griffin wrote:
> Lots of platforms contain clocks which if turned off would prove fatal.
> The only way to recover is to restart the board(s). This driver takes
> references to clocks which are required to be always-on. The Common
> Clk Framework will then take refer
On 10/17/2016 10:14 AM, Vincent Guittot wrote:
When a task moves from/to a cfs_rq, we set a flag which is then used to
propagate the change at parent level (sched_entity and cfs_rq) during
next update. If the cfs_rq is throttled, the flag will stay pending until
the cfs_rw is unthrottled.
minor
On Thu, Oct 20, 2016 at 04:44:49PM +0300, Jani Nikula wrote:
> On Thu, 20 Oct 2016, Andrzej Hajda wrote:
> > Hi Jani,
> >
> > Forgive me late response.
> >
> > On 12.10.2016 16:28, Jani Nikula wrote:
> >> On Wed, 12 Oct 2016, Emil Velikov wrote:
> >>> On 11 October 2016 at 10:33, Jani Nikula
>
On 10/21/2016 10:55 AM, Peter Griffin wrote:
> Now that CLK_PROC_STFE is defined as a critical clock in
> DT, we can remove the commented clk_disable_unprepare from
> the c8sectpfe driver. This means we now have balanced
> clk*enable/disable calls in the driver, but on STiH407
> family the clock in
Vlastimil Babka writes:
> On 10/21/2016 01:34 PM, Aneesh Kumar K.V wrote:
>> Michal Hocko writes:
>>>
>>
>> For both MPOL_PREFERED and MPOL_INTERLEAVE we pick the zone list from
>> the node other than the current running node. Why don't we do that for
>> MPOL_BIND ?ie, if the current node is not
On Mon, Oct 10, 2016 at 12:17:48PM +0200, Thomas Gleixner wrote:
> I fear, we need to rethink this whole locking/protection scheme from
> scratch.
Here goes... as discussed at ELCE this serializes the {uval,
pi_state} state using pi_mutex->wait_lock.
I did my best to reason about requeue_pi, but
On Thu, Oct 20, 2016 at 05:00:35PM +0200, Takashi Iwai wrote:
> On Thu, 20 Oct 2016 16:56:04 +0200,
> Ville Syrjälä wrote:
> >
> > On Thu, Oct 20, 2016 at 04:39:52PM +0200, Takashi Iwai wrote:
> > > Since 4.7 kernel, we've seen the error messages like
> > >
> > > kernel: [TTM] Buffer eviction fa
On Wed, 24 Aug, at 06:03:04AM, tip-bot for Andy Lutomirski wrote:
> Commit-ID: e37e43a497d5a8b7c0cc1736d56986f432c394c9
> Gitweb: http://git.kernel.org/tip/e37e43a497d5a8b7c0cc1736d56986f432c394c9
> Author: Andy Lutomirski
> AuthorDate: Thu, 11 Aug 2016 02:35:23 -0700
> Committer: Ingo M
Hi Alex,
On Thu, 2016-10-20 at 17:22 +0200, Axel Haslam wrote:
> Hi Linus,
>
> I have recently started testing a omap-lcdk board which uses the
> davinci gpio driver,
> and im running into an issue when i try to request a gpio larger than 31,
> which
> i think might be a regression of gpiolib-o
Following RFC series adds SoundWire bus driver interface based on the
MIPI SoundWire specification 1.1
The SoundWire protocol is a robust, scalable, low complexity, low power,
low latency, two-pin (clock and data) multi-drop bus that allows for the
transfer of multiple audio streams and embedded c
This patch adds stream documentation describing SoundWire stream and
stream states.
Signed-off-by: Hardik Shah
Signed-off-by: Sanyog Kale
Reviewed-by: Pierre-Louis Bossart
---
Documentation/sound/alsa/sdw/stream.txt | 346 +++
1 file changed, 346 insertions(+)
cre
On Fri, Oct 21, 2016 at 02:13:24PM +0200, Jiri Slaby wrote:
> Most of getsockopt handlers in net/sctp/socket.c check len against
> sizeof some structure like:
> if (len < sizeof(int))
> return -EINVAL;
>
> On the first look, the check seems to be correct. But since len is i
Add register definitions for the SoundWire Slave. This is
as per MIPI SoundWire spec 1.1.
Signed-off-by: Hardik Shah
Signed-off-by: Sanyog Kale
Reviewed-by: Pierre-Louis Bossart
---
include/sound/sdw/sdw_registers.h | 277 +
1 file changed, 277 insertions(+
From: Sanyog Kale
This patch adds APIs for stream and port configurations for SoundWire
bus driver.
Signed-off-by: Hardik Shah
Signed-off-by: Sanyog Kale
Reviewed-by: Pierre-Louis Bossart
---
sound/sdw/sdw.c | 774 ++
sound/sdw/sdw_priv.h
Signed-off-by: Hardik Shah
Signed-off-by: Sanyog Kale
Reviewed-by: Pierre-Louis Bossart
---
drivers/base/regmap/Kconfig |3 +
drivers/base/regmap/Makefile |1 +
drivers/base/regmap/regmap-sdw.c | 240 ++
include/linux/regmap.h |
This patch adds support for clock stop prepare, clock stop and clock
resume.
As a part of SoundWire clock stop sequence, Master driver needs to call
APIs for.
1. Prepare Slaves for Clock Stop.
2. Broadcast ClockStopNow to all Slaves.
As part of SoundWire clock stop resume sequence, Maste
This API is used by:
1. Bus driver to read/write MIPI defined registers.
2. Slave driver to read/write SoundWire Slave implementation
defined registers. Slave driver should use regmap driver to
access implementation defined registers, regmap driver uses
read/
This patch adds the support for updating the Slave status to bus driver.
Master driver updates Slave status change to the bus driver. Bus driver
takes appropriate action on Slave status change like.
1. Registering new device if new Slave got enumerated on bus.
2. Assigning the devi
This patch adds the SoundWire bus driver interfaces for following.
1. APIs to register/unregister SoundWire Master device and driver.
2. APIs to register/unregister SoundWire Slave driver.
3. API to Read/Write Slave registers.
4. API for Master driver to update Slave status to bus driver.
5. APIs
From: Sanyog Kale
This patch adds following changes:
1. Prepare and De-prepare operation for stream.
2. Enable and Disable operation for stream.
3. Computation of Bus and Transport parameters.
4. Programming of Bus and Transport Parameters.
Signed-off-by: Hardik S
Signed-off-by: Hardik Shah
Signed-off-by: Sanyog Kale
Reviewed-by: Pierre-Louis Bossart
---
include/sound/sdw_bus.h|7 ++
include/trace/events/sdw.h | 209
sound/sdw/sdw.c| 37
3 files changed, 253 insertions(+)
creat
On 21/10/16 14:05, Peter Zijlstra wrote:
> On Fri, Oct 21, 2016 at 01:58:55PM +0200, Christian Borntraeger wrote:
>> stop_machine can take a very long time if the hypervisor does
>> overcommitment for guest CPUs. When waiting for "the one", lets
>> give up our CPU by using the new cpu_relax_yield.
Add device_id table for the SoundWire Master and Slave devices
and driver registration.
Signed-off-by: Hardik Shah
Signed-off-by: Sanyog Kale
Reviewed-by: Pierre-Louis Bossart
---
include/linux/mod_devicetable.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/include/linux
This patch adds summary documentation of SoundWire bus driver support in
Linux.
Signed-off-by: Hardik Shah
Signed-off-by: Sanyog Kale
Reviewed-by: Pierre-Louis Bossart
---
Documentation/sound/alsa/sdw/summary.txt | 253 ++
1 file changed, 253 insertions(+)
create
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit bea5b158ff0da9c7246ff391f754f5f38e34577a
Author: Rob Herring
AuthorDate: Thu Aug 11 10:20:58 2016 -0500
Commit: Greg Kroa
This patch adds following SoundWire bus driver APIs.
1. Register SoundWire Master device and driver.
2. Register SoundWire Slave driver.
3. Register Slave device capabilities.
Signed-off-by: Hardik Shah
Signed-off-by: Sanyog Kale
Reviewed-by: Pierre-Louis Bossart
---
sound/Kconfig
Fixed coding style issue
Signed-off-by: Nadim Almas
---
drivers/staging/wlan-ng/hfa384x.h | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h
b/drivers/staging/wlan-ng/hfa384x.h
index 6337b1d..cca2652 100644
--- a/drivers/staging/wlan-ng
This patch adds following documentation:
1. Bus driver locking mechanism.
2. Bus driver error handling.
Signed-off-by: Hardik Shah
Signed-off-by: Sanyog Kale
Reviewed-by: Pierre-Louis Bossart
---
Documentation/sound/alsa/sdw/error_handling.txt | 71 +++
Documentat
Greetings,
My old DL980 G7 is exploding on reboot with master, with only the first
couple lines actually making it to the console. Once (and only once)
during bisection it did manage to get the below emitted.
[ 358.315713] BUG: unable to handle kernel NULL pointer dereference at
01
On Fri, Oct 21, 2016 at 3:21 AM, Michal Hocko wrote:
> On Thu 20-10-16 19:04:39, Oleg Nesterov wrote:
>> On 10/20, Leon Yu wrote:
>> >
>> > --- a/fs/proc/base.c
>> > +++ b/fs/proc/base.c
>> > @@ -1014,6 +1014,9 @@ static ssize_t auxv_read(struct file *file, char
>> > __user *buf,
>> > {
>> >
On Wed, Oct 5, 2016 at 9:33 AM, Daniel Lezcano
wrote:
> Currently the different governors are stored in the subdir
> 'governors'. That is not a problem.
>
> However, that forces to declare some private structure in the
> include/linux/cpuidle.h header because these governor files
> don't have acce
On Fri, 21 Oct 2016 14:30:32 +0200,
Daniel Vetter wrote:
>
> On Thu, Oct 20, 2016 at 05:00:35PM +0200, Takashi Iwai wrote:
> > On Thu, 20 Oct 2016 16:56:04 +0200,
> > Ville Syrjälä wrote:
> > >
> > > On Thu, Oct 20, 2016 at 04:39:52PM +0200, Takashi Iwai wrote:
> > > > Since 4.7 kernel, we've see
This file defines data structures, prototypes and inlined functions
used by CaitSith.
In TOMOYO, the policy syntax requires positional mandatory parameters
(e.g. pathname when opening a pathname, pathname and DAC permission mode
when creating a pathname), and is using a dedicated data structure fo
Like ext4 UBIFS will store the crypto context in a xattr
attribute.
Signed-off-by: Richard Weinberger
---
fs/ubifs/ubifs-media.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/fs/ubifs/ubifs-media.h b/fs/ubifs/ubifs-media.h
index e24380cf46ed..d47e9569b3de 100644
--- a/fs/ubifs/ubifs
When a file is moved or linked into another directory
its current crypto policy has to be compatible with the
target policy.
Signed-off-by: Richard Weinberger
---
fs/ubifs/dir.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c
index e80de3852c3e..a77ed
On Thu, Oct 20, 2016 at 12:50:02PM -0200, Gustavo Padovan wrote:
> From: Gustavo Padovan
>
> There is now a new property called FENCE_FD attached to every plane
> state that receives the sync_file fd from userspace via the atomic commit
> IOCTL.
>
> The fd is then translated to a fence (that may
kdb_printf_lock does not prevent other CPUs from entering the critical
section because it is ignored when KDB_STATE_PRINTF_LOCK is set.
The problematic situation might look like:
CPU0CPU1
vkdb_printf()
if (!KDB_STATE(PRINTF_LOCK))
KDB_STATE_SET(PRINTF_LO
This file corresponds to security/tomoyo/common.c . There are 4 major
policy files ("domain_policy", "exception_policy", "profile" and
"manager") in TOMOYO while there is only 1 major policy file ("policy")
in CaitSith.
Signed-off-by: Tetsuo Handa
---
security/caitsith/policy_io.c | 1553 +++
This file corresponds to security/tomoyo/gc.c . Since CaitSith uses
a common variable length data structure, garbage collector became
simpler than TOMOYO.
Signed-off-by: Tetsuo Handa
---
security/caitsith/gc.c | 373 +
1 file changed, 373 insertion
This file allows userspace tools to load policy configuration
unless CONFIG_SECURITY_CAITSITH_OMIT_USERSPACE_LOADER is defined.
If CONFIG_SECURITY_CAITSITH_OMIT_USERSPACE_LOADER is defined,
only built-in policy configuration which is generated as
security/caitsith/builtin-policy.h at compilation t
This file corresponds to security/tomoyo/condition.c and
security/tomoyo/file.c .
Compared to TOMOYO, a new wildcard /\(dir\)/ has been introduced for
helping converting from (e.g.) "/tmp/\{\*\}/" to "/tmp/\(\*\)/\*", for
directory's pathname (except the root directory itself) no longer ends
with
Starting with version 5 the following properties change:
- UBIFS_FLG_DOUBLE_HASH is mandatory
- UBIFS_FLG_ENCRYPTION is optional but depdens on UBIFS_FLG_DOUBLE_HASH
- Filesystems with unknown super block flags will be rejected, this
allows us in future to add new features without raising the
kdb_trap_printk allows to pass normal printk() messages to kdb via
vkdb_printk(). For example, it is used to get backtrace using
the classic show_stack(), see kdb_show_stack().
vkdb_printf() tries to avoid a potential infinite loop by disabling
the trap. But this approach is racy, for example:
CP
CaitSith (acronym for "Characteristic action inspection tool. See if
this helps.") is an LSM based access control implementation which uses
action check list (acl) as policy syntax.
Syntax of an acl block is shown below.
acl "Action" "Whether to check Action or not"
"Decision1" "Whether to
CaitSith uses LSM hooks and securityfs support. For now, CaitSith is not
using security blobs (i.e. "void *security" field in data structures)
so that you can enable CaitSith using Multiple Concurrent LSMs.
Signed-off-by: Tetsuo Handa
---
security/Kconfig | 6 ++
security/Makefile
On Fri, Oct 21, 2016 at 11:29:16AM +0200, Richard Weinberger wrote:
> DMA to vmalloced memory not good, it may work by chance if you transfer
> less than PAGE_SIZE.
> Especially on ARM.
DMA to vmalloc'ed or vmap memory is perfectly fine, you just have to be
very careful.
I would suggest to not ex
This feature flag indicates that the filesystem contains encrypted
files.
Signed-off-by: Richard Weinberger
---
fs/ubifs/ioctl.c | 5 +
fs/ubifs/sb.c | 40
fs/ubifs/ubifs-media.h | 2 ++
fs/ubifs/ubifs.h | 3 +++
4 files change
This is a simplified version of security/tomoyo/realpath.c , except
two changes listed below.
A "\" character (0x5C) in TOMOYO is represented as "\\" while
it in CaitSith is represented as "\134". This allows us to tell
whether a "\" character at any position is a literal "\" character
wit
This version implements only execve() related LSM hooks.
Signed-off-by: Tetsuo Handa
---
security/caitsith/lsm.c | 60 +
1 file changed, 60 insertions(+)
create mode 100644 security/caitsith/lsm.c
diff --git a/security/caitsith/lsm.c b/security/c
I have been asked whether it is safe to call vkdb_printf() from
vprintk_nmi() in NMI context. It seems that it is not safe.
Well, is not a big deal.
But I have noticed suspicious patterns when looking at the
vkdb_printf() locking code and prepared two patches that
should avoid some possible races.
On Thu, Oct 20, 2016 at 12:50:03PM -0200, Gustavo Padovan wrote:
> From: Gustavo Padovan
>
> If the event gets canceled we also need to put away the fence
> reference it holds.
>
> Signed-off-by: Gustavo Padovan
Reviewed-by: Daniel Vetter
I've broken my local dim scripts right now, so can't
On Thu, Oct 20, 2016 at 05:05:30PM +0200, Takashi Iwai wrote:
> Since 4.7 kernel, we've seen the error messages like
>
> kernel: [TTM] Buffer eviction failed
> kernel: qxl :00:02.0: object_init failed for (4026540032, 0x0001)
> kernel: [drm:qxl_alloc_bo_reserved [qxl]] *ERROR* failed to
This feature flag indicates that all directory entry nodes have a 32bit
cookie set and therefore UBIFS is allowed to perform lookups by hash.
Signed-off-by: Richard Weinberger
---
fs/ubifs/journal.c | 14 +++---
fs/ubifs/sb.c | 2 ++
fs/ubifs/tnc.c | 3 +++
fs/ubif
Signed-off-by: Richard Weinberger
---
fs/ubifs/debug.c | 14 +--
fs/ubifs/dir.c | 284 +++--
fs/ubifs/journal.c | 76 +++---
fs/ubifs/key.h | 19 ++--
fs/ubifs/replay.c | 8 +-
fs/ubifs/tnc.c | 54 +-
fs/ubifs/ub
...and provide a non const variant for fscrypto
Signed-off-by: Richard Weinberger
---
fs/ubifs/crypto.c | 2 +-
fs/ubifs/ubifs.h | 7 ++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/fs/ubifs/crypto.c b/fs/ubifs/crypto.c
index 160c31479e0c..d19a097435f0 100644
--- a/fs/ubi
On Thu, Oct 20, 2016 at 12:50:04PM -0200, Gustavo Padovan wrote:
> From: Gustavo Padovan
>
> Create one timeline context for each CRTC to be able to handle out-fences
> and signal them. It adds a few members to struct drm_crtc: fence_context,
> where we store the context we get from fence_context
UBIFS stores a 32bit hash of every file, for traditional lookups by name
this scheme is fine since UBIFS can first try to find the file by the
hash of the filename and upon collisions it can walk through all entries
with the same hash and do a string compare.
When filesnames are encrypted fscrypto
tnc_read_hashed_node() is a better name since we read a node
by a given hash, not a name.
Signed-off-by: Richard Weinberger
---
fs/ubifs/tnc.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/ubifs/tnc.c b/fs/ubifs/tnc.c
index 0d0030461cb4..0d751297873e 100644
On Fri, 21 Oct 2016, Eric Dumazet wrote:
> Some of us are dealing with huge HTB hierarchies, so adding default fifo
> in the dump will add more data pumped from the kernel.
>
> BwE [1] for instance dumps qdisc/classes every 5 seconds.
>
> I guess we'll need to not pull this patch in our kernels.
This patch series implements file level encryption for UBIFS.
It makes use of the generic fscrypto framework as used by ext4 and f2fs.
Among file contents also file names are encrypted,
for more details on fscrypto please see [0] and [1].
To support encrypted files in UBIFS multiple preparations w
As of now all filenames known by UBIFS are strings with a NUL
terminator. With encrypted filenames a filename can be any binary
string and the r5 function cannot search for the NUL terminator.
UBIFS always knows how long a filename is, therefore we can change
the hash function to iterate over the f
When data of a data node is compressed and encrypted
we need to store the size of the compressed data because
before encryption we may have to add padding bytes.
For the new field we consume the last two padding bytes
in struct ubifs_data_node. Two bytes are fine because
the data length is at most
We need this extra check in mmap because a process could
gain an already opened fd.
Signed-off-by: Richard Weinberger
---
fs/ubifs/file.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
index fc79278969e5..bd0049788e24 100644
--- a/fs/ubifs/file.c
+
Some filesystems, such as UBIFS, maintain a const pointer
for struct inode.
Signed-off-by: Richard Weinberger
---
fs/crypto/crypto.c | 12 +++-
include/linux/fscrypto.h | 12 +++-
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/fs/crypto/crypto.c b/fs/crypt
Signed-off-by: Richard Weinberger
---
fs/ubifs/dir.c | 81 +---
fs/ubifs/file.c | 55 +-
fs/ubifs/super.c | 1 -
3 files changed, 125 insertions(+), 12 deletions(-)
diff --git a/fs/ubifs/dir.c b/fs/ubifs/
Signed-off-by: Richard Weinberger
---
fs/ubifs/file.c| 36 ++
fs/ubifs/journal.c | 105 +++--
fs/ubifs/super.c | 6 ++-
fs/ubifs/ubifs.h | 6 +++
4 files changed, 131 insertions(+), 22 deletions(-)
diff --git a/fs/ubifs
On Thu, Oct 20, 2016 at 10:15:20PM +0300, Ville Syrjälä wrote:
> On Thu, Oct 20, 2016 at 07:34:44PM +0300, Ville Syrjälä wrote:
> > On Thu, Oct 20, 2016 at 01:55:38PM -0200, Gustavo Padovan wrote:
> > > 2016-10-20 Ville Syrjälä :
> > >
> > > > On Thu, Oct 20, 2016 at 12:50:05PM -0200, Gustavo Pado
On Fri, Oct 21, 2016 at 02:48:49PM +0200, Takashi Iwai wrote:
> On Fri, 21 Oct 2016 14:30:32 +0200,
> Daniel Vetter wrote:
> >
> > On Thu, Oct 20, 2016 at 05:00:35PM +0200, Takashi Iwai wrote:
> > > On Thu, 20 Oct 2016 16:56:04 +0200,
> > > Ville Syrjälä wrote:
> > > >
> > > > On Thu, Oct 20, 201
Signed-off-by: Richard Weinberger
---
fs/ubifs/journal.c | 3 +++
fs/ubifs/ubifs.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c
index 50696c6e0ae2..dcecfbfbf40e 100644
--- a/fs/ubifs/journal.c
+++ b/fs/ubifs/journal.c
@@ -589,6 +589,7 @@ int ubif
On Fri, Oct 21, 2016 at 02:30:32PM +0200, Daniel Vetter wrote:
> On Thu, Oct 20, 2016 at 05:00:35PM +0200, Takashi Iwai wrote:
> > On Thu, 20 Oct 2016 16:56:04 +0200,
> > Ville Syrjälä wrote:
> > >
> > > On Thu, Oct 20, 2016 at 04:39:52PM +0200, Takashi Iwai wrote:
> > > > Since 4.7 kernel, we've
On Tue, Oct 18, 2016 at 10:44 PM, Javier Martinez Canillas
wrote:
> If the driver is built as a module, autoload won't work because the module
> alias information is not filled. So user-space can't match the registered
> device with the corresponding module.
>
> Export the module alias informatio
With encrypted filenames we store raw binary data, doing
string tests is no longer possible.
Signed-off-by: Richard Weinberger
---
fs/ubifs/replay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ubifs/replay.c b/fs/ubifs/replay.c
index 3ca4540130b5..f02adc49425b 100644
-
301 - 400 of 935 matches
Mail list logo