Re: Warning from free_init_pages with large initrd

2016-09-25 Thread H. Peter Anvin
On September 25, 2016 11:22:04 PM PDT, Sitsofe Wheeler wrote: >On 26 September 2016 at 03:14, H. Peter Anvin wrote: >> On 09/24/16 08:32, Sitsofe Wheeler wrote: >>> >>> While trying to PXE boot a Fedora LiveISO on VMware ESXi the kernel >>> throws the following warning: >>> >> [...] >>> >>> The

Re: Warning from free_init_pages with large initrd

2016-09-25 Thread H. Peter Anvin
On September 25, 2016 11:22:04 PM PDT, Sitsofe Wheeler wrote: >On 26 September 2016 at 03:14, H. Peter Anvin wrote: >> On 09/24/16 08:32, Sitsofe Wheeler wrote: >>> >>> While trying to PXE boot a Fedora LiveISO on VMware ESXi the kernel >>> throws the following warning: >>> >> [...] >>> >>> The

Re: [PATCH] pinctrl: qcom: fix masking of pinmux functions

2016-09-25 Thread Stephen Boyd
On Mon, Sep 12, 2016 at 2:36 AM, John Crispin wrote: > The following commit introduced a regression by not properly masking the > calculated value. > > commit 47a01ee9a6c39fe1 ("pinctrl: qcom: Clear all function selection bits") > > Signed-off-by: John Crispin Now I'm confused how it ever worked

Re: [PATCH] drm/sun4i: rgb: Enable panel after controller

2016-09-25 Thread Maxime Ripard
On Fri, Sep 23, 2016 at 11:43:55PM +1000, Jonathan Liu wrote: > Hi Maxime, > > On 23 September 2016 at 23:16, Maxime Ripard > wrote: > > On Thu, Sep 22, 2016 at 08:03:31AM +1000, Jonathan Liu wrote: > >> Hi Maxime, > >> > >> On Thursday, 22 September 2016, Maxime Ripard > >> >> com> wrote: > >>

Re: [PATCH 1/2] pwm: sunxi: allow the pwm to finish its pulse before disable

2016-09-25 Thread Maxime Ripard
Hi Oliver, Sorry for the slow answer. On Fri, Sep 09, 2016 at 11:01:08AM +0200, Olliver Schinagl wrote: > > > > > *chip, struct pwm_device *pwm) > > > > >   spin_lock(&sun4i_pwm->ctrl_lock); > > > > >   val = sun4i_pwm_readl(sun4i_pwm, PWM_CTRL_REG); > > > > >   val &= ~BIT_CH(PWM_EN,

Re: [PATCH] nfp: bpf: improve handling for disabled BPF syscall

2016-09-25 Thread David Miller
From: Arnd Bergmann Date: Fri, 23 Sep 2016 22:23:59 +0200 > I stumbled over a new warning during randconfig testing, > with CONFIG_BPF_SYSCALL disabled: > > drivers/net/ethernet/netronome/nfp/nfp_net_offload.c: In function > 'nfp_net_bpf_offload': > drivers/net/ethernet/netronome/nfp/nfp_net_of

[PATCH] timekeeping: Change type of nsec variable to unsigned in its calculation.

2016-09-25 Thread Liav Rehana
From: Liav Rehana During the calculation of the nsec variable in the inline function timekeeping_delta_to_ns, it may undergo a sign extension if its msb is set just before the shift. The sign extension may, in some cases, gain it a value near the maximum value of the 64-bit range. This is bad whe

Re: [PATCH v7 0/8] power: add power sequence library

2016-09-25 Thread Peter Chen
On Tue, Sep 20, 2016 at 11:36:39AM +0800, Peter Chen wrote: > Hi all, > > This is a follow-up for my last power sequence framework patch set [1]. > According to Rob Herring and Ulf Hansson's comments[2]. The kinds of > power sequence instances will be added at postcore_initcall, the match > criter

Re: [LKP] [lkp] [f2fs] ec795418c4: fsmark.files_per_sec -36.3% regression

2016-09-25 Thread Huang, Ying
Hi, Jaegeuk, "Huang, Ying" writes: > Jaegeuk Kim writes: > >> Hello, >> >> On Sat, Aug 27, 2016 at 10:13:34AM +0800, Fengguang Wu wrote: >>> Hi Jaegeuk, >>> >>> > > >> > - [lkp] [f2fs] b93f771286: aim7.jobs-per-min -81.2% regression >>> > > >> > >>> > > >> > The disk is 4 12G ram disk, and set

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-09-25 Thread Huang, Ying
Hi, Christoph, "Huang, Ying" writes: > Hi, Christoph, > > "Huang, Ying" writes: > >> Christoph Hellwig writes: >> >>> Snipping the long contest: >>> >>> I think there are three observations here: >>> >>> (1) removing the mark_page_accessed (which is the only significant >>> change in the

Re: [PATCH] net: hns: mark symbols static where possible

2016-09-25 Thread David Miller
From: Baoyou Xie Date: Sun, 25 Sep 2016 17:34:06 +0800 > We get a few warnings when building kernel with W=1: Patch does not apply to net-next.

Re: [PATCH] net: hip04: mark tx_done() static

2016-09-25 Thread David Miller
From: Baoyou Xie Date: Sun, 25 Sep 2016 17:19:04 +0800 > We get 1 warning when building kernel with W=1: > drivers/net/ethernet/hisilicon/hip04_eth.c:603:22: warning: no previous > prototype for 'tx_done' [-Wmissing-prototypes] > > In fact, this function is only used in the file in which it is

Re: [PATCH] net: hisilicon: mark symbols static where possible

2016-09-25 Thread David Miller
From: Baoyou Xie Date: Sun, 25 Sep 2016 17:16:44 +0800 > We get 2 warnings when building kernel with W=1: > drivers/net/ethernet/hisilicon/hisi_femac.c:943:5: warning: no previous > prototype for 'hisi_femac_drv_suspend' [-Wmissing-prototypes] > drivers/net/ethernet/hisilicon/hisi_femac.c:960:5:

Re: [PATCH] net: bcmgenet: remove unused function in bcmgenet.c

2016-09-25 Thread David Miller
From: Baoyou Xie Date: Sun, 25 Sep 2016 14:23:15 +0800 > We get 1 warning when building kernel with W=1: > drivers/net/ethernet/broadcom/genet/bcmgenet.c:2763:5: warning: no previous > prototype for 'bcmgenet_hfb_add_filter' [-Wmissing-prototypes] > > In fact, this function is implemented in >

Re: [PATCH] net: mvneta: mark symbols static where possible

2016-09-25 Thread David Miller
From: Baoyou Xie Date: Sun, 25 Sep 2016 17:20:41 +0800 > We get 2 warnings when building kernel with W=1: > drivers/net/ethernet/marvell/mvneta.c:639:27: warning: no previous prototype > for 'mvneta_get_stats64' [-Wmissing-prototypes] > drivers/net/ethernet/marvell/mvneta.c:3529:5: warning: no p

Re: [PATCH] cxgb4: mark symbols static where possible

2016-09-25 Thread David Miller
From: Baoyou Xie Date: Sun, 25 Sep 2016 14:10:09 +0800 > We get 10 warnings when building kernel with W=1: > drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:304:5: warning: no previous > prototype for 'cxgb4_dcb_enabled' [-Wmissing-prototypes] > drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:194

Re: [PATCH v3] arm: dts: zynq: Add MicroZed board support

2016-09-25 Thread Michal Simek
On 23.9.2016 11:48, Jagan Teki wrote: > From: Jagan Teki > > Added basic dts support for MicroZed board. > > - UART > - SDHCI > - Ethernet > > Cc: Soren Brinkmann > Cc: Michal Simek > Signed-off-by: Jagan Teki > --- > Changes for v3: > - Add Xilinx copyright > Changes for v2: > -

Re: Warning from free_init_pages with large initrd

2016-09-25 Thread Sitsofe Wheeler
On 26 September 2016 at 03:14, H. Peter Anvin wrote: > On 09/24/16 08:32, Sitsofe Wheeler wrote: >> >> While trying to PXE boot a Fedora LiveISO on VMware ESXi the kernel >> throws the following warning: >> > [...] >> >> The initrd is big because it holds all the files in the ISO (see >> https://f

Re: [PATCH] tty/serial: atmel: fix fractional baud rate computation

2016-09-25 Thread Uwe Kleine-König
Hello, On Wed, Sep 21, 2016 at 12:44:14PM +0200, Nicolas Ferre wrote: > From: Alexey Starikovskiy > > The problem with previous code was it rounded values in wrong > place and produced wrong baud rate in some cases. > > Signed-off-by: Alexey Starikovskiy > [nicolas.fe...@atmel.com: port to new

Re: [RFC PATCH 00/11] pci: support for configurable PCI endpoint

2016-09-25 Thread Kishon Vijay Abraham I
Hi Arnd, On Thursday 22 September 2016 07:04 PM, Arnd Bergmann wrote: > On Thursday, September 15, 2016 2:03:05 PM CEST Kishon Vijay Abraham I wrote: >> On Wednesday 14 September 2016 06:55 PM, Arnd Bergmann wrote: >>> On Wednesday, September 14, 2016 10:41:56 AM CEST Kishon Vijay Abraham I >>> w

[PATCH] timekeeping: Change type of nsec variable to unsigned in its calculation.

2016-09-25 Thread Liav Rehana
From: Liav Rehana During the calculation of the nsec variable in the inline function timekeeping_delta_to_ns, it may undergo a sign extension if its msb is set just before the shift. The sign extension may, in some cases, gain it a value near the maximum value of the 64-bit range. This is bad whe

Re: [PATCH] timekeeping: Change type of nsec variable to unsigned in its calculation.

2016-09-25 Thread John Stultz
On Sun, Sep 25, 2016 at 10:45 PM, Liav Rehana wrote: > From: Liav Rehana > > During the calculation of the nsec variable in the inline function > timekeeping_delta_to_ns, it may undergo a sign extension if its msb > is set just before the shift. The sign extension may, in some cases, > gain it a

Re: [PATCH v2 1/2] i2c: octeon: thunderx: Check bus state before starting a transaction

2016-09-25 Thread Jan Glauber
On Sat, Sep 24, 2016 at 11:24:19AM +0200, Wolfram Sang wrote: > On Fri, Sep 23, 2016 at 11:40:38AM +0200, Jan Glauber wrote: > > Add an additional status check before starting a transaction. If the > > check fails wait for some time to tolerate multi-master mode. After the > > timeout expires trigg

RE: [PATCH 1/3] megaraid_sas: mark symbols static where possible

2016-09-25 Thread Sumit Saxena
>-Original Message- >From: Baoyou Xie [mailto:baoyou@linaro.org] >Sent: Sunday, September 25, 2016 11:21 AM >To: kashyap.de...@avagotech.com; sumit.sax...@avagotech.com; >uday.ling...@avagotech.com; j...@linux.vnet.ibm.com; >martin.peter...@oracle.com >Cc: megaraidlinux@avagotech.co

Re: [PATCH] ARM: uniphier: select ARCH_HAS_RESET_CONTROLLER

2016-09-25 Thread Masahiro Yamada
Hi Philipp, 2016-09-20 19:44 GMT+09:00 Philipp Zabel : > Am Dienstag, den 20.09.2016, 17:47 +0900 schrieb Masahiro Yamada: >> Hi Philipp, >> >> >> 2016-09-20 16:30 GMT+09:00 Philipp Zabel : >> > Hi Masahiro, >> > >> > Am Dienstag, den 20.09.2016, 13:43 +0900 schrieb Masahiro Yamada: >> >> The Uni

Re: solo6010 modprobe lockup since e1ceb25a (v4.3 regression)

2016-09-25 Thread Krzysztof Hałasa
Andrey Utkin writes: > On Thu, Sep 22, 2016 at 10:51:37AM +0200, Krzysztof Hałasa wrote: >> I wonder if the following fixes the problem (completely untested). > > I have given this a run, and it still hangs. Does (only) adding the pci_read_config_word(solo_dev->pdev, PCI_STATUS, &val);

drivers/iio/pressure/bmp280-core.c:985: undefined reference to `devm_gpiod_get'

2016-09-25 Thread kbuild test robot
Hi Linus, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 08895a8b6b06ed2323cd97a36ee40a116b3db8ed commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 5 weeks ag

Re: [PATCH 0/2] NFS: Use complete() instead complete_all()

2016-09-25 Thread Daniel Wagner
Hi Anna, On 09/23/2016 03:48 PM, Anna Schumaker wrote: Besides trying to analys all the code paths to the wait_for_completion() call and convince myself that there is only one waiter, I also run a few tests: - some fio benchmarks - pynfs -cthon04 Thanks for the patches, and for the extens

Re: [RFC PATCH] PM / OPP: Don't support OPP if it provides supported-hw but platform does not

2016-09-25 Thread Viresh Kumar
On 23-09-16, 15:07, Dave Gerlach wrote: > The OPP framework allows each OPP to set a opp-supported-hw property > which provides values that are matched against supported_hw values > provided by the platform to limit support for certain OPPs on specific > hardware. Currently, if the platform does no

Re: [PATCH 09/12] x86/process: Pin the target stack in get_wchan()

2016-09-25 Thread Tycho Andersen
On Fri, Sep 23, 2016 at 08:34:43PM +0200, Jann Horn wrote: > On Fri, Sep 23, 2016 at 11:28:26AM -0700, Kees Cook wrote: > > Does CRIU use this? I wouldn't expect so, since they're using ptrace, > > IIUC, to freeze/restore. > > As far as I can tell: > > parse_pid_stat() parses them into a struct p

Re: [PATCH 2/2] PM / OPP: Multiple regulators aren't supported yet

2016-09-25 Thread Viresh Kumar
On 23-09-16, 14:59, Rob Herring wrote: > On Wed, Sep 21, 2016 at 03:02:50PM +0530, Viresh Kumar wrote: > > Multiple regulators per device aren't supported yet by the kernel code > > and the bindings provided in documentation aren't sufficient to handle > > that case (as there is no way for kernel c

Re: [PATCH] phy: meson-usb2: Fix build dependency

2016-09-25 Thread Kishon Vijay Abraham I
On Wednesday 21 September 2016 09:43 AM, Axel Lin wrote: > 2016-09-21 12:06 GMT+08:00 Kishon Vijay Abraham I : >> >> >> On Monday 19 September 2016 10:14 PM, Kevin Hilman wrote: >>> Martin Blumenstingl writes: >>> Hi Axel, On Fri, Sep 16, 2016 at 4:07 AM, Axel Lin wrote: > of

Re: [PATCH 1/2] PM / OPP: compatible is an optional property

2016-09-25 Thread Viresh Kumar
On 23-09-16, 14:55, Rob Herring wrote: > On Fri, Sep 23, 2016 at 10:45:26AM +0530, Viresh Kumar wrote: > > On 22-09-16, 12:24, Stephen Boyd wrote: > > > On 09/21/2016 02:32 AM, Viresh Kumar wrote: > > > > It was never compulsory to have a compatible string in the OPP table. > > > > Fix the document

Re: [PATCH v2 4/4] PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs

2016-09-25 Thread Viresh Kumar
On 12-09-16, 14:55, Stephen Boyd wrote: > On 08/29, Viresh Kumar wrote: > > On 18-08-16, 16:52, Finlye Xiao wrote: > > > +static int rockchip_adjust_opp_table(struct device *cpu_dev, > > > + struct cpufreq_frequency_table *table, > > > + int

Re: [PATCH 2/3] g_NCR5380: Reduce overrides[] from array to struct

2016-09-25 Thread Finn Thain
On Sat, 24 Sep 2016, Ondrej Zary wrote: > Remove compile-time card type definition GENERIC_NCR5380_OVERRIDE. Then > remove all code iterating the overrides[] array and reduce it to struct > card. There is a reference to the compile-time override in Documentation/scsi/g_NCR5380.txt which needs

Re: [PATCH] cpufreq: st: add missing \n to end of dev_err message

2016-09-25 Thread Viresh Kumar
On 25-09-16, 14:40, Colin King wrote: > From: Colin Ian King > > Trival fix, dev_err message is missing a \n, so add it. > > Signed-off-by: Colin Ian King > --- > drivers/cpufreq/sti-cpufreq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/sti-cpufreq

Re: [PATCH] cpufreq: kirkwood: add missing \n to end of dev_err messages

2016-09-25 Thread Viresh Kumar
On 25-09-16, 14:35, Colin King wrote: > From: Colin Ian King > > Trival fix, dev_err messages are missing a \n, so add it. > > Signed-off-by: Colin Ian King > --- > drivers/cpufreq/kirkwood-cpufreq.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/cpuf

Re: [PATCH] net: smc91x: take into account register shift

2016-09-25 Thread David Miller
From: Robert Jarzmik Date: Sun, 25 Sep 2016 23:00:45 +0200 > This aligns smc91x with its cousin, namely smc911x.c. > This also allows the driver to run also in a device-tree based lubbock > board build, on which it was tested. > > Signed-off-by: Robert Jarzmik Applied to net-next, thanks.

Re: [PATCH][V2] cxgb4: fix -ve error check on a signed iq

2016-09-25 Thread David Miller
From: Colin King Date: Sun, 25 Sep 2016 14:14:45 -0700 > From: Colin Ian King > > iq is unsigned, so the error check for iq < 0 has no effect so errors > can slip past this check. Fix this by making iq signed and also > get_filter_steerq return a signed int so a -ve error can be returned. > >

[PATCH v2] Staging: android: fixed permissions style issue

2016-09-25 Thread Eric Salem
Fixed a coding style issue. Changed symbolic permissions to octal. Signed-off-by: Eric Salem --- drivers/staging/android/lowmemorykiller.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemoryki

Re: [RFC/PATCH] usb: misc: Add a driver for TC7USB40MU

2016-09-25 Thread Peter Chen
On Thu, Sep 22, 2016 at 11:51:02AM -0700, Stephen Boyd wrote: > Quoting Peter Chen (2016-09-16 18:16:05) > > On Wed, Sep 14, 2016 at 01:55:02AM -0700, Stephen Boyd wrote: > > > Quoting Stephen Boyd (2016-09-13 18:42:46) > > > > On the db410c 96boards platform we have a TC7USB40MU[1] on the > > > >

Re: [PATCH 3/3] g_NCR5380: Stop using scsi_module.c

2016-09-25 Thread Finn Thain
On Sat, 24 Sep 2016, Ondrej Zary wrote: > Convert g_NCR5380 to use scsi_add_host instead of scsi_module.c > Use pnp_driver and isa_driver to manage cards. > > Signed-off-by: Ondrej Zary > --- > drivers/scsi/g_NCR5380.c | 310 > +- > drivers/scsi/g_

Re: [PATCH -v3 00/10] THP swap: Delay splitting THP during swapping out

2016-09-25 Thread Huang, Ying
Shaohua Li writes: > On Fri, Sep 23, 2016 at 10:32:39AM +0800, Huang, Ying wrote: >> Rik van Riel writes: >> >> > On Thu, 2016-09-22 at 15:56 -0700, Shaohua Li wrote: >> >> On Wed, Sep 07, 2016 at 09:45:59AM -0700, Huang, Ying wrote: >> >> >. >> >> > - It will help the memory fragmentation, esp

RE: [v12, 0/8] Fix eSDHC host version register bug

2016-09-25 Thread Y.B. Lu
Any comments about this version patchset ? :) > -Original Message- > From: Yangbo Lu [mailto:yangbo...@nxp.com] > Sent: Wednesday, September 21, 2016 2:57 PM > To: linux-...@vger.kernel.org; ulf.hans...@linaro.org; Scott Wood; Arnd > Bergmann > Cc: linuxppc-...@lists.ozlabs.org; devicet.

RE: [PATCH V1] regulator: pv88080: Update regulator for PV88080 BB silicon support

2016-09-25 Thread Eric Hyeung Dong Jeong
On September 25, 2016 3:23 AM, Mark Brown wrote: > On Wed, Sep 21, 2016 at 01:44:39PM +0900, Eric Jeong wrote: > > > +#ifdef CONFIG_OF > > +static const struct of_device_id pv88080_dt_ids[] = { > > + { .compatible = "pvs,pv88080-aa", .data = (void *)TYPE_PV88080_AA }, > > + { .compatible = "p

Re: [PATCH] [4.8-rc7, regression] fault_in_multipages_readable() throws set-but-unused error

2016-09-25 Thread Linus Torvalds
On Sun, Sep 25, 2016 at 7:25 PM, Dave Chinner wrote: >> You have some nasty unicode corruption. The email is marked as being >> >> Content-Type: text/plain; charset=UTF-8 >> Content-Transfer-Encoding: 8bit > > It's whatever git-send-email spat out. I was under the impression it > encodes like

Re: [PATCH] Staging: android: fixed permissions style issue

2016-09-25 Thread Joe Perches
On Sun, 2016-09-25 at 21:47 -0500, Eric Salem wrote: > Fixed a coding style issue. Changed symbolic permissions to octal. If you do these, please shorten the lines where possible. > diff --git a/drivers/staging/android/lowmemorykiller.c > b/drivers/staging/android/lowmemorykiller.c [] > @@ -204,

[PATCH 1/2] Revert "HID: dragonrise: fix HID Descriptor for 0x0006 PID"

2016-09-25 Thread Ioan-Adrian Ratiu
This reverts commit 18339f59c3a6 ("HID: dragonrise: fix HID...") because the "fix" is bogus. That report descriptor is different in hardware (see below) and it's the way the hardware works, it can't be fixed at this level because it reuses axes by design. What this change tried to fix is a regress

[PATCH 2/2] hid: input: add HID_QUIRK_REUSE_AXES and fix dragonrise

2016-09-25 Thread Ioan-Adrian Ratiu
Commit 79346d620e9d ("HID: input: force generic axis to be mapped to their user space axis") made mapping generic axes to their userspace equivalents mandatory and some lower end gamepads which were depending on the previous behaviour suffered severe regressions because they were reusing axes and e

Re: [PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-25 Thread Rui Teng
On 9/23/16 7:03 PM, Gerald Schaefer wrote: On Fri, 23 Sep 2016 14:40:33 +0800 Rui Teng wrote: On 9/22/16 5:51 PM, Michal Hocko wrote: On Wed 21-09-16 14:35:34, Gerald Schaefer wrote: dissolve_free_huge_pages() will either run into the VM_BUG_ON() or a list corruption and addressing exception

[PATCH] Staging: android: fixed permissions style issue

2016-09-25 Thread Eric Salem
Fixed a coding style issue. Changed symbolic permissions to octal. Signed-off-by: Eric Salem --- drivers/staging/android/lowmemorykiller.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykil

[PATCH] sched: Change READ_ONCE(jiffies) into jiffies

2016-09-25 Thread Bart Van Assche
A quote from Documentation/memory_barriers.txt: For example, because 'jiffies' is marked volatile, it is never necessary to say READ_ONCE(jiffies). The reason for this is that READ_ONCE() and WRITE_ONCE() are implemented as volatile casts, which has no effect when its argument is already marked v

About 1000Mbps capability for the GMAC of RK3288

2016-09-25 Thread Randy Li
I have confirmed the 1000Mbps won't work with kernel 4.4, I have to disable it in dts. The TRM shows that it may not support 1000Mbps, as the gmac_speed in GRF_SOC_CON1 is just a bit length flag. Also I have test the performance at the firefly plus with upstream kernel, it even looks bad at 100M

RE: [PATCH v3] Input: elants_i2c - get product id on recovery mode for FW update

2016-09-25 Thread Johnny.Chuang
There is only one different which is adding a new empty line for coding style. > if (!error) > - error = elants_i2c_query_fw_id(ts); > + error = error2; > + > if (!error) > error = elants_i2c_query_fw_version(ts); -Original Message- From:

Re: [PATCH] [4.8-rc7, regression] fault_in_multipages_readable() throws set-but-unused error

2016-09-25 Thread Dave Chinner
On Sun, Sep 25, 2016 at 06:21:05PM -0700, Linus Torvalds wrote: > Thanks, applied. > > I did happen to notice: > > On Sun, Sep 25, 2016 at 4:57 PM, Dave Chinner wrote: > > > > ./include/linux/pagemap.h: In function ¿fault_in_multipages_readable¿: > > ./include/linux/pagemap.h:602:16: error: vari

Aw

2016-09-25 Thread info
Benötigen Sie eine Finanzierung? Haben Sie einen Kredit für geschäftliche oder persönliche Bedürfnisse und Projektfinanzierung benötigen? Möchten Sie Ihr Unternehmen zu refinanzieren? Unser Unternehmen ist in den Vereinigten Staaten und Europa. Wir bieten Ihnen ein Darlehen für jede Person oder Ge

RE: [v6,2/2] QE: remove PPCisms for QE

2016-09-25 Thread Qiang Zhao
On Sun, Sep 25, 2016 at 12:19PM -0500, Scott Wood wrote: > -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Sunday, September 25, 2016 12:19 PM > To: Qiang Zhao > Cc: linuxppc-...@lists.ozlabs.org; pku@gmail.com; X.B. Xie > ; linux-kernel@vger.kernel.org > Subj

[PATCH 1/2] drm: Simplify logging macros, convert DRM_NOTE to DRM_NOTICE

2016-09-25 Thread Joe Perches
Use a bit more consistent style with kernel loglevels without using macro argument concatenation. Miscellanea: o Single statement macros don't need do {} while (0) Signed-off-by: Joe Perches --- drivers/gpu/drm/i915/intel_guc_loader.c | 22 -- include/drm/drmP.h

[PATCH 0/2] drm: Neaten and reduce object size

2016-09-25 Thread Joe Perches
Joe Perches (2): drm: Simplify logging macros, convert DRM_NOTE to DRM_NOTICE drm: Simplify drm_printk to reduce object size quite a bit drivers/gpu/drm/drm_drv.c | 5 +-- drivers/gpu/drm/i915/intel_guc_loader.c | 22 +++-- include/drm/drmP.h | 56 +

[PATCH 2/2] drm: Simplify drm_printk to reduce object size quite a bit

2016-09-25 Thread Joe Perches
Remove function name and special " *ERROR*" from argument list $ size drivers/gpu/drm/built-in.o* (x86-32 defconfig, most drm selected) textdata bss dec hex filename 5635366 182579 14328 5832273 58fe51 drivers/gpu/drm/built-in.o.new 5779552 182579 14328 5976459 5b318b dr

Re: Warning from free_init_pages with large initrd

2016-09-25 Thread H. Peter Anvin
On 09/24/16 08:32, Sitsofe Wheeler wrote: > Hi, > > While trying to PXE boot a Fedora LiveISO on VMware ESXi the kernel > throws the following warning: > [...] > > The initrd is big because it holds all the files in the ISO (see > https://fedorahosted.org/cobbler/wiki/HowToPxeAnyLiveCd for how i

внимания;

2016-09-25 Thread системы администратор
внимания; Ваши сообщения превысил лимит памяти, который составляет 5 Гб, определенных администратором, который в настоящее время работает на 10.9GB, Вы не сможете отправить или получить новую почту, пока вы повторно не проверить ваш почтовый ящик почты. Чтобы восстановить работоспособность Ваше

Linux 4.8-rc8

2016-09-25 Thread Linus Torvalds
So as already mentioned last week (and hinted at as a possibility), here's rc8. Things actually did start to calm down this week, but I didn't get the feeling that there was no point in doing one final rc, so here we are. I expect the final 4.8 release next weekend, unless something really unexpect

Re: undefined reference to `printk'

2016-09-25 Thread Fengguang Wu
Hi Joe, On Sat, Sep 24, 2016 at 08:46:26PM -0700, Joe Perches wrote: On Sun, 2016-09-25 at 11:40 +0800, kbuild test robot wrote: Hi Joe, Hey Fengguang It's probably a bug fix that unveils the link errors. I think all of these reports about compiler-gcc integrations are bogons. Yes, sorr

Re: [PATCH 00/14] perf clang: Support compiling BPF script use builtin clang

2016-09-25 Thread Wangnan (F)
On 2016/9/24 23:16, Alexei Starovoitov wrote: On Fri, Sep 23, 2016 at 12:49:47PM +, Wang Nan wrote: This patch set is the first step to implement features I announced in LinuxCon NA 2016. See page 31 of: http://events.linuxfoundation.org/sites/events/files/slides/Performance%20Monitori

RE: [PATCH] pm8001: mark symbols static where possible

2016-09-25 Thread lindar_liu
Thanks for fix. Acked-by: Lindar Liu > -Original Message- > From: Baoyou Xie [mailto:baoyou@linaro.org] > Sent: Friday, September 23, 2016 9:54 PM > To: jinpu.w...@profitbricks.com; lindar_...@usish.com; > j...@linux.vnet.ibm.com; martin.peter...@oracle.com > Cc: pmc...@pmcs.com; linu

Re: [PATCH] [4.8-rc7, regression] fault_in_multipages_readable() throws set-but-unused error

2016-09-25 Thread Linus Torvalds
Thanks, applied. I did happen to notice: On Sun, Sep 25, 2016 at 4:57 PM, Dave Chinner wrote: > > ./include/linux/pagemap.h: In function ¿fault_in_multipages_readable¿: > ./include/linux/pagemap.h:602:16: error: variable ¿c¿ set but not used > [-Werror=unused-but-set-variable] You have some na

Re: [PATCH] mm: check VMA flags to avoid invalid PROT_NONE NUMA balancing

2016-09-25 Thread Linus Torvalds
On Sun, Sep 25, 2016 at 5:49 PM, Rik van Riel wrote: > > Reading the code for a little bit, it looks like get_user_pages > interprets both PROT_NONE and PAGE_NUMA ptes as present, and will > simply return the page to the caller. So the thing is, I don't think the code should even get that far. I

Re: [PATCH -v3 00/10] THP swap: Delay splitting THP during swapping out

2016-09-25 Thread Minchan Kim
On Sun, Sep 25, 2016 at 12:18:49PM -0700, Shaohua Li wrote: > On Fri, Sep 23, 2016 at 10:32:39AM +0800, Huang, Ying wrote: > > Rik van Riel writes: > > > > > On Thu, 2016-09-22 at 15:56 -0700, Shaohua Li wrote: > > >> On Wed, Sep 07, 2016 at 09:45:59AM -0700, Huang, Ying wrote: > > >> >  > > >> >

Re: [PATCH] f2fs: remove dirty inode pages in error path

2016-09-25 Thread Chao Yu
On 2016/9/25 1:47, Jaegeuk Kim wrote: > On Sat, Sep 24, 2016 at 09:02:02AM +0800, Chao Yu wrote: >> On 2016/9/24 5:11, Jaegeuk Kim wrote: >>> When getting EIO while handling orphan inodes, we can get some dirty node >>> pages. Then, f2fs_write_node_pages() called by iput(node_inode) will try >>> to

Re: [PATCH 2/3] f2fs: support checkpoint error injection

2016-09-25 Thread Chao Yu
On 2016/9/25 2:10, Jaegeuk Kim wrote: > On Sat, Sep 24, 2016 at 11:32:08AM +0800, Chao Yu wrote: >> On 2016/9/24 8:52, Jaegeuk Kim wrote: >>> On Sat, Sep 24, 2016 at 08:46:54AM +0800, Chao Yu wrote: Hi Jaegeuk, On 2016/9/24 7:53, Jaegeuk Kim wrote: > Hi Chao, > > The basi

Re: [PATCH V2] staging: rtl8172: usb_intf.c: Fixed block comment coding style

2016-09-25 Thread Larry Finger
On 09/25/2016 06:00 PM, Gonçalo Salazar wrote: Fixed a block comment indentation in the rtl8712 usb_intf.c file. Made this as a first commit. Resubmitted with updated subject. Please let me know of any feedback you have. I missed this last time, but everything above the --- line goes into the

Re: [PATCH 4/3] g_NCR5380: Merge g_NCR5380 and g_NCR5380_mmio

2016-09-25 Thread Christoph Hellwig
On Mon, Sep 26, 2016 at 10:37:13AM +1000, Finn Thain wrote: > Let's not do that yet. I have a patch series that fixes the type casting > and related issues that I will post soon. I expect that Ondrej's patches > will be ready before mine are, so I'll rebase mine on this work before I > ask him t

[PATCH 11/11 RESEND] staging: dgnc: introduce find_board_by_major()

2016-09-25 Thread Daeseok Youn
It was used to get a board structure with dgnc_BoardsByMajor array. But this driver already has the array for managing initialized board as dgap_board[]. It can be used for searching the board structure by major number. Signed-off-by: Daeseok Youn --- RESEND: send the whole series again. Because

Re: [PATCH] mm: check VMA flags to avoid invalid PROT_NONE NUMA balancing

2016-09-25 Thread Rik van Riel
On Sun, 2016-09-25 at 15:50 -0700, Linus Torvalds wrote: > On Sun, Sep 25, 2016 at 3:34 PM, Rik van Riel > wrote: > > > > > > The patch looks good to me, too. > > > > Acked-by: Rik van Riel > > Thanks, amended the commit since I hadn't pushed out yet. > > Btw, the only reason this bug could

[PATCH 10/11 RESEND] staging: dgnc: remove useless variables

2016-09-25 Thread Daeseok Youn
The dgnc_major_serial_registered and dgnc_major_serial_registered do not need to use to check whether the tty driver is registered or not. These variables are used only in dgnc_cleanup_tty() function, This function will be called normally with initialized board structure. It means the dgnc_cleanup_

[PATCH 09/11 V2 RESEND] staging: dgnc: rename dgnc_tty_uninit() to dgnc_cleanup_tty()

2016-09-25 Thread Daeseok Youn
The dgnc_tty_uninit() doesn't match with dgnc_tty_init() at all. And also the dgnc_cleanup_tty() is only called for exiting the module. Signed-off-by: Daeseok Youn --- RESEND: send the whole series again. Because I missed some patches when the V2 patches sent. V2: The subject line was cut off, I

[PATCH 08/11 RESEND] staging: dgnc: introduce the dgnc_free_irq()

2016-09-25 Thread Daeseok Youn
The dgnc_free_irq() will free the requested IRQ from the dgnc_request_irq(). Signed-off-by: Daeseok Youn --- RESEND: send the whole series again. Because I missed some patches when the V2 patches sent. drivers/staging/dgnc/dgnc_driver.c | 11 ++- 1 file changed, 10 insertions(+), 1 dele

[PATCH 07/11 V2 RESEND] staging: dgnc: rename dgnc_finalize_board_init() to dgnc_request_irq()

2016-09-25 Thread Daeseok Youn
The dgnc_finalize_board_init() function has only job for requesting the IRQ. It should be renamed to dgnc_request_irq() Signed-off-by: Daeseok Youn --- RESEND: send the whole series again. Because I missed some patches when the V2 patches sent. V2: The subject line was cut off, I put it complete

[PATCH 06/11 RESEND] staging: dgnc: introduce the dgnc_tty_unregister()

2016-09-25 Thread Daeseok Youn
The dgnc_tty_unregister() will be called when the dgnc_tty_register() is failed. Signed-off-by: Daeseok Youn --- RESEND: send the whole series again. Because I missed some patches when the V2 patches sent. drivers/staging/dgnc/dgnc_driver.c | 7 +-- drivers/staging/dgnc/dgnc_tty.c| 8 ++

[PATCH 05/11 V2 RESEND] staging: dgnc: move functions unrelated with dgnc_found_board()

2016-09-25 Thread Daeseok Youn
The functions related with tty device initialization are needed to be moved from dgnc_found_board() to dgnc_init_one(). Signed-off-by: Daeseok Youn --- RESEND: send the whole series again. Because I missed some patches when the V2 patches sent. V2: The subject line was cut off, I put it complete

Re: [PATCH 1/3] g_NCR5380: Remove deprecated __setup

2016-09-25 Thread Finn Thain
On Sat, 24 Sep 2016, Ondrej Zary wrote: > Remove deprecated __setup for parsing command line parameters. > g_NCR5380.* parameters could be used instead. Removing useful features is deprecated too. The best reason I can see for removing the __setup parameters is that the g_NCR5380 module param

[PATCH 04/11] staging: dgnc: kfree for board structure in dgnc_found_board()

2016-09-25 Thread Daeseok Youn
The board structure should be freed when any function was failed in dgnc_found_board(). And the board strucure will be stored into dgnc_board array when the dgnc_found_board() function has no error. Signed-off-by: Daeseok Youn --- RESEND: send the whole series again. Because I missed some patches

[PATCH 03/11 V2 RESEND] staging: dgnc: missing NULL check for ioremap in dgnc_do_remap()

2016-09-25 Thread Daeseok Youn
The ioremap() function can be failed, so it need to have error handling in dgnc_do_remap(). And also the return type of dgnc_do_remap() should be changed from "void" to "int" Signed-off-by: Daeseok Youn --- RESEND: send the whole series again. Because I missed some patches when the V2 patches sen

[PATCH 02/11 RESEND] staging: dgnc: remove useless message buffer

2016-09-25 Thread Daeseok Youn
There is a temporary message buffer for the boot message in dgnc_found_board() but the buffer was not used anywhere in dgnc driver. Signed-off-by: Daeseok Youn --- RESEND: send the whole series again. Because I missed some patches when the V2 patches sent. drivers/staging/dgnc/dgnc_driver.c | 2

[PATCH 01/11 V2 RESEND] staging: dgnc: remove redundant initialization for channel array

2016-09-25 Thread Daeseok Youn
The channel array in board_t was initialized in dgnc_found_board() with NULL. But the channel is going to initialize in dgnc_tty_init(). So the channel array doesn't need to set NULL for initailization. Signed-off-by: Daeseok Youn --- RESEND: send the whole series again. Because I missed some pat

Re: [PATCH 4/3] g_NCR5380: Merge g_NCR5380 and g_NCR5380_mmio

2016-09-25 Thread Finn Thain
On Sun, 25 Sep 2016, Christoph Hellwig wrote: > On Sun, Sep 25, 2016 at 09:39:20PM +0200, Ondrej Zary wrote: > > > #define NCR5380_read(reg) \ > > + ioread8(((struct NCR5380_hostdata *)shost_priv(instance))->iomem + \ > > + ((struct NCR5380_hostdata *)shost_priv(instance))->offset +

Re: [PATCH 01/11 V2] staging: dgnc: remove redundant initialization for channel array

2016-09-25 Thread DaeSeok Youn
2016-09-23 21:15 GMT+09:00 Greg KH : > On Fri, Sep 23, 2016 at 10:25:02AM +0900, Daeseok Youn wrote: >> The channel array in board_t was initialized in dgnc_found_board() >> with NULL. But the channel is going to initialize in dgnc_tty_init() >> again. So the channel array doesn't need to set NULL

[PATCH 4/5] irqtime: Consolidate accounting synchronization with u64_stats API

2016-09-25 Thread Frederic Weisbecker
The irqtime accounting currently implement its own ad hoc implementation of u64_stats API. Lets rather consolidate it with the appropriate library. Reviewed-by: Rik van Riel Cc: Paolo Bonzini Cc: Wanpeng Li Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Eric Dumazet Cc: Rik van R

[PATCH 3/5] u64_stats: Introduce IRQs disabled helpers

2016-09-25 Thread Frederic Weisbecker
Introduce light versions of u64_stats helpers for context where either preempt or IRQs are disabled. This way we can make this library usable by scheduler irqtime accounting which currenty implement its ad-hoc version. Cc: Rik van Riel Cc: Paolo Bonzini Cc: Wanpeng Li Cc: Mike Galbraith Cc: Pe

[PATCH 2/5] irqtime: Remove needless IRQs disablement on kcpustat update

2016-09-25 Thread Frederic Weisbecker
The callers of the functions performing irqtime kcpustat updates have IRQS disabled, no need to disable them again. Reviewed-by: Rik van Riel Cc: Paolo Bonzini Cc: Wanpeng Li Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Eric Dumazet Cc: Rik van Riel Signed-off-by: Frederic Wei

[PATCH 5/5] irqtime: Consolidate irqtime flushing code

2016-09-25 Thread Frederic Weisbecker
The code performing irqtime nsecs stats flushing to kcpustat is roughly the same for hardirq and softirq. So lets consolidate that common code. Reviewed-by: Rik van Riel Cc: Paolo Bonzini Cc: Wanpeng Li Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Eric Dumazet Cc: Rik van Riel

[PATCH 1/5] irqtime: No need for preempt-safe accessors

2016-09-25 Thread Frederic Weisbecker
We can safely use the preempt-unsafe accessors for irqtime when we flush its counters to kcpustat as IRQs are disabled at this time. Reviewed-by: Rik van Riel Cc: Paolo Bonzini Cc: Wanpeng Li Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Eric Dumazet Cc: Rik van Riel Signed-off

[PATCH 0/5] sched/cputime: irqtime cleanups v2

2016-09-25 Thread Frederic Weisbecker
This second version fixes the ifdeffery issues reported by Paolo Bonzini and includes Rick's reviewed-by tags. I also intended to include Peterz's patch for lockdep assertion on irqs disabled but unfortunately I get false positives as irqs_disabled() doesn't always imply !current->hardirqs_enabled

[PATCH] [4.8-rc7, regression] fault_in_multipages_readable() throws set-but-unused error

2016-09-25 Thread Dave Chinner
From: Dave Chinner When building XFS with -Werror, it now fails with: ./include/linux/pagemap.h: In function ¿fault_in_multipages_readable¿: ./include/linux/pagemap.h:602:16: error: variable ¿c¿ set but not used [-Werror=unused-but-set-variable] volatile char c; ^ This is a r

Re: [PATCH 4/3] g_NCR5380: Merge g_NCR5380 and g_NCR5380_mmio

2016-09-25 Thread Christoph Hellwig
On Sun, Sep 25, 2016 at 09:39:20PM +0200, Ondrej Zary wrote: > Merge the PIO and MMIO code (with the help of ioport_map) in g_NCR5380 and > delete g_NCR5380_mmio. Awesome! this looks great to me, but we probably should thrown in a MODULE_ALIAS for g_NCR5380_mmio so that existing module configurat

Re: [PATCH 3/3] g_NCR5380: Stop using scsi_module.c

2016-09-25 Thread Christoph Hellwig
> +static int generic_NCR5380_isa_match(struct device *pdev, unsigned int ndev) > +{ > + struct Scsi_Host *sh = NULL; > + > + sh = generic_NCR5380_hw_init(&driver_template, pdev, base[ndev], > + irq[ndev], card[ndev]); > + if (!sh && base[ndev]) > +

Re: [PATCH 2/3] g_NCR5380: Reduce overrides[] from array to struct

2016-09-25 Thread Christoph Hellwig
On Sat, Sep 24, 2016 at 08:59:04PM +0200, Ondrej Zary wrote: > Remove compile-time card type definition GENERIC_NCR5380_OVERRIDE. > Then remove all code iterating the overrides[] array and reduce it to > struct card. > > Signed-off-by: Ondrej Zary Looks great! Reviewed-by: Christoph Hellwig

Re: [PATCH 1/3] g_NCR5380: Remove deprecated __setup

2016-09-25 Thread Christoph Hellwig
On Sat, Sep 24, 2016 at 08:59:03PM +0200, Ondrej Zary wrote: > Remove deprecated __setup for parsing command line parameters. > g_NCR5380.* parameters could be used instead. This assumes everyone has moved over to it. But I suspect the remaining hand full of users could adjust..

Re: [PATCH 3/6] isdn/hisax: add function declarations

2016-09-25 Thread Arnd Bergmann
On Sunday 25 September 2016, Baoyou Xie wrote: > > > @@ -1350,3 +1350,63 @@ static inline struct pci_dev > > *hisax_find_pci_device(unsigned int vendor, > > > } > > > > > > #endif > > > + > > > +#if CARD_TELES3 > > > +int setup_teles3(struct IsdnCard *card); > > > +#endif > > > + > > > +#if CARD_

  1   2   3   >