On 03/02/18 at 04:16pm, AKASHI Takahiro wrote:
> On Fri, Mar 02, 2018 at 02:08:57PM +0800, Dave Young wrote:
> > On 03/02/18 at 01:53pm, Dave Young wrote:
> > > On 03/02/18 at 02:24pm, AKASHI Takahiro wrote:
> > > > On Fri, Mar 02, 2018 at 01:04:26PM +0800, Dave Young wrote:
> > > > > On 02/27/18 a
Am 01.03.2018 um 19:49 schrieb Bjorn Helgaas:
On Wed, Feb 21, 2018 at 10:07:15AM +0100, Christian König wrote:
Is it entirely possible that the BIOS wasn't able to assign resources to
a device. In this case don't crash in pci_release_resource() when we try
to resize the resource.
v2: keep print
From: Hyunchul Lee
This patch adds nowait aio support[1].
Return EAGAIN if any of the following checks fail for direct I/O:
- i_rwsem is not lockable
- Blocks are not allocated at the write location
And xfstests generic/471 is passed.
[1]: 6be96d "Introduce RWF_NOWAIT and FMODE_AIO_NOWAIT
Convert strcat() calls which only append single characters
to the end of res into simpler (and most likely cheaper)
single assignment statements.
Signed-off-by: Joey Pabalinas
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c
inde
On Fri, Feb 23, 2018 at 11:16 AM, wrote:
> From: Sean Wang
>
> Add missing pinctrl binding about I2C2 and SPI2 which would be used in
> devicetree related files.
>
> Signed-off-by: Sean Wang
> Cc: Rob Herring
> Cc: Mark Rutland
> Cc: Linus Walleij
> Cc: linux-g...@vger.kernel.org
> Cc: devi
On Fri, Feb 23, 2018 at 11:16 AM, wrote:
> From: Sean Wang
>
> It should be good that no use "_" is in examples. Consequently,
> those nodes in certain files which have an inappropriate name containing
> "_" are all being replaced with "-".
>
> Signed-off-by: Sean Wang
> Cc: Linus Walleij
> C
Am Samstag, 16. Dezember 2017, 18:06:50 CET schrieb Heiko Stuebner:
> Am Freitag, 15. Dezember 2017, 12:00:03 CET schrieb Enric Balletbo i Serra:
> > Add the usb3 phyter for the USB3.0 OTG controller.
> >
> > Signed-off-by: Enric Balletbo i Serra
>
> applied for 4.16
and reverted again for the
Commit ae91aa0adb14(rcu: Remove debugfs tracing) removed the RCU debugfs
tracing code, and left deprecated code.
Because exp_workdone{0,1,2,3} won't be used anymore since the commit,
it's better to remove code to do with those variables. Remove it.
Signed-off-by: Byungchul Park
---
kernel/rcu/t
Hi Kishon,
On Fri, Mar 02, 2018 at 11:55:57AM +0530, Kishon Vijay Abraham I wrote:
> On Thursday 01 March 2018 12:52 PM, Shawn Guo wrote:
> > From: Pengcheng Li
> >
> > It adds device tree bindings document for HiSilicon INNO USB2 PHY.
> >
> > Signed-off-by: Pengcheng Li
> > Signed-off-by: Jia
On Fri, Mar 02, 2018 at 01:18:01PM +0800, Baoquan He wrote:
> Userspace utility needs to know if the corrupted kernel is in
> 5-level paging mode. So write 'pgtable_l5_enabled' to vmcoreinfo.
> It covers below three cases:
> pgtable_l5_enabled == 0 when
> Compile kernel with CONFIG_X86_5LEVEL=n
Michal Hocko writes:
> On Thu 01-03-18 14:28:44, Aaron Lu wrote:
>> When freeing a batch of pages from Per-CPU-Pages(PCP) back to buddy,
>> the zone->lock is held and then pages are chosen from PCP's migratetype
>> list. While there is actually no need to do this 'choose part' under
>> lock since
On Fri, Mar 02, 2018 at 02:11:14PM +0800, Dave Young wrote:
> On 03/02/18 at 01:58pm, Dave Young wrote:
> > On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> > > On arm64, crash dump kernel's usable memory is protected by
> > > *unmapping* it from kernel virtual space unlike other architectures
> >
On 03/02/2018 12:45 AM, Greg KH wrote:
> On Thu, Mar 01, 2018 at 08:53:37PM +0800, Alex Shi wrote:
>> Hi All,
>>
>> Resent without non-upstream patches.
>
> Again, please start numbering these submissions like any other normal
> patchset...
>
Thanks for reminder!
Regards
Alex
On Fri, Mar 02, 2018 at 02:08:57PM +0800, Dave Young wrote:
> On 03/02/18 at 01:53pm, Dave Young wrote:
> > On 03/02/18 at 02:24pm, AKASHI Takahiro wrote:
> > > On Fri, Mar 02, 2018 at 01:04:26PM +0800, Dave Young wrote:
> > > > On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> > > > > As arch_kexec
On Thu, Mar 01, 2018 at 02:55:18PM +0100, Michal Hocko wrote:
> On Thu 01-03-18 14:28:44, Aaron Lu wrote:
> > When freeing a batch of pages from Per-CPU-Pages(PCP) back to buddy,
> > the zone->lock is held and then pages are chosen from PCP's migratetype
> > list. While there is actually no need to
> From: Alex Williamson
> Sent: Thursday, March 1, 2018 4:15 AM
>
> A vfio ioeventfd will perform the pre-specified device write on
> triggering of an eventfd. When coupled with KVM ioeventfds, this
> feature allows a VM to trap a device page for virtualization, while
> also registering targeted
2018-03-02 13:32 GMT+09:00 Masahiro Yamada :
> If recursive inclusion is detected, it should fail with error messages.
> Test this.
>
> Signed-off-by: Masahiro Yamada
> Reviewed-by: Ulf Magnusson
> ---
>
> Changes in v2:
> - coding style clean-up based on PEP8, PEP257
>
> scripts/kconfig/tests
When recursive inclusion is detected, the line number of the last
'included from:' is wrong.
[Test Case]
Kconfig:
>8
source "Kconfig2"
>8
Kconfig2:
>8
source "Kconfig3"
>8
Kconfig3:
>8
source "Kconfi
On Fri, 2 Mar 2018 14:25:29 +0800
Jason Wang wrote:
> @@ -770,6 +774,19 @@ static struct sk_buff *receive_mergeable(struct
> net_device *dev,
> goto err_xdp;
> rcu_read_unlock();
> goto xdp_xmit;
> + case XDP_
Hello,
I'm trying to make work NAND MT29F64G08CBAAAWP with fsl IFC driver.
And that seems trickly or I'm missing some fundamental thing.
>From MT29F64G08CBAAAWP it's said:
Organization Page
– Page size x8: 8640 bytes (8192 + 448 bytes)
– Block size: 256 pages (2048K + 112K bytes)
– Plane size:
> From: Tian, Kevin
> Sent: Friday, March 2, 2018 2:54 PM
>
> > From: Alex Williamson
> > Sent: Friday, March 2, 2018 4:22 AM
> > >
> > > I am pretty sure that you are describing is true of some, but not for
> > > all. I think the Amazon solutions and the virtio solution are doing
> > > hard parti
> From: Alex Williamson
> Sent: Friday, March 2, 2018 4:22 AM
> >
> > I am pretty sure that you are describing is true of some, but not for
> > all. I think the Amazon solutions and the virtio solution are doing
> > hard partitioning of the part. I will leave it to those guys to speak
> > for thems
Hi, Vinod
On Thu, 2018-03-01 at 18:26 +0530, Vinod Koul wrote:
> On Thu, Mar 01, 2018 at 06:27:01PM +0800, Sean Wang wrote:
> > On Thu, 2018-03-01 at 13:53 +0530, Vinod Koul wrote:
> > > On Sun, Feb 18, 2018 at 03:08:30AM +0800, sean.w...@mediatek.com wrote:
> > >
> > > > @@ -0,0 +1,1054 @@
> > >
Howdy,
I have a thinkpad P70 which started to fail resuming from S3 sleep after any
kernel past 4.12 (sometimes it would work, sometimes the HD led would come
on when trying to resume, but nothing else).
After much debugging trying to figure what was causing it and coming short,
I decided to upgra
Hi,
It's been a while since I received any feedback about this patch. Are there any
concerns about this patch? If no, could you please kindly ACK this patch?
Thanks.
Regards,
Joyce Ooi
> -Original Message-
> From: Ooi, Joyce
> Sent: Thursday, February 15, 2018 11:20 AM
> To: Catalin Ma
These bindings describe the watchdog IP as used by the Nuvoton NPCM750
(Poleg) BMC SoC.
Signed-off-by: Joel Stanley
---
.../bindings/watchdog/nuvoton,npcm-wdt.txt | 25 ++
1 file changed, 25 insertions(+)
create mode 100644
Documentation/devicetree/bindings/watchdog
The Nuvoton NPCM750 has a watchdog implemented as a single register
inside the timer peripheral.
This driver exposes that watchdog as a standard watchdog device with
coarse timeout intervals, limited by the combination of prescaler and
counter that is provided by the hardware. The calculation is t
This is a driver for the Poleg board that is in the process of being
upstreamed. I have tested it on an evaluation board.
The watchdog is a single register inside of the timer IP. This made me
think about how to describe the device tree bindings for a while, but
after some discussion I settled on
In current design of ACPI container offline, Kernel emits
KOBJ_CHANGE uevent to user space to indidate that the ejection of
the container was triggered by platform. (caa73ea15 patch)
A pure KOBJ_CHANGE uevent is not enough for user space to identify
the purpose. For example, a "udevadm trigger" co
On Fri, 2 Mar 2018, Arushi Singhal wrote:
> Replace a mix of tabs and spaces indentation by tabs only.
>
> Fixed checkpatch warning "Statements should start on a tabstop" in
> rtl8712 module.
There is no need to say "in rtl8712 module". That is apparent from the
subject line and the diffstat j
On Fri, 2 Mar 2018 13:49:51 +0900
Namhyung Kim wrote:
> Hi Masami,
>
> On Wed, Feb 28, 2018 at 12:19:53PM +0900, Masami Hiramatsu wrote:
> > In Documentation/trace/kprobetrace.txt, it says
> >
> > @SYM[+|-offs] : Fetch memory at SYM +|- offs (SYM should be a data symbol)
> >
> > However, the
On Thursday 01 March 2018 12:52 PM, Shawn Guo wrote:
> From: Pengcheng Li
>
> It adds device tree bindings document for HiSilicon INNO USB2 PHY.
>
> Signed-off-by: Pengcheng Li
> Signed-off-by: Jiancheng Xue
> Signed-off-by: Shawn Guo
> ---
> .../devicetree/bindings/phy/phy-hisi-inno-usb2.
XDP_REDIRECT support for mergeable buffer was removed since commit
7324f5399b06 ("virtio_net: disable XDP_REDIRECT in receive_mergeable()
case"). This is because we don't reserve enough tailroom for struct
skb_shared_info which breaks XDP assumption. So this patch fixes this
by reserving enough tai
On 02/22/2018 03:11 PM, Tom Lendacky wrote:
>> I don't think we can help out-of-tree modules getting this wrong.
>> They're OK if they use PAGE_KERNEL*, btw.
> You will probably need to change __default_kernel_pte_mask to be an
> EXPORT_SYMBOL instead of an EXPORT_SYMBOL_GPL for (some) out-of-tree
On Fri, 2 Mar 2018 14:31:17 +0900
Namhyung Kim wrote:
> On Wed, Feb 28, 2018 at 12:28:11PM +0900, Masami Hiramatsu wrote:
> > Add a testcase for array type with kprobe event.
> > This tests whether the traced data is correct or not.
> > If the kernel doesn't support array type, it skips
> > the t
On 03/02/18 at 01:58pm, Dave Young wrote:
> On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> > On arm64, crash dump kernel's usable memory is protected by
> > *unmapping* it from kernel virtual space unlike other architectures
> > where the region is just made read-only. It is highly unlikely that
On 03/02/18 at 01:53pm, Dave Young wrote:
> On 03/02/18 at 02:24pm, AKASHI Takahiro wrote:
> > On Fri, Mar 02, 2018 at 01:04:26PM +0800, Dave Young wrote:
> > > On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> > > > As arch_kexec_kernel_image_{probe,load}(),
> > > > arch_kimage_file_post_load_clean
On 03/02/18 at 02:58pm, AKASHI Takahiro wrote:
> On Fri, Mar 02, 2018 at 01:39:45PM +0800, Dave Young wrote:
> > On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> > > removing bufp variable in prepare_elf64_headers() makes the code simpler
> > > and more understandable.
> > >
> > > Signed-off-by: A
On Thursday 01 March 2018 09:00 PM, Amelie Delaunay wrote:
> This patch adds the device tree bindings description for STM32 USBPHYC
> (USB PHY Controller).
>
> Signed-off-by: Amelie Delaunay
> ---
> .../devicetree/bindings/phy/phy-stm32-usbphyc.txt | 46
> ++
> 1 file cha
On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> On arm64, crash dump kernel's usable memory is protected by
> *unmapping* it from kernel virtual space unlike other architectures
> where the region is just made read-only. It is highly unlikely that
> the region is accidentally corrupted and this ob
On Fri, Mar 02, 2018 at 01:39:45PM +0800, Dave Young wrote:
> On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> > removing bufp variable in prepare_elf64_headers() makes the code simpler
> > and more understandable.
> >
> > Signed-off-by: AKASHI Takahiro
> > Cc: Dave Young
> > Cc: Vivek Goyal
>
On 2018年02月28日 01:04, Linus Torvalds wrote:
> On Tue, Feb 27, 2018 at 5:43 AM, David Howells wrote:
>> Is it possible there's a stall between the load of RCX and the subsequent
>> instructions because they all have to wait for RCX to become available?
>
> No. Modern Intel big-core CPU's simply
Hi AKASHI,
On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> subject:
>
> This is a preparatory patch set for adding kexec_file support on arm64.
>
> It was originally included in a arm64 patch set[1], but Philipp is also
> working on their kexec_file support on s390[2] and some changes are now
>
On 03/02/18 at 02:24pm, AKASHI Takahiro wrote:
> On Fri, Mar 02, 2018 at 01:04:26PM +0800, Dave Young wrote:
> > On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> > > As arch_kexec_kernel_image_{probe,load}(),
> > > arch_kimage_file_post_load_cleanup() and arch_kexec_kernel_verify_sig()
> > > are al
Add support for Actions Semi mux clock together with helper
functions to be used in composite clock.
Signed-off-by: Manivannan Sadhasivam
---
drivers/clk/actions/Makefile | 1 +
drivers/clk/actions/owl-mux.c | 60 ++
drivers/clk/actions/owl-mux.h | 61 ++
Add support for Actions Semi factor clock together with
helper functions to be used in composite clock.
Signed-off-by: Manivannan Sadhasivam
---
drivers/clk/actions/Makefile | 1 +
drivers/clk/actions/owl-factor.c | 222 +++
drivers/clk/actions/owl-facto
Add support for Actions Semi divider clock together with
helper functions to be used in composite clock.
Signed-off-by: Manivannan Sadhasivam
---
drivers/clk/actions/Makefile | 1 +
drivers/clk/actions/owl-divider.c | 94 +++
drivers/clk/actions/owl-divi
Add support for Actions Semi PLL clock
Signed-off-by: Manivannan Sadhasivam
---
drivers/clk/actions/Makefile | 1 +
drivers/clk/actions/owl-pll.c | 194 ++
drivers/clk/actions/owl-pll.h | 92
3 files changed, 287 insertions(+)
cre
Add Actions Semi S900 SoC clock support.
Signed-off-by: Manivannan Sadhasivam
---
drivers/clk/actions/Kconfig| 10 +
drivers/clk/actions/Makefile | 3 +
drivers/clk/actions/owl-s900.c | 666 +
drivers/clk/actions/owl-s900.h | 61
4 files cha
2018-02-22 6:39 GMT+09:00 Ulf Magnusson :
> On Wed, Feb 21, 2018 at 09:57:03PM +0900, Masahiro Yamada wrote:
>> 2018-02-21 19:52 GMT+09:00 Arnd Bergmann :
>> > On Wed, Feb 21, 2018 at 11:20 AM, Masahiro Yamada
>> > wrote:
>> >> 2018-02-21 18:56 GMT+09:00 Arnd Bergmann :
>> >>> On Wed, Feb 21, 2018
Add support for Actions Semi composite clock. This clock
consists of gate, mux, divider and factor clocks.
Signed-off-by: Manivannan Sadhasivam
---
drivers/clk/actions/Makefile| 1 +
drivers/clk/actions/owl-composite.c | 155
drivers/clk/actions/owl
Add support for Actions Semi common clock driver with generic structures
and interface functions.
Signed-off-by: Manivannan Sadhasivam
---
drivers/clk/Kconfig | 1 +
drivers/clk/Makefile | 1 +
drivers/clk/actions/Kconfig | 4 ++
drivers/clk/actions/Makefile
Remove fixed clock and source CMU (Clock Management Unit) clock for
UART5 driver in Actions Semi S900 SoC.
Signed-off-by: Manivannan Sadhasivam
---
arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/arm64/boot/dts/act
Add Actions Semi S900 Clock Management Unit (CMU) nodes
Signed-off-by: Manivannan Sadhasivam
---
arch/arm64/boot/dts/actions/s900.dtsi | 20
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/actions/s900.dtsi
b/arch/arm64/boot/dts/actions/s900.dtsi
index 11
Add support for Actions Semi gate clock together with helper
functions to be used in composite clock.
Signed-off-by: Manivannan Sadhasivam
---
drivers/clk/actions/Makefile | 1 +
drivers/clk/actions/owl-gate.c | 77 ++
drivers/clk/actions/owl-gate.h | 7
This patchset adds clock support for Actions Semi OWL series
S900 SoC with relevant clock bindings and device tree info.
Driver has been validated on Bubblegum-96 board.
Thanks,
Mani
Changes in V4:
* Moved to SPDX license tag for dt-bindings
* Fixed a warning in owl-common.h
* Rebased on top of
Add Actions Semi S900 clock bindings.
Signed-off-by: Manivannan Sadhasivam
Acked-by: Rob Herring
---
.../devicetree/bindings/clock/actions,s900-cmu.txt | 47
include/dt-bindings/clock/actions,s900-cmu.h | 129 +
2 files changed, 176 insertions(+)
create mode
On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> removing bufp variable in prepare_elf64_headers() makes the code simpler
> and more understandable.
>
> Signed-off-by: AKASHI Takahiro
> Cc: Dave Young
> Cc: Vivek Goyal
> Cc: Baoquan He
> ---
> arch/x86/kernel/crash.c | 18 +++---
>
On Fri, Mar 02, 2018 at 01:31:53PM +0800, Dave Young wrote:
> On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> > While CRASH_MAX_RANGES (== 16) seems to be good enough, fixed-number
> > array is not a good idea in general.
> >
> > In this patch, size of crash_mem buffer is calculated as before and
On Fri, Mar 02, 2018 at 01:19:56PM +0800, Dave Young wrote:
> On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> > The code guarded by CONFIG_X86_64 is necessary on some architectures
> > which have a dedicated kernel mapping outside of linear memory mapping.
> > (arm64 is among those.)
> >
> > In t
On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> While CRASH_MAX_RANGES (== 16) seems to be good enough, fixed-number
> array is not a good idea in general.
>
> In this patch, size of crash_mem buffer is calculated as before and
> the buffer is now dynamically allocated. This change also allows re
On Wed, Feb 28, 2018 at 12:28:11PM +0900, Masami Hiramatsu wrote:
> Add a testcase for array type with kprobe event.
> This tests whether the traced data is correct or not.
> If the kernel doesn't support array type, it skips
> the test as UNSUPPORTED.
This description is wrong - it's for position
Add sysfs documentation for N-Trig touchscreens under Documentation/ABI.
Descriptions have been collected from code comments.
Signed-off-by: Aishwarya Pant
---
Documentation/ABI/testing/sysfs-driver-hid-ntrig | 70
1 file changed, 70 insertions(+)
create mode 100644 Doc
On Fri, Mar 02, 2018 at 01:04:26PM +0800, Dave Young wrote:
> On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> > As arch_kexec_kernel_image_{probe,load}(),
> > arch_kimage_file_post_load_cleanup() and arch_kexec_kernel_verify_sig()
> > are almost duplicated among architectures, they can be commonal
On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> The code guarded by CONFIG_X86_64 is necessary on some architectures
> which have a dedicated kernel mapping outside of linear memory mapping.
> (arm64 is among those.)
>
> In this patch, an additional argument, kernel_map, is added to enable/
> dis
Userspace utility needs to know if the corrupted kernel is in
5-level paging mode. So write 'pgtable_l5_enabled' to vmcoreinfo.
It covers below three cases:
pgtable_l5_enabled == 0 when
Compile kernel with CONFIG_X86_5LEVEL=n
Compile with CONFIG_X86_5LEVEL=y while cpu has no 'la57' flag
pg
On Fri, 2018-03-02 at 12:56 +0800, Ganesh Mahendran wrote:
> 2018-03-02 7:11 GMT+08:00 Bart Van Assche :
> > On Mon, 2017-06-05 at 17:37 +0800, Ganesh Mahendran wrote:
> > > In android system, when there are lots of threads running. Thread A
> > > holding *host_busy* count is easily to be preempted
On (03/01/18 16:53), Dmitry Vyukov wrote:
[..]
> > Hello Dmitry,
> >
> > I believe it's this one
> >
> > https://marc.info/?l=linux-kernel&m=151200883525299
>
>
> Thanks, but now that I debugged this one, I think that one is the same issue.
> Amusingly a write in READ_ONCE is actually legitimate
Hi Petr,
After merging the printk tree, today's linux-next build (bfin
BF518F-EZBRD_defconfig) failed like this:
lib/dump_stack.o: In function `dump_stack':
lib/dump_stack.c:122: multiple definition of `dump_stack'
arch/blackfin/kernel/dumpstack.o:arch/blackfin/kernel/dumpstack.c:166: first
defi
On 02/27/18 at 01:48pm, AKASHI Takahiro wrote:
> As arch_kexec_kernel_image_{probe,load}(),
> arch_kimage_file_post_load_cleanup() and arch_kexec_kernel_verify_sig()
> are almost duplicated among architectures, they can be commonalized with
> an architecture-defined kexec_file_ops array. So let's f
single_open() interface requires that the whole output must
fit into a single buffer. This will lead to timeout when
system memory is not in a good situation.
This patch use seq_open() to show wakeup stats. This method
need only one page, so timeout will not be observed.
Signed-off-by: Ganesh Mah
Hi, Bart:
2018-03-02 7:11 GMT+08:00 Bart Van Assche :
> On Mon, 2017-06-05 at 17:37 +0800, Ganesh Mahendran wrote:
>> In android system, when there are lots of threads running. Thread A
>> holding *host_busy* count is easily to be preempted, and if at the
>> same time, thread B set *host_blocked*,
Hi all,
Commits
568477045f80 (" phy: marvell10g: Utilize gen10g_no_soft_reset()")
0adfdb667ab5 (" phy: cortina: Utilize generic functions")
aebc78a40b88 (" phy: teranetics: Utilize generic functions")
e8a714e086e4 (" phy: Export gen10g_* functions")
6ed33d3a06e6 (" phy: aquantia: Utiliz
Hi Masami,
On Wed, Feb 28, 2018 at 12:19:53PM +0900, Masami Hiramatsu wrote:
> In Documentation/trace/kprobetrace.txt, it says
>
> @SYM[+|-offs] : Fetch memory at SYM +|- offs (SYM should be a data symbol)
>
> However, the parser doesn't parse minus offset correctly, since
> commit 2fba0c8867af
On Fri, Mar 02, 2018 at 12:31:41PM +0800, Boqun Feng wrote:
> On Thu, Mar 01, 2018 at 10:37:58AM -0800, Paul E. McKenney wrote:
> > On Thu, Mar 01, 2018 at 09:49:06AM -0800, Paul E. McKenney wrote:
[ . . . ]
> > And as Andrea pointed out off-list, I did indeed mess up Boqun's change.
> > I forgot
On 02/28/2018 11:45 AM, Jerry Hoemann wrote:
On Mon, Feb 26, 2018 at 05:29:55PM -0800, Guenter Roeck wrote:
On 02/26/2018 05:02 PM, Jerry Hoemann wrote:
On Mon, Feb 26, 2018 at 06:32:30AM -0800, Guenter Roeck wrote:
On 02/26/2018 06:11 AM, Arnd Bergmann wrote:
On Mon, Feb 26, 2018 at 4:22 AM,
On 02/25/2018 07:22 PM, Jerry Hoemann wrote:
== v5 ==
Patch numbers changing due to squash and reorder.
Using Prior (v4) Patch number noting *new* patch numbers as bullet item.
Patch 0001 & 0004 Merged into: Update-Module-info-and-copyright
1) New Patch 0001
Patch 0002 Remove legacy NMI sourc
Commit fbe98bb9ed3d ("kconfig: Fix defconfig when one choice menu
selects options that another choice menu depends on") fixed defconfig
when two choices interact (i.e. calculating the visibility of a choice
requires to calculate another choice).
The test code in that commit log was based on the re
Commit cb67ab2cd2b8 ("kconfig: do not write choice values when their
dependency becomes n") fixed a problem where "# CONFIG_... is not set"
for choice values are wrongly written into the .config file when they
are once visible, then become invisible later.
Add a test for this naive case.
Signed-o
If new choice values are added with new dependency, and they become
visible during user configuration, oldconfig should recognize them
as (NEW), and ask the user for choice.
This issue was fixed by commit 5d09598d488f ("kconfig: fix new choices
being skipped upon config update").
This is a subtle
If recursive inclusion is detected, it should fail with error messages.
Test this.
Signed-off-by: Masahiro Yamada
Reviewed-by: Ulf Magnusson
---
Changes in v2:
- coding style clean-up based on PEP8, PEP257
scripts/kconfig/tests/err_recursive_inc/Kconfig | 1 +
scripts/kconfig/tests
If a symbols has dependency on the preceding symbol, the menu entry
should become the submenu of the preceding one, and displayed with
deeper indentation.
This is done by restructuring the menu tree in menu_finalize().
It is a bit complicated computation, so let's add a test case.
Signed-off-by:
Many parts in Kconfig are so cryptic and need refactoring. However,
its complexity prevents us from moving forward. There are several
naive corner cases where it is difficult to notice breakage. If
those are covered by unit tests, we will be able to touch the code
with more confidence.
Here is
Commit 3b9a19e08960 ("kconfig: loop as long as we changed some symbols
in randconfig") fixed randconfig where a choice contains a sub-choice.
Prior to that commit, the sub-choice values were not set.
This is complicated usage, but it is still used in the real world;
drivers/usb/gadget/legacy/Kconf
I am applying various cleanups to Kconfig these days.
However, I fear regressions. I have been thinking of unit-tests.
There are various cryptic parts in Kconfig and corner cases where
it is difficult to notice breakage. If unit-tests cover those,
I will be able to apply changes more confident
Hi David,
On 03/01/2018 04:25 PM, Florian Fainelli wrote:
> Hi all,
>
> After turning on KASAN on one of my systems, I started getting lots of out of
> bounds errors while fetching a given port's statistics, and indeed using
> memcpy() is unsafe for copying strings, so let's use strncpy() instead
The calculation of 'choice' is a bit complicated part in Kconfig.
The behavior of 'y' choice is intuitive. If choice values are tristate,
the choice can be 'm' where each value can be enabled independently.
Also, if a choice is marked as 'optional', the whole choice can be
invisible.
Test basic
The variable 'PYTHON' allows users to specify a proper executable
name in case the default 'python' does not work. However, this does
not address the case where both Python 2 and Python 3 scripts are
used in one source tree.
PEP 394 (https://www.python.org/dev/peps/pep-0394/) provides a
conventio
If tristate choice values depend on symbols set to 'm', they should be
hidden when the choice containing them is changed from 'm' to 'y'
(i.e. exclusive choice).
This issue was fixed by commit fa64e5f6a35e ("kconfig/symbol.c: handle
choice_values that depend on 'm' symbols").
Add a test case to a
Recursive dependency should be detected and warned. Test this.
(This indirectly tests the line number increments.)
Signed-off-by: Masahiro Yamada
Reviewed-by: Ulf Magnusson
---
Changes in v2:
- Fix missing end quote
- coding style clean-up based on PEP8, PEP257
scripts/kconfig/tests/war
On Thu, Mar 01, 2018 at 10:37:58AM -0800, Paul E. McKenney wrote:
> On Thu, Mar 01, 2018 at 09:49:06AM -0800, Paul E. McKenney wrote:
> > On Thu, Mar 01, 2018 at 10:49:05AM -0500, Alan Stern wrote:
> > > On Thu, 1 Mar 2018, Boqun Feng wrote:
> > >
> > > > > +let rec rcu-fence = gp |
> > > > > +
On 03/01/2018 07:08 PM, Andrew Lunn wrote:
> On Thu, Mar 01, 2018 at 04:25:29PM -0800, Florian Fainelli wrote:
>> Do not use memcpy() which is not safe, but instead use strncpy() which
>> will make sure that the string is NUL terminated (in the Linux
>> implementation) if the string is smaller th
On 2018年03月01日 21:36, Michael S. Tsirkin wrote:
On Thu, Mar 01, 2018 at 11:19:04AM +0800, Jason Wang wrote:
XDP_REDIRECT support for mergeable buffer was removed since commit
7324f5399b06 ("virtio_net: disable XDP_REDIRECT in receive_mergeable()
case"). This is because we don't reserve enough
On 2018年03月01日 22:16, Jesper Dangaard Brouer wrote:
On Thu, 1 Mar 2018 21:15:36 +0800
Jason Wang wrote:
On 2018年03月01日 18:35, Jesper Dangaard Brouer wrote:
On Thu, 1 Mar 2018 17:23:37 +0800
Jason Wang wrote:
On 2018年03月01日 17:10, Jesper Dangaard Brouer wrote:
On Thu, 1 Mar 2018 11:19
For Centaur CPU, the ucode will make sure that each CPU core can keep cache
coherency with each other when the CPU core entering to any C state. So the
cache flush operations when enter C3 is not necessary and will cause large
C3 enter/exit latency.
And the bus master disable operation when CPU cor
In preparation for fixing S_DAX to be defined in the CONFIG_FS_DAX=n +
CONFIG_DEV_DAX=y case, move the definition of these routines outside of
the "#ifdef CONFIG_FS_DAX" guard. This is also a coding-style fix to
move all ifdef handling to header files rather than in the source. The
compiler will st
In preparation for fixing the broken definition of S_DAX in the
CONFIG_FS_DAX=n + CONFIG_DEV_DAX=y case, convert all IS_DAX() usages to
use explicit tests for FSDAX since DAX is ambiguous.
Cc: Matthew Wilcox
Cc: Ross Zwisler
Cc:
Fixes: dee410792419 ("/dev/dax, core: file operations and dax-mmap
Filesystem-DAX is incompatible with 'longterm' page pinning. Without
page cache indirection a DAX mapping maps filesystem blocks directly.
This means that the filesystem must not modify a file's block map while
any page in a mapping is pinned. In order to prevent the situation of
userspace holding
In preparation for fixing the broken definition of S_DAX in the
CONFIG_FS_DAX=n + CONFIG_DEV_DAX=y case, convert all the remaining
IS_DAX() usages to use explicit tests for FSDAX.
Cc: Matthew Wilcox
Cc: Ross Zwisler
Cc:
Fixes: dee410792419 ("/dev/dax, core: file operations and dax-mmap")
Review
Make sure S_DAX is defined in the CONFIG_FS_DAX=n + CONFIG_DEV_DAX=y
case. Otherwise vma_is_dax() may incorrectly return false in the
Device-DAX case.
Cc: Alexander Viro
Cc: linux-fsde...@vger.kernel.org
Cc: Christoph Hellwig
Cc:
Fixes: dee410792419 ("/dev/dax, core: file operations and dax-mma
1 - 100 of 1188 matches
Mail list logo