On Sun 30-12-18 08:45:13, Michal Hocko wrote:
> On Sat 29-12-18 11:34:29, Shakeel Butt wrote:
> > On Sat, Dec 29, 2018 at 2:06 AM Michal Hocko wrote:
> > >
> > > On Sat 29-12-18 10:52:15, Florian Westphal wrote:
> > > > Michal Hocko wrote:
> > > > > On Fri 28-12-18 17:55:24, Shakeel Butt wrote:
Dear Friend,
I came across your e-mail contact prior a private search while in need
of your assistance. My name is Aisha Gaddafi a single Mother and a
Widow with three Children. I am the only biological Daughter of late
Libyan President (Late Colonel Muammar Gaddafi).
I have an investment funds
Hi Balakrishna,
>>> Latest qualcomm chips are not sending an command complete event for
>>> every firmware packet sent to chip. They only respond with a vendor
>>> specific event for the last firmware packet. This optimization will
>>> decrease the BT ON time. Due to this we are seeing a timeout
This patch changes the GPIO access for the pps-gpio driver from the
integer based API to the descriptor based API.
Reviewed-by: Philipp Zabel
Signed-off-by: Tom Burkart
---
drivers/pps/clients/pps-gpio.c | 67 +++---
include/linux/pps-gpio.h | 3 +-
2
This patch implements the device tree binding changes required for the
pps echo functionality for pps-gpio, that sysfs claims is available
already.
This patch was originally written by Lukas Senger as part of a masters
thesis project and modified for inclusion into the linux kernel by Tom
Hi all,
please find attached the PPS-GPIO PPS ECHO implementation patch. The
driver claims to have echo functionality in the sysfs interface but this
functionality is not present. This patch provides this functionality.
Part 1 of the patch change the original driver from the number
based GPIO
This patch implements the pps echo functionality for pps-gpio, that
sysfs claims is available already.
Configuration is done via device tree bindings.
This patch was originally written by Lukas Senger as part of a masters
thesis project and modified for inclusion into the linux kernel by Tom
Hi Sibi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on agross/for-next]
[also build test ERROR on v4.20 next-20181224]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
On Fri, 28 Dec 2018 20:04:48 +0100,
Linus Torvalds wrote:
>
> On Fri, Dec 28, 2018 at 9:07 AM Takashi Iwai wrote:
> >
> > 1) Whether ASoC driver cannot work with these Dell machines at all
>
> I'm willing to test patches.
>
> Right now, the reason it fails to even load is that "codec_mask" is
On Wed, Dec 26, 2018 at 10:03 AM Dmitry Vyukov wrote:
> > > Hello Dmitry,
> > >
> > > On 12/23/18 11:42 AM, Dmitry Vyukov wrote:
> > > > Actually was able to reproduce this with a syzkaller program:
> > > > ./syz-execprog -repeat=0 -procs=10 prog
> > > > ...
> > > > kasan: CONFIG_KASAN_INLINE
On 30.12.2018 00:40, Andrew Morton wrote:
> On Thu, 13 Dec 2018 18:29:08 +0300 Kirill Tkhai wrote:
>
>> This patch adds an optimization for KSM pages almost
>> in the same way, that we have for ordinary anonymous
>> pages. If there is a write fault in a page, which is
>> mapped to an only pte,
Hi Alexey,
thanks for the patch
On Sun, Dec 30, 2018 at 12:35:20AM +0300, Alexey Khoroshilov wrote:
> If gpiod_get_optional() fails in tw9910_power_on(), clk is left undisabled.
>
Correct, thanks for spotting this.
I think pdn_gpio should also be handled if rstb_gpio fails.
What's your
Hello, I encountered a "can't wake_up" problem when use camera on imx6.
if delay some time after 'streamon' the /dev/video0, then add fd
through epoll_ctl, then the process can't be waken_up after some time.
I checked both the epoll / vb2_poll(videobuf2_core.c) code.
epoll will pass
> Il giorno 28 dic 2018, alle ore 00:41, Tejun Heo ha scritto:
>
> Hello, Paolo.
>
> On Sun, Dec 23, 2018 at 12:00:14PM +0100, Paolo Valente wrote:
>> 4.21 is coming ... and the legacy proportional share interface will
>> be gone with cfq. This will break legacy code using the
>>
Hello,
syzbot found the following crash on:
HEAD commit:d8924c0d76aa Merge tag 'devprop-4.21-rc1' of git://git.ker..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=122a373f40
kernel config: https://syzkaller.appspot.com/x/.config?x=91a256823ef17263
On Fri, Dec 28, 2018 at 11:56 PM Stephen Boyd wrote:
>
> A grep of the kernel shows that many drivers print an error message if
> they fail to get the irq they're looking for. Furthermore, those drivers
> all decide to print the device name, or not, and the irq they were
> requesting, or not,
Hi Linus
Happy new year!
The following changes since commit 2595646791c319cadfdbf271563aac97d0843dc7:
Linux 4.20-rc5 (2018-12-02 15:07:55 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/
tags/kgdb-4.21-rc1
for you to fetch
+ linux-spi, LAKML
Am 29.12.18 um 21:16 schrieb Andreas Färber:
> Am 29.12.18 um 20:25 schrieb Andreas Färber:
>> Am 12.10.18 um 18:26 schrieb Ben Whitten:
>>> +static int sx125x_register_clock_provider(struct sx125x_priv *priv)
>>> +{
>>> + struct device *dev = priv->dev;
>>> + struct
On Sunday, 30 December 2018 11.41.03 CET syzbot wrote:
[...]
> HEAD commit:d8924c0d76aa Merge tag 'devprop-4.21-rc1' of git://git.ker..
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=122a373f40
> kernel config:
On 12/28/18, Uros Bizjak wrote:
> Use CC_SET(z)/CC_OUT(z) instead of explicit setz instruction.
> Using these two defines, the compiler that supports generation of
> condition code outputs from inline assembly flags generates one
> conditional jump instruction, e.g:
Unfortunatelly, the 0day
On Sun, Dec 30, 2018 at 12:00 PM Sven Eckelmann wrote:
>
> On Sunday, 30 December 2018 11.41.03 CET syzbot wrote:
> [...]
> > HEAD commit:d8924c0d76aa Merge tag 'devprop-4.21-rc1' of git://git.ker..
> > git tree: upstream
> > console output:
Hi Jacopo,
On 30.12.2018 12:49, Jacopo Mondi wrote:
> On Sun, Dec 30, 2018 at 12:35:20AM +0300, Alexey Khoroshilov wrote:
>> If gpiod_get_optional() fails in tw9910_power_on(), clk is left undisabled.
>
> Correct, thanks for spotting this.
>
> I think pdn_gpio should also be handled if
* Paul E. McKenney wrote:
> On Sat, Dec 29, 2018 at 07:04:53PM +0100, Willy Tarreau wrote:
> > As suggested by Ingo, this header file might benefit other tools than
> > just rcutorture. For now it's quite limited, but is easy to extend, so
> > exposing it into tools/include/nolibc/ will make
On 30/12/2018 06:01, syzbot wrote:
> Hello,
>
> syzbot found the following crash on:
>
> HEAD commit: 90cadbbf341d Merge git://git.kernel.org/pub/scm/linux/kern..
> git tree: net-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=1745c69b40
> kernel config:
From: Jan Kiszka
Somewhere along recent changes to power control of the wl1835, power-on
became very unreliable on the hikey, failing like this:
wl1271_sdio: probe of mmc2:0001:1 failed with error -16
wl1271_sdio: probe of mmc2:0001:2 failed with error -16
After playing with some dt
On Sun, Dec 30, 2018 at 12:25:02PM +0100, Ingo Molnar wrote:
Could we please also use the opportunity and move
> nolibc.h to a more prominent place, like in tools/include/nolibc/nolibc.h
> or so?
It's exactly what the last patch does, I followed your suggestion :-)
Willy
If gpiod_get_optional() fails in tw9910_power_on(), clk is left undisabled.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov
---
v2: reset pdn_gpio as well as Jacopo Mondi suggested.
drivers/media/i2c/tw9910.c | 5 +
1 file changed, 5
tw9910 driver tries to sleep for the smae period of time
after each gpiod_set_value(). The patch moves duplicated code
to a helper function.
Signed-off-by: Alexey Khoroshilov
---
drivers/media/i2c/tw9910.c | 30 +-
1 file changed, 13 insertions(+), 17 deletions(-)
* Willy Tarreau wrote:
> On Sun, Dec 30, 2018 at 12:25:02PM +0100, Ingo Molnar wrote:
> Could we please also use the opportunity and move
> > nolibc.h to a more prominent place, like in tools/include/nolibc/nolibc.h
> > or so?
>
> It's exactly what the last patch does, I followed your
Hi Linus,
Please pull the watchdog changes for the v4.21 release cycle.
This series contains:
* add TQ-Systems TQMX86 watchdog driver
* add Qualcomm PM8916 watchdog driver
* w83627hf_wdt: add quirk for Inves system
* renesas_wdt: several improvements and document r8a774c0 support
* mena21_wdt,
* Vincent Guittot wrote:
> > Reported-by: Zhipeng Xie
> > Cc: Bin Li
> > Cc: [4.10+]
> > Fixes: 9c2791f936ef (sched/fair: Fix hierarchical order in
> > rq->leaf_cfs_rq_list)
>
> If it only happens in update_blocked_averages(), the del leaf has been added
> by:
> a9e7f6544b9c
* Ingo Molnar wrote:
>
> * Vincent Guittot wrote:
>
> > > Reported-by: Zhipeng Xie
> > > Cc: Bin Li
> > > Cc: [4.10+]
> > > Fixes: 9c2791f936ef (sched/fair: Fix hierarchical order in
> > > rq->leaf_cfs_rq_list)
> >
> > If it only happens in update_blocked_averages(), the del
As mentioned in the info pages of gas, the '.align' pseudo op's
interpretation of the alignment value is architecture specific.
It might either be a byte value or taken to the power of two.
On ARM it's actually the latter which leads to unnecessary large
alignments of 16 bytes for 32 bit builds
On Sun, 30 Dec 2018 at 13:04, Ingo Molnar wrote:
>
>
> * Vincent Guittot wrote:
>
> > > Reported-by: Zhipeng Xie
> > > Cc: Bin Li
> > > Cc: [4.10+]
> > > Fixes: 9c2791f936ef (sched/fair: Fix hierarchical order in
> > > rq->leaf_cfs_rq_list)
> >
> > If it only happens in
The reference to '__vermagic' is a relict from v2.5 times. And even
there it had a very short life time, from v2.5.59 (commit 1d411b80ee18
("Module Sanity Check") in the historic tree) to v2.5.69 (commit
67ac5b866bda ("[PATCH] complete modinfo section")).
Neither current kernels nor modules
* Vincent Guittot wrote:
> On Sun, 30 Dec 2018 at 13:04, Ingo Molnar wrote:
> >
> >
> > * Vincent Guittot wrote:
> >
> > > > Reported-by: Zhipeng Xie
> > > > Cc: Bin Li
> > > > Cc: [4.10+]
> > > > Fixes: 9c2791f936ef (sched/fair: Fix hierarchical order in
> > > >
Commit-ID: c40f7d74c741a907cfaeb73a7697081881c497d0
Gitweb: https://git.kernel.org/tip/c40f7d74c741a907cfaeb73a7697081881c497d0
Author: Linus Torvalds
AuthorDate: Thu, 27 Dec 2018 13:46:17 -0800
Committer: Ingo Molnar
CommitDate: Sun, 30 Dec 2018 13:54:31 +0100
sched/fair: Fix
On Sat, 2018-12-29 at 22:33 -0500, Mimi Zohar wrote:
> On Tue, 2018-12-25 at 14:55 +0100, Michael Niewöhner wrote:
> > On Sun, 2018-12-23 at 12:55 +0100, Michael Niewöhner wrote:
> > > Hi Mimi,
> > >
> > > On Sat, 2018-12-22 at 17:53 -0500, Mimi Zohar wrote:
> > > > On Sat, 2018-12-22 at 14:47
From: Colin Ian King
Don't populate the const array 'data' on the stack but instead
make it static. Makes the object code smaller by 78 bytes:
Before:
textdata bss dec hex filename
54381080 065181976 mediatek/mt76/mt76x2/usb_mcu.o
After:
textdata
Base on the discussion in the following mail loop about checking
capability in sysfs write handler:
https://lkml.org/lkml/2018/9/13/978
Some sysfs write handler are checking the writer's capability by using
capable(). Base on CVE-2013-1959, those code should use file_ns_capable()
to check the
There have some discussion in the following mail loop about checking
capability in sysfs write handler:
https://lkml.org/lkml/2018/9/13/978
Sometimes we check the capability in sysfs implementation by using
capable function. But the checking can be bypassed by opening sysfs
file within an
The wake lock/unlock sysfs interfaces check that the writer must has
CAP_BLOCK_SUSPEND capability. But the checking logic can be bypassed
by opening sysfs file within an unprivileged process and then writing
the file within a privileged process. The tricking way has been exposed
by Andy Lutomirski
From: Colin Ian King
A return statement is not indented enough, fix this by adding the
missing tab.
Signed-off-by: Colin Ian King
---
drivers/nfc/st95hf/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/nfc/st95hf/core.c b/drivers/nfc/st95hf/core.c
index
From: Colin Ian King
A statement is indented with spaces and not indented enough, fix this
replacing spaces with a tab.
Signed-off-by: Colin Ian King
---
drivers/crypto/virtio/virtio_crypto_algs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
On Sat, 29 Dec 2018 at 16:49, Andy Lutomirski wrote:
> > Could you use a prctl to set whether you were running in 32 or 64 bit
> > mode? Or do you change which kind of task you're emulating too often
> > to make this a good idea?
QEMU's linux-user mode always only runs the single process,
which
Am Samstag, 29. Dezember 2018, 14:33:12 CET schrieb Johan Jonker:
> A MK808 TV stick with rk3066 processor
> boots normal with logo and console,
> but after booting the monitor remains black.
> This patch fixes a vblank wait time out
> by adding HCLK_HDMI to the pmu node.
> The HCLK_HDMI clock is
On Sun, 14 Oct 2018 16:04:51 +0200
Jiri Olsa wrote:
> Acked-by: Jiri Olsa
Is there anything I could do to improve the patch? Should I wrap the
path to objdump executable in a similar way?
--
Best regards,
Ivan
On Sun, Dec 30, 2018 at 09:28:54PM +0800, Lee, Chun-Yi wrote:
> There have some discussion in the following mail loop about checking
> capability in sysfs write handler:
> https://lkml.org/lkml/2018/9/13/978
A sysfs callback should not care about stuff like this.
Worst case, do a simple:
On Sun, Dec 30, 2018 at 09:28:56PM +0800, Lee, Chun-Yi wrote:
> The wake lock/unlock sysfs interfaces check that the writer must has
> CAP_BLOCK_SUSPEND capability. But the checking logic can be bypassed
> by opening sysfs file within an unprivileged process and then writing
> the file within a
Hi Linus,
here is the big pull request for pin control changes this merge
window.
It took some days to stabilize some last minute Kconfig changes
and I wanted some build coverage before sending the pull request.
We have no core changes but lots of incremental development
in drivers all over the
Currently, CONFIG_JUMP_LABEL just means "I _want_ to use jump label".
The jump label is controlled by HAVE_JUMP_LABEL, which is defined
like this:
#if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_JUMP_LABEL)
# define HAVE_JUMP_LABEL
#endif
We can improve this by testing 'asm goto' support
Set TRACE_INCLUDE_PATH correctly for exceptions.h and irq_vectors.h
This is consistent with fpu.h, hyperv.h, mpx.h in the same directory.
The ugly include paths will go away.
Signed-off-by: Masahiro Yamada
---
Changes in v2:
- Rebase
arch/x86/include/asm/trace/exceptions.h | 2 +-
Hello,
On Sun, Dec 30, 2018 at 08:48:05AM +0100, Dmitry Vyukov wrote:
> On Wed, Dec 12, 2018 at 10:58 AM Dmitry Vyukov wrote:
> >
> > On Wed, Dec 12, 2018 at 10:45 AM syzbot
> > wrote:
> > >
> > > Hello,
> > >
> > > syzbot found the following crash on:
> > >
> > > HEAD commit:14cf8c1d5b90
Convert the conditional infix to a postfix to make sure this inline
assembly is unified syntax.
Signed-off-by: Stefan Agner
---
arch/arm/include/asm/spinlock.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/spinlock.h b/arch/arm/include/asm/spinlock.h
During the last few days I tried compiling the kernel for ARM32 with
LLVMs integrated assembler. The elephant in the room is definitely the
unified syntax which is required by the LLVM assembler. I converted most
mnemonics using a regex, but it is not perfect and needs some manual fixes.
I am not
The macro str8w takes 10 arguments, abort being the 10th. In this
particular instantiation the abort argument is passed as 11th
argument leading to an error when using LLVM's integrated
assembler:
:46:47: error: too many positional arguments
str8w r0, r3, r4, r5, r6, r7, r8, r9, ip, ,
Convert the conditional infix to a postfix to make sure this inline
assembly is unified syntax.
Signed-off-by: Stefan Agner
---
arch/arm/include/asm/uaccess.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/uaccess.h b/arch/arm/include/asm/uaccess.h
Hi,
When using ext4 encryption on SPARC, there's plenty of dmesg noise about
unaligned access:
[ 167.269526] Kernel unaligned access at TPC[5497a0]
find_and_lock_process_key+0x80/0x120
[ 167.270152] Kernel unaligned access at TPC[5497a0]
find_and_lock_process_key+0x80/0x120
[ 181.087451]
Convert spaces to tabs to get correct alignment.
Found with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/net/ethernet/intel/i40e/i40e_main.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c
Delete tab aligning a statement with the right hand side of a
preceding assignment rather than the left hand side.
Found with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/usb/gadget/udc/snps_udc_core.c | 17 -
1 file changed, 8 insertions(+), 9
These patches fix cases where a subsequent statement is aligned
with the right hand side of an assignment rather than the left
hand side. This was done using the following semantic match
(http://coccinelle.lip6.fr/). It has a lot of false positives,
because Coccinelle doesn't record the
Delete tab aligning a statement with the right hand side of a
preceding assignment rather than the left hand side.
Found with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/scsi/pm8001/pm8001_sas.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Delete tab aligning a statement with the right hand side of a
preceding assignment rather than the left hand side.
Found with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Delete tab aligning a statement with the right hand side of a
preceding assignment rather than the left hand side.
Found with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/iommu/msm_iommu.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
Delete tab aligning a statement with the right hand side of a
preceding assignment rather than the left hand side.
Found with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/firmware/stratix10-svc.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff
Delete tab aligning a statement with the right hand side of a
preceding assignment rather than the left hand side.
Found with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff
Delete tab aligning a statement with the right hand side of a
preceding assignment rather than the left hand side.
Found with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/net/ethernet/amazon/ena/ena_eth_com.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
A UMH process which is created by the fork_usermode_blob() such as
bpfilter needs to release members of the umh_info when process is
terminated.
But the do_exit() does not release members of the umh_info. hence module
which uses UMH needs own code to detect whether UMH process is
terminated or
This patches fix two bugs in the bpfilter_umh which are related in
iptables command.
The first patch adds an exit code for UMH process.
This provides an opportunity to cleanup members of the umh_info
to modules which use the UMH.
The second patch makes the bpfilter_umh use UMH cleanup callback.
The bpfilter_umh will be stopped via __stop_umh() when the bpfilter
error occurred.
The bpfilter_umh() couldn't start again because there is no restart
routine.
The section of the bpfilter_umh_{start/end} is no longer .init.rodata
because these area should be reused in the restart routine. hence
The bpfilter.ko module can be removed while functions of the bpfilter.ko
are executing. so panic can occurred. in order to protect that, locks can
be used. a bpfilter_lock protects routines in the
__bpfilter_process_sockopt() but it's not enough because __exit routine
can be executed concurrently.
Now, UMH process is killed, do_exit() calls the umh_info->cleanup callback
to release members of the umh_info.
This patch makes bpfilter_umh's cleanup routine to use the
umh_info->cleanup callback.
Signed-off-by: Taehee Yoo
---
include/linux/bpfilter.h | 11 ---
The graphviz looks better. This patch also fixes multiple build warnings:
"WARNING: Block quote ends without a blank line; unexpected unindent."
Signed-off-by: Otto Sabart
---
Documentation/admin-guide/cgroup-v2.rst | 83 -
1 file changed, 66 insertions(+), 17
Improve readability using the :file: markup.
Signed-off-by: Otto Sabart
---
Documentation/admin-guide/cgroup-v2.rst | 28 -
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/Documentation/admin-guide/cgroup-v2.rst
b/Documentation/admin-guide/cgroup-v2.rst
On 12/29/18 8:07 PM, Pavel Machek wrote:
Hi!
With the "color" sysfs file it will make more sense to allow for user
defined color palettes.
I think defining these values in the device tree or acpi severely limits the
devices
capabilities. Especially in development phases. If the knobs
Am Samstag, 29. Dezember 2018, 14:33:13 CET schrieb Johan Jonker:
> From: Finley Xiao
>
> Add CLK_SET_RATE_PARENT for lcdc dclk.
>
> Signed-off-by: Finley Xiao
> Signed-off-by: Johan Jonker
applied for 4.22
Thanks
Heiko
On Sun, Dec 30, 2018 at 02:21:52PM +1100, NeilBrown wrote:
>
> These files need
>#include
> to compile correctly.
>
> Fixes: ac3167257b9f ("headers: separate linux/mod_devicetable.h from
> linux/platform_device.h")
> Signed-off-by: NeilBrown
Reviewed-by: Guenter Roeck
> ---
>
Hi Johan,
Am Samstag, 29. Dezember 2018, 14:33:14 CET schrieb Johan Jonker:
> From: Mark Yao
>
> This patch adds the rk3066 VOP definitions.
>
> The VOP or LCD Controller serves as interface between
> framebuffer memory and a display device (LCD panel or TV set).
>
> This SOC has two
The "ENERGY_PERF_BIAS: Set to 'normal', was 'performance'" message triggers
on pretty much every Intel machine. The purpose of log messages with
a warning level is to notify the user of something which potentially is
a problem, or at least somewhat unexpected.
This message clearly does not match
On Sun 2018-12-30 18:09:35, Jacek Anaszewski wrote:
> On 12/29/18 8:07 PM, Pavel Machek wrote:
> >Hi!
> >
> With the "color" sysfs file it will make more sense to allow for user
> defined color palettes.
>
> >>>
> >>>I think defining these values in the device tree or acpi severely
On Sun, 30 Dec 2018 17:49:45 +0100
Otto Sabart wrote:
> The graphviz looks better. This patch also fixes multiple build warnings:
> "WARNING: Block quote ends without a blank line; unexpected unindent."
>
> Signed-off-by: Otto Sabart
The graphviz looks better *in some settings*, such as the
drmP.h is an relic from the days when there was a single header file.
To enable the removal of drmP.h from all users drop include
of drmP.h from drm_modeset_helper.h.
A few files relied on the file included in drmP.h - add explicit
include statements to these files.
Build tested with arm and x86.
drm_file.h embed struct idr, so this file need to know
the full type definition.
With this change users of drm_file.h are no longer forced
to include idr.h - a file they usually get from drmP.h
This makes it simpler to remove drmP.h includes
Signed-off-by: Sam Ravnborg
Cc: Jani Nikula
Cc:
Updated comment style to kernel-doc format in drm_device.h
In struct drm_device there are 12 struct members without doc:
- registered
- filelist_mutex
- filelist
- irq
- vbl_lock
- event_lock
- hose
- sigdata
- sigdata.context
- sigdata.lock
- agp_buffer_map
- agp_buffer_token
They all need
With all dependencies fixed we can now remove
drmP.h from drm_gem_cma_helper.h.
It is replaced by the include files required,
or forward declarations as appropritate.
Signed-off-by: Sam Ravnborg
Cc: Maarten Lankhorst
Cc: Maxime Ripard
Cc: Sean Paul
Cc: David Airlie
Cc: Daniel Vetter
---
Move DRM_IF_VERSION out of drmP.h to allow users
to get rid of the drmP include.
Signed-off-by: Sam Ravnborg
Cc: Maarten Lankhorst
Cc: Maxime Ripard
Cc: Sean Paul
Cc: David Airlie
Cc: Daniel Vetter
Signed-off-by: Daniel Vetter
Link:
Add forward declaration and pull in include
file to make drm_framebuffer.h self contained.
While add it order include files alphabetically.
The use of TASK_COMM_LEN is the reason for including sched.h.
I could not see any good way to avoid this dependency,
and users of drm_framebuffer.comm
drmP.h was the only header file in the past and a lot
of files rely on that drmP.h defines everything.
The goal is to one day to delete drmP.h and
as a step towards this it will no longer be included in the
headers files in include/drm/
To prepare stm/ for this add dependencies that
othwewise was
No further changes required.
Signed-off-by: Sam Ravnborg
Cc: Maarten Lankhorst
Cc: Maxime Ripard
Cc: Sean Paul
Cc: David Airlie
Cc: Daniel Vetter
---
include/drm/drm_encoder_slave.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/drm/drm_encoder_slave.h
The goal with this small series is to remove the last bits
that prevents us from removing drmP.h driver-by-driver or file by file.
- drmP.h is now stripped down to include files and forward declarations.
- All header files in include/drm/ no longer include drmP.h.
The series was made on top of
drmP.h was the only header file in the past and a lot
of files rely on that drmP.h defines everything.
The goal is to one day to delete drmP.h and
as a step towards this it will no longer be included in the
headers files in include/drm/
To prepare arc/ for this add dependencies that
othwewise was
drmP.h was the only header file in the past and a lot
of files rely on that drmP.h defines everything.
The goal is to one day to delete drmP.h and
as a step towards this it will no longer be included in the
headers files in include/drm/
To prepare tinydrm/ for this add dependencies that
othwewise
In the quest to get rid of drmP.h move the newly
added EXPORT_SYMBOL_FOR_TESTS_ONLY to drm_util.h.
Fix the single user.
Add a note to drmP.h to avoid further use of it.
Signed-off-by: Sam Ravnborg
Cc: Maarten Lankhorst
Cc: Maxime Ripard
Cc: Sean Paul
Cc: David Airlie
Cc: Daniel Vetter
---
Arnd Bergmann a écrit :
On Sat, Dec 29, 2018 at 3:51 AM Michael Schmitz wrote:
Hi Finn,
Am 29.12.2018 um 15:34 schrieb Finn Thain:
> On Sat, 29 Dec 2018, Michael Schmitz wrote:
>
>>
>> IS_BUILTIN(CONFIG_NVRAM) is probably what Christophe really
meant to suggest.
>>
>> Or (really going
Move drm_can_sleep() out of drmP.h to allow users
to get rid of the drmP.h include.
There was no header file that was a good match for this helper function.
So add this to drm_util with the relevant includes.
Update comments to use kernel-doc style.
Add FIXME to drm_can_sleep and add note
that
drmP.h is an relic from the days when there was a single header file.
To enable the removal of drmP.h from all users drop include
of drmP.h from bridge/dw_hdmi.h.
A few files relied on the file included in drmP.h - add explicit
include statements or forward declarations to these files.
Build
Move DRM_SWITCH_POWER out of drmP.h to allow users
to get rid of the drmP include.
Moved to drm_device.h because drm_device.switch_power_state
is the only user.
Converted to enum and added sparse kerneldoc comments.
Signed-off-by: Sam Ravnborg
Cc: Maarten Lankhorst
Cc: Maxime Ripard
Cc: Sean
Finn Thain a écrit :
On Sat, 29 Dec 2018, Arnd Bergmann wrote:
On Wed, Dec 26, 2018 at 1:43 AM Finn Thain
wrote:
> +
> +static ssize_t m68k_nvram_get_size(void)
> +{
> + if (MACH_IS_ATARI)
> + return atari_nvram_get_size();
> + else if (MACH_IS_MAC)
> +
syzbot has found a reproducer for the following crash on:
HEAD commit:b71acb0e3721 Merge branch 'linus' of git://git.kernel.org/..
git tree: net-next
console output: https://syzkaller.appspot.com/x/log.txt?x=1449435340
kernel config:
On Sun, 2018-12-30 at 18:50 +0100, LEROY Christophe wrote:
> Arnd Bergmann a écrit :
> > On Sat, Dec 29, 2018 at 3:51 AM Michael Schmitz
> > wrote:
[...]
> > > (On second thought - I don't want to speculate whether there's
> > > weird compiler options that could result in the
> > >
1 - 100 of 211 matches
Mail list logo