[PATCH 2/4] mm: change deactivate_page with deactivate_file_page

2015-03-10 Thread Minchan Kim
Deactivate_page was born for file invalidation so it has too specific logic for file-backed pages. So, let's change the name of function to file-specific and yield the generic name. Signed-off-by: Minchan Kim --- include/linux/swap.h | 2 +- mm/swap.c| 20 ++--

Re: [RFC] With 8250 Designware UART, if writes to the LCR failed the kernel will hung up

2015-03-10 Thread Zhang Zhen
On 2015/3/10 21:25, Peter Hurley wrote: > On 03/09/2015 10:47 PM, Tim Kryger wrote: >> The current workaround of clearing fifos and retrying a fixed number >> of times isn't ideal but I'm not sure what else can be done given the >> way this hardware works. > > But hanging the machine is not an

[PATCH v3 1/2] Input: touchscreen-iproc: Add Broadcom iProc touchscreen driver

2015-03-10 Thread Jonathan Richardson
Add initial version of the Broadcom touchscreen driver. Reviewed-by: Ray Jui Reviewed-by: Scott Branden Tested-by: Scott Branden Signed-off-by: Jonathan Richardson --- drivers/input/touchscreen/Kconfig | 11 + drivers/input/touchscreen/Makefile|1 +

[PATCH v3 2/2] Input: touchscreen-iproc: add device tree bindings

2015-03-10 Thread Jonathan Richardson
Documents the touchscreen device tree binding for Broadcom iProc family of SoCs. Reviewed-by: Scott Branden Tested-by: Scott Branden Signed-off-by: Jonathan Richardson --- .../input/touchscreen/brcm,iproc-touchscreen.txt | 76 1 file changed, 76 insertions(+) create

[PATCH v3 0/2] Add support for Broadcom iProc touchscreen

2015-03-10 Thread Jonathan Richardson
This patchset contains initial support for the touchscreen on the Broadcom iProc family of SoCs. This driver has been validated with Cygnus and is expected to work on other iProc family of SoCs that use the same touchscreen controller. Changes from v2: - Misc style changes. - Removed assumptions

Re: [PATCH v5 3/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-10 Thread Yijing Wang
... >> +bus = pci_create_root_bus(pcie->dev, 0, _pcie_ops, >> + >sysdata, pcie->resources); >> +if (!bus) { >> +dev_err(pcie->dev, "unable to create PCI root bus\n"); >> +ret = -ENOMEM; >> +goto err_power_off_phy; >> +}

Re: [PATCH v5 29/29] vfio: powerpc/spapr: Support Dynamic DMA windows

2015-03-10 Thread Alex Williamson
On Tue, 2015-03-10 at 01:07 +1100, Alexey Kardashevskiy wrote: > This adds create/remove window ioctls to create and remove DMA windows. > sPAPR defines a Dynamic DMA windows capability which allows > para-virtualized guests to create additional DMA windows on a PCI bus. > The existing linux

Re: ARCH_EXYNOS5433 missing in Kconfig

2015-03-10 Thread Chanwoo Choi
-clkout.o Regards, Chanwoo Choi On 03/11/2015 12:32 AM, Valentin Rothberg wrote: > Hi Chanwoo, > > your commit 96bd6224f07b ("clk: samsung: exynos5433: Add clocks using > common clock framework") is included in today's linux-next tree (i.e., > next-20150310). > > Th

[PATCH v3] ixgbe: make VLAN filter conditional

2015-03-10 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto Disable hardware VLAN filtering if netdev->features VLAN flag is dropped. In SR-IOV case, there is a use case which needs to disable VLAN filter. For example, we need to make a network function with VF in virtualized environment. That network function may be a software

Re: [PATCH 37/45] include/uapi/linux/socket.h: include sys/socket.h in userspace

2015-03-10 Thread Mikko Rapeli
On Wed, Mar 11, 2015 at 02:38:15AM +0200, Mikko Rapeli wrote: > On Tue, Feb 17, 2015 at 10:14:10AM +0100, Arnd Bergmann wrote: > > On Tuesday 17 February 2015 00:05:40 Mikko Rapeli wrote: > > > This libc header has sockaddr definition for userspace. > > > Fixes compilation errors like: > > >

Re: [RFC v1 2/2] x86: kconfig: remove UP [IO]APIC options

2015-03-10 Thread David Rientjes
On Tue, 10 Mar 2015, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > These were here mostly to help as wrappers for PCI_MSI > under certain UP 32-bit build scenarios, now that PCI_MSI > properly selects what it needs and when it needs it these > Kconfig options are now only enabling

Re: [PATCH 1/4] perf, tools: Output running time and run/enabled ratio in CSV mode

2015-03-10 Thread Namhyung Kim
On Tue, Mar 10, 2015 at 08:37:04AM -0700, Andi Kleen wrote: > > Why not handle both cases here? > > > > static void print_running(u64 run, u64 ena) > > { > > if (csv_output) > > fprintf(output, ...); > > else if (run != ena) > > fprintf(output, ...); > > } > >

Re: linux-next: build warnings after merge of the crypto tree

2015-03-10 Thread Herbert Xu
On Wed, Mar 11, 2015 at 11:56:37AM +1100, Stephen Rothwell wrote: > > This is what I applied: > > From: Stephen Rothwell > Date: Wed, 11 Mar 2015 11:51:30 +1100 > Subject: [PATCH] crypto: fix for sendmsg/recvmsg API change > > Signed-off-by: Stephen Rothwell Looks good to me. Thanks

Re: linux-next: build warnings after merge of the crypto tree

2015-03-10 Thread Stephen Rothwell
Hi all, On Tue, 10 Mar 2015 17:44:54 +1100 Stephen Rothwell wrote: > > On Tue, 10 Mar 2015 17:03:28 +1100 Herbert Xu > wrote: > > > > On Tue, Mar 10, 2015 at 04:44:17PM +1100, Stephen Rothwell wrote: > > > > > > After merging the crypto tree, today's (and the past few days) > > > linux-next

Re: [PATCH] ARM: shmobile: R-Car Gen2: Add da9063/da9210 regulator quirk

2015-03-10 Thread Simon Horman
On Mon, Mar 09, 2015 at 08:50:40PM +0100, Geert Uytterhoeven wrote: > The r8a7790/lager and r8a7791/koelsch development boards have da9063 and > da9210 regulators. Both regulators have their interrupt request lines > tied to the same interrupt pin (IRQ2) on the SoC. > > After cold boot or

Re: [RFC v1 1/2] x86: kconfig: simplify enabling [IO]APIC for PCI_MSI

2015-03-10 Thread David Rientjes
On Tue, 10 Mar 2015, Luis R. Rodriguez wrote: > diff --git a/Documentation/PCI/MSI-HOWTO.txt b/Documentation/PCI/MSI-HOWTO.txt > index 0d920d5..7306d2c 100644 > --- a/Documentation/PCI/MSI-HOWTO.txt > +++ b/Documentation/PCI/MSI-HOWTO.txt > @@ -71,10 +71,7 @@ will simply fail and the device will

Re: [PATCH v6 3/3] ARM: dts: vf610: add Miscellaneous System Control Module (MSCM)

2015-03-10 Thread Shawn Guo
On Sun, Mar 01, 2015 at 11:41:29PM +0100, Stefan Agner wrote: > Add the Miscellaneous System Control Module (MSCM) to the base > device tree for Vybrid SoC's. This module contains registers > to get information of the individual and current (accessing) > CPU. In a second block, there is an

[PATCH V2] arm64: dts: add APM Merlin Board device tree

2015-03-10 Thread Feng Kan
This patch adds the support for APM Merlin board. The Merlin board is based on the APM X-Gene Shadowcat SoC. This DTS enables PMU, SATA and Serial. Signed-off-by: Feng Kan --- V2 Change: - Add dma-range definition V1 Change: - add memreserve for spintable. - remove

Re: [PATCH] kbuild: Don't pass -rR to selftest makefiles

2015-03-10 Thread Michael Ellerman
On Tue, 2015-03-10 at 18:35 -0600, Shuah Khan wrote: > On 03/10/2015 05:49 PM, Michael Ellerman wrote: > > On Tue, 2015-03-10 at 17:39 -0600, Shuah Khan wrote: > >> On 03/10/2015 05:36 PM, Michael Ellerman wrote: > >>> On Mon, 2015-03-09 at 16:49 -0600, Shuah Khan wrote: > On 03/09/2015 08:28

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-10 Thread Namhyung Kim
Hi David, On Tue, Mar 10, 2015 at 08:25:27AM -0600, David Ahern wrote: > On 3/10/15 12:06 AM, Namhyung Kim wrote: > >Hi Arnaldo, > > > >On Mon, Mar 09, 2015 at 10:21:35AM -0300, Arnaldo Carvalho de Melo wrote: > >>For trace I need to take advantage of the fact that each mmap is ordered >

Re: [PATCH v2 5/6] watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND

2015-03-10 Thread Rafael J. Wysocki
On Tuesday, March 10, 2015 11:33:05 PM Alexandre Belloni wrote: > On 10/03/2015 at 23:31:52 +0100, Rafael J. Wysocki wrote : > > On Tuesday, March 10, 2015 10:33:17 PM Alexandre Belloni wrote: > > > Hi, > > > > > > On 09/03/2015 at 15:30:01 +0100, Rafael J. Wysocki wrote : > > > > > > > Actaully,

Re: [PATCH 37/45] include/uapi/linux/socket.h: include sys/socket.h in userspace

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 10:14:10AM +0100, Arnd Bergmann wrote: > On Tuesday 17 February 2015 00:05:40 Mikko Rapeli wrote: > > This libc header has sockaddr definition for userspace. > > Fixes compilation errors like: > > error: field ‘ifru_addr’ has incomplete type > > struct sockaddr ifru_addr; >

Re: [PATCH] kbuild: Don't pass -rR to selftest makefiles

2015-03-10 Thread Shuah Khan
On 03/10/2015 05:49 PM, Michael Ellerman wrote: > On Tue, 2015-03-10 at 17:39 -0600, Shuah Khan wrote: >> On 03/10/2015 05:36 PM, Michael Ellerman wrote: >>> On Mon, 2015-03-09 at 16:49 -0600, Shuah Khan wrote: On 03/09/2015 08:28 AM, Shuah Khan wrote: > On 03/04/2015 03:19 AM, Michael

Re: [PATCH] perf hists browser: Fix UI bug after fold/unfold

2015-03-10 Thread Namhyung Kim
Hi, On Tue, Mar 10, 2015 at 03:26:41PM +0800, He Kuang wrote: > hi, > On 2015/3/10 14:28, Namhyung Kim wrote: > >On Fri, Mar 06, 2015 at 08:51:44PM +0800, He Kuang wrote: > >>In perf hists browser, the fold/unfold stat of each hist entry is > >>recorded but hb->nr_callchain_rows loses its value

Re: [PATCHv3 1/5] usb: gadget: bind UDC by name passed via usb_gadget_driver structure

2015-03-10 Thread Ruslan Bilovol
Hi Sergei, On Wed, Feb 18, 2015 at 2:05 PM, Sergei Shtylyov wrote: > Hello. > > On 2/18/2015 12:17 AM, Ruslan Bilovol wrote: > >> Introduce new 'udc_name' member to usb_gadget_driver structure. >> The 'udc_name' is a name of UDC that usb_gadget_driver should >> be bound to. If udc_name is NULL,

Re: [PATCH v5 27/29] vfio: powerpc/spapr: powerpc/powernv/ioda2: Rework ownership

2015-03-10 Thread Alexey Kardashevskiy
On 03/11/2015 11:09 AM, Alex Williamson wrote: On Tue, 2015-03-10 at 01:07 +1100, Alexey Kardashevskiy wrote: Before the IOMMU user would take control over the IOMMU table belonging to a specific IOMMU group. This approach did not allow sharing tables between IOMMU groups attached to the same

Re: [PATCH 24/45] hdspm.h: include stdint.h in userspace

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 07:46:02AM +0100, Takashi Iwai wrote: > At Tue, 17 Feb 2015 00:05:27 +0100, > Mikko Rapeli wrote: > > > > Fixes compilation error: > > > > sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’ > > > > Signed-off-by: Mikko Rapeli > > Applied for 3.21, thanks. Sorry,

Re: [PATCH] clk: mediatek: Export CPU mux clocks for CPU frequency control

2015-03-10 Thread Mike Turquette
Quoting Viresh Kumar (2015-03-05 00:59:50) > On 5 March 2015 at 13:12, Sascha Hauer wrote: > > We have clk_set_parent for changing the parent and clk_set_rate to > > change the rate. Use the former for changing the parent and the latter > > for changing the rate. What you are interested in is

[PATCH] Revert "cpupower Makefile change to help run the tool without 'make install'"

2015-03-10 Thread Josh Boyer
This reverts commit 5c1de006e8e66b0be05be422416629e344c71652. While the original commit makes it easier to run cpupower from the local build directory, it also leaves the binary with a rather poor rpath of './' in it after it is installed on a system via 'make install'. This is considered bad

[GIT PULL] MTD fixes for 4.0

2015-03-10 Thread Brian Norris
Hi Linus, The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://git.infradead.org/linux-mtd.git tags/for-linus-20150310 for you to fetch changes up

Re: [PATCHv3 5/5] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-03-10 Thread Ruslan Bilovol
Hi Alan, On Tue, Feb 17, 2015 at 11:51 PM, Alan Stern wrote: > On Tue, 17 Feb 2015, Ruslan Bilovol wrote: > >> Change behavior during registration of gadgets and >> gadget drivers in udc-core. Instead of previous >> approach when for successful probe of usb gadget driver >> at least one usb

Re: [PATCH] kvm: move advertising of KVM_CAP_IRQFD to common code

2015-03-10 Thread Marcelo Tosatti
On Thu, Mar 05, 2015 at 11:54:46AM +0100, Paolo Bonzini wrote: > POWER supports irqfds but forgot to advertise them. Some userspace does > not check for the capability, but others check it---thus they work on > x86 and s390 but not POWER. > > To avoid that other architectures in the future make

Re: [PATCH] clk: mediatek: Export CPU mux clocks for CPU frequency control

2015-03-10 Thread Mike Turquette
Quoting Viresh Kumar (2015-03-05 03:02:06) > On 5 March 2015 at 16:21, Sascha Hauer wrote: > > Given the variance of different SoCs I don't think it makes sense > > to try to handle all these cases. Instead the cpufreq-dt driver > > should just call clk_set_rate() on the CPU clock with the

Re: [PATCH 1/3] drivers:pnp Add support for descendants claiming memory address space

2015-03-10 Thread Rafael J. Wysocki
On Tuesday, March 10, 2015 10:10:17 PM Jake Oshins wrote: > > -Original Message- > > From: Rafael J. Wysocki [mailto:rafael.j.wyso...@intel.com] > > Sent: Thursday, March 5, 2015 3:04 PM > > To: Jake Oshins > > Cc: gre...@linuxfoundation.org; KY Srinivasan; linux- > >

Re: [PATCH v5 27/29] vfio: powerpc/spapr: powerpc/powernv/ioda2: Rework ownership

2015-03-10 Thread Alex Williamson
On Tue, 2015-03-10 at 01:07 +1100, Alexey Kardashevskiy wrote: > Before the IOMMU user would take control over the IOMMU table belonging to > a specific IOMMU group. This approach did not allow sharing tables between > IOMMU groups attached to the same container. > > This introduces a new IOMMU

[PATCH v2] selftests: kcmp build fails when invoked from kselftest target

2015-03-10 Thread Shuah Khan
kcmp Makefile doesn't have an explicit build rule. As a result, kcmp build fails, when it is run from top level Makefile target kselftest. Without the explicit rule, make works only when it is run in the current directory or from selftests directory. Add an explicit build rule to fix the problem.

[PATCH] phy: exynos-mipi-video: Fix unbalanced lock on non-regmap path

2015-03-10 Thread Axel Lin
Remove the second lock on non-regmap path. Fixes: 278270e39efa (phy: exynos-mipi-video: Use spin_lock to protct state->regmap rmw operations) Reported-by: Julia Lawall Signed-off-by: Axel Lin --- drivers/phy/phy-exynos-mipi-video.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH 34/45] include/uapi/asm-generic/signal.h: hide sigset_t definition in userspace

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 10:16:09AM +0100, Arnd Bergmann wrote: > On Tuesday 17 February 2015 00:05:37 Mikko Rapeli wrote: > > +#ifdef __KERNEL__ > > +/* already defined in userspace via stdlib.h */ > > typedef struct { > > unsigned long sig[_NSIG_WORDS]; > > } sigset_t; > > +#endif /*

Re: [PATCH] dma: Add Xilinx ZDMA device tree Binding Documentation

2015-03-10 Thread Sören Brinkmann
On Tue, 2015-03-10 at 07:46PM +0530, Punnaiah Choudary Kalluri wrote: > Device-tree binding documentation for Xilinx ZDMA Engine > > Signed-off-by: Punnaiah Choudary Kalluri > --- > .../devicetree/bindings/dma/xilinx/zdma.txt| 76 > > 1 files changed, 76

Re: [PATCH v5 26/29] vfio: powerpc/spapr: Define v2 IOMMU

2015-03-10 Thread Alex Williamson
On Tue, 2015-03-10 at 01:07 +1100, Alexey Kardashevskiy wrote: > The existing IOMMU code takes/releases ownership over the existing IOMMU > tables created by the platform code, i.e. the tables remain in memory > all the time. Also, the existing IOMMU requires VFIO_IOMMU_ENABLE call to > start

Re: [PATCH v3 0/2] kvm: x86: kvm_emulate_*

2015-03-10 Thread Marcelo Tosatti
On Mon, Mar 02, 2015 at 01:43:24PM -0600, Joel Schopp wrote: > Review comments from v1 that used kvm_emulate_wbinvd() pointed out that > kvm_emulate_* was inconsistant in using skipping, while kvm_emulate() always > skips. The first patch cleans up the existing use while the second patch > adds

Re: [PATCH] dma: Add Xilinx ZDMA device tree Binding Documentation

2015-03-10 Thread Josh Cartwright
On Tue, Mar 10, 2015 at 07:46:23PM +0530, Punnaiah Choudary Kalluri wrote: > Device-tree binding documentation for Xilinx ZDMA Engine > > Signed-off-by: Punnaiah Choudary Kalluri > --- Hey Punnaiah- Was this intended to be sent out with a driver? > .../devicetree/bindings/dma/xilinx/zdma.txt

Re: Rcceiving a generic netlink multicast - should be restricted to the root user?

2015-03-10 Thread Craig Davison
I asked about this on stackoverflow at http://stackoverflow.com/questions/28909009/ . Basically, when the generic netlink socket is created on the kernel side, its netlink_kernel_cfg has: .flags = NL_CFG_F_NONROOT_RECV So for generic netlink, non-root processes will always be able to receive

Re: [PATCH 4/4] mm: numa: Slow PTE scan rate if migration failures occur

2015-03-10 Thread Linus Torvalds
On Mon, Mar 9, 2015 at 12:19 PM, Dave Chinner wrote: > On Mon, Mar 09, 2015 at 09:52:18AM -0700, Linus Torvalds wrote: >> >> What's your virtual environment setup? Kernel config, and >> virtualization environment to actually get that odd fake NUMA thing >> happening? > > I don't have the exact

Re: [PATCH] kbuild: Don't pass -rR to selftest makefiles

2015-03-10 Thread Michael Ellerman
On Tue, 2015-03-10 at 17:39 -0600, Shuah Khan wrote: > On 03/10/2015 05:36 PM, Michael Ellerman wrote: > > On Mon, 2015-03-09 at 16:49 -0600, Shuah Khan wrote: > >> On 03/09/2015 08:28 AM, Shuah Khan wrote: > >>> On 03/04/2015 03:19 AM, Michael Ellerman wrote: > The makefiles under

Re: [PATCH v5 03/29] vfio: powerpc/spapr: Check that TCE page size is equal to it_page_size

2015-03-10 Thread Alexey Kardashevskiy
On 03/11/2015 10:03 AM, Alex Williamson wrote: On Wed, 2015-03-11 at 09:57 +1100, Alexey Kardashevskiy wrote: On 03/11/2015 06:56 AM, Alex Williamson wrote: On Tue, 2015-03-10 at 01:06 +1100, Alexey Kardashevskiy wrote: This checks that the TCE table page size is not bigger that the size of a

[PATCH -next] hwmon: fix gpio-fan.c build

2015-03-10 Thread Randy Dunlap
changed, 1 insertion(+) --- linux-next-20150310.orig/drivers/hwmon/Kconfig +++ linux-next-20150310/drivers/hwmon/Kconfig @@ -510,6 +510,7 @@ config SENSORS_G762 config SENSORS_GPIO_FAN tristate "GPIO fan" depends on GPIOLIB + depends on THERMAL || THERMAL=n

Re: [PATCH 0/3] selftests: ptrace, kcmp, efivars build failure fixes

2015-03-10 Thread Shuah Khan
On 03/10/2015 05:37 PM, Shuah Khan wrote: > On 03/10/2015 05:35 PM, Michael Ellerman wrote: >> On Tue, 2015-03-10 at 16:00 -0600, Shuah Khan wrote: >>> ptrace, efivars, and kcmp Makefiles don't have explicit build rule. >>> As a result, build fails when make is run from top level Makefile >>>

Re: [PATCH] kbuild: Don't pass -rR to selftest makefiles

2015-03-10 Thread Shuah Khan
On 03/10/2015 05:36 PM, Michael Ellerman wrote: > On Mon, 2015-03-09 at 16:49 -0600, Shuah Khan wrote: >> On 03/09/2015 08:28 AM, Shuah Khan wrote: >>> On 03/04/2015 03:19 AM, Michael Ellerman wrote: The makefiles under tools/testing/selftests are not real kbuild makefiles, they are

Re: [PATCH 0/3] selftests: ptrace, kcmp, efivars build failure fixes

2015-03-10 Thread Shuah Khan
On 03/10/2015 05:35 PM, Michael Ellerman wrote: > On Tue, 2015-03-10 at 16:00 -0600, Shuah Khan wrote: >> ptrace, efivars, and kcmp Makefiles don't have explicit build rule. >> As a result, build fails when make is run from top level Makefile >> target kselftest. Without the explicit rule, make

Re: [PATCH v5 07/29] vfio: powerpc/spapr: Moving pinning/unpinning to helpers

2015-03-10 Thread Alex Williamson
On Tue, 2015-03-10 at 01:07 +1100, Alexey Kardashevskiy wrote: > This is a pretty mechanical patch to make next patches simpler. > > New tce_iommu_unuse_page() helper does put_page() now but it might skip > that after the memory registering patch applied. > > As we are here, this removes

Re: [PATCH] kbuild: Don't pass -rR to selftest makefiles

2015-03-10 Thread Michael Ellerman
On Mon, 2015-03-09 at 16:49 -0600, Shuah Khan wrote: > On 03/09/2015 08:28 AM, Shuah Khan wrote: > > On 03/04/2015 03:19 AM, Michael Ellerman wrote: > >> The makefiles under tools/testing/selftests are not real kbuild > >> makefiles, they are regular stand alone makefiles. As such they *do* > >>

Re: [PATCH 0/3] selftests: ptrace, kcmp, efivars build failure fixes

2015-03-10 Thread Michael Ellerman
On Tue, 2015-03-10 at 16:00 -0600, Shuah Khan wrote: > ptrace, efivars, and kcmp Makefiles don't have explicit build rule. > As a result, build fails when make is run from top level Makefile > target kselftest. Without the explicit rule, make works only when > it is run in the current directory or

Re: [PATCH v5 03/29] vfio: powerpc/spapr: Check that TCE page size is equal to it_page_size

2015-03-10 Thread Alex Williamson
On Wed, 2015-03-11 at 10:14 +1100, Benjamin Herrenschmidt wrote: > On Tue, 2015-03-10 at 17:03 -0600, Alex Williamson wrote: > > > > return (PAGE_SHIFT + compound_order(compound_head(page) >= page_shift); > > > > > > This won't be "bool" though. > > > > Yes, it will. > > Don't you have your

[PATCH][ASoC]Add ability to remove rate constraints from generic ASoC AC'97 CODEC driver

2015-03-10 Thread Maciej S. Szmigiero
Add ability to remove rate constraints from generic ASoC AC'97 CODEC driver via passed platform data, make it selectable in config. This way this driver can be used for platforms which don't need specialized AC'97 CODEC drivers while at the same avoiding code duplication from implementing

Re: linux-next: Tree for Mar 10 (netdev/switchdev)

2015-03-10 Thread Randy Dunlap
On 03/09/15 22:59, Stephen Rothwell wrote: > Hi all, > > Changes since 20150306: > on x86_64: net/built-in.o: In function `netdev_switch_fib_ipv4_abort': (.text+0xf7811): undefined reference to `fib_flush_external' Full randconfig file is attached. -- ~Randy # # Automatically generated

Re: [PATCH 2/2] dt: power: Add docs for generic SYSCON poweroff driver.

2015-03-10 Thread Moritz Fischer
On Tue, Mar 10, 2015 at 4:21 PM, Moritz Fischer wrote: > Add documentation for generic SYSCON poweroff driver. > > Signed-off-by: Moritz Fischer > --- > .../bindings/power/reset/syscon-poweroff.txt | 23 > ++ > 1 file changed, 23 insertions(+) > > diff --git >

[PATCH 1/2] power: reset: Add generic SYSCON register mapped poweroff.

2015-03-10 Thread Moritz Fischer
Add a generic SYSCON register mapped poweroff mechanism. Signed-off-by: Moritz Fischer --- drivers/power/reset/Kconfig | 7 +++ drivers/power/reset/Makefile | 1 + drivers/power/reset/syscon-poweroff.c | 97 +++ 3 files changed, 105

[PATCH 2/2] dt: power: Add docs for generic SYSCON poweroff driver.

2015-03-10 Thread Moritz Fischer
Add documentation for generic SYSCON poweroff driver. Signed-off-by: Moritz Fischer --- .../bindings/power/reset/syscon-poweroff.txt | 23 ++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/power/reset/syscon-poweroff.txt

[PATCH 0/2] Add support for generic register mapped poweroff.

2015-03-10 Thread Moritz Fischer
This patchset adds support for generic register mapped poweroff via SYCON. Earlier versions of this were specific to our product, however, as Sebastian suggested, it can be generalized into a generic driver. If an entry in the MAINTAINERS file is required I can resend a corrected version.

[RFC v1 1/2] x86: kconfig: simplify enabling [IO]APIC for PCI_MSI

2015-03-10 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Commit 38a1dfda by Bryan O'Donoghue fixed a build issue when PCI_MSI support is enabled on non-SMP X86_32 systems, this was done by introducing a new Kconfig entry, X86_UP_APIC_MSI, with the only purpose of selecting X86_UP_APIC under certain conditions. The real goal

[RFC v1 2/2] x86: kconfig: remove UP [IO]APIC options

2015-03-10 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" These were here mostly to help as wrappers for PCI_MSI under certain UP 32-bit build scenarios, now that PCI_MSI properly selects what it needs and when it needs it these Kconfig options are now only enabling users reduce the size of 32-bit kernels optionally. Since

Re: [PATCH v5 03/29] vfio: powerpc/spapr: Check that TCE page size is equal to it_page_size

2015-03-10 Thread Benjamin Herrenschmidt
On Tue, 2015-03-10 at 17:03 -0600, Alex Williamson wrote: > > > return (PAGE_SHIFT + compound_order(compound_head(page) >= page_shift); > > > > This won't be "bool" though. > > Yes, it will. Don't you have your parenthesis in the wrong place, Alex ? :-) > > This will (I'll do this) > > > >

[RFC v1 0/2] x86: kconfig: simplify APIC entries

2015-03-10 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" There's quite a bit of Kconfig entries related to X86_LOCAL_APIC and X86_IO_APIC, and all for 32-bit purposes. Since 32-bit isn't in a magical state of flux we now *should* know when to enable or disable APIC stuff for these systems. Through history we've observed for

Re: [RFC V2 04/12] i2c: opal: make use of the new infrastructure for quirks

2015-03-10 Thread Benjamin Herrenschmidt
On Tue, 2015-03-10 at 22:43 +0530, Neelesh Gupta wrote: > I tested the i2c opal driver after updating the patch as below. > Basically I think we can also support write-then-{read/write} > for the number of messages = 2. > Ben, any issues if we support both write plus read/write in the > opal

[PATCH] scripts/setlocalversion: fix false positive -dirty tag from ctime

2015-03-10 Thread Gregory Fong
git-diff-index cannot detect that a file hasn't actually changed when the file's ctime has changed (e.g. if chmod was used but didn't actually result in any changes), which was causing setlocalversion to incorrectly add a -dirty tag. Run git-update-index beforehand to make sure that the index is

Re: [PATCH v5 03/29] vfio: powerpc/spapr: Check that TCE page size is equal to it_page_size

2015-03-10 Thread Alex Williamson
On Wed, 2015-03-11 at 09:57 +1100, Alexey Kardashevskiy wrote: > On 03/11/2015 06:56 AM, Alex Williamson wrote: > > On Tue, 2015-03-10 at 01:06 +1100, Alexey Kardashevskiy wrote: > >> This checks that the TCE table page size is not bigger that the size of > >> a page we just pinned and going to

Re: [PATCH] staging: rtl8192e: rtllib_wx: code style improvements

2015-03-10 Thread Joe Perches
On Tue, 2015-03-10 at 23:53 +0100, Mateusz Kulikowski wrote: > - Replaced printk() with netdev_*() trivia: > diff --git a/drivers/staging/rtl8192e/rtllib_wx.c > b/drivers/staging/rtl8192e/rtllib_wx.c [] > @@ -423,11 +421,8 @@ int rtllib_wx_set_encode(struct rtllib_device *ieee, >

[PATCH v1] lib/vsprintf.c: Even faster decimal conversion

2015-03-10 Thread Rasmus Villemoes
The most expensive part of decimal conversion is the divisions by 10 (albeit done using reciprocal multiplication with appropriately chosen constants). I decided to see if one could eliminate around half of these multiplications by emitting two digits at a time, at the cost of a 200 byte lookup

Re: [PATCH 33/45] include/uapi/asm-generic/signal.h: include stdlib.h in userspace

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 10:44:48AM +0100, Arnd Bergmann wrote: > On Tuesday 17 February 2015 00:05:36 Mikko Rapeli wrote: > > Fixes compiler warning: > > error: unknown type name ‘size_t’ > > > > Signed-off-by: Mikko Rapeli > > --- > > include/uapi/asm-generic/signal.h | 4 > > 1 file

Re: [PATCH v5 03/29] vfio: powerpc/spapr: Check that TCE page size is equal to it_page_size

2015-03-10 Thread Alexey Kardashevskiy
On 03/11/2015 06:56 AM, Alex Williamson wrote: On Tue, 2015-03-10 at 01:06 +1100, Alexey Kardashevskiy wrote: This checks that the TCE table page size is not bigger that the size of a page we just pinned and going to put its physical address to the table. Otherwise the hardware gets unwanted

[PATCH] staging: rtl8192e: rtllib_wx: code style improvements

2015-03-10 Thread Mateusz Kulikowski
Code reformatting based on checkpatch.pl: - Replaced min() with min_t() - Replaced printk() with netdev_*() - Merged broken string Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtllib_wx.c | 31 +-- 1 file changed, 13 insertions(+), 18 deletions(-)

[PATCH 5/7] hv: vmbus: missing curly braces in vmbus_process_offer()

2015-03-10 Thread K. Y. Srinivasan
From: Dan Carpenter The indenting makes it clear that there were curly braces intended here. Fixes: 2dd37cb81580 ('Drivers: hv: vmbus: Handle both rescind and offer messages in the same context') Signed-off-by: Dan Carpenter Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |

[PATCH 7/7] Drivers: hv: vmbus: Fix a bug in rescind processing in vmbus_close_internal()

2015-03-10 Thread K. Y. Srinivasan
When a channel has been rescinded, the close operation is a noop. Restructure the code so we deal with the rescind condition after we properly cleanup the channel. I would like to thank Dexuan Cui for observing this problem. The current code leaks memory when the channel is rescinded.

[PATCH 2/7] Drivers: hv: hv_balloon: keep locks balanced on add_memory() failure

2015-03-10 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov When add_memory() fails the following BUG is observed: [ 743.646107] hv_balloon: hot_add memory failed error is -17 [ 743.679973] [ 743.680930] = [ 743.680930] [ BUG: bad unlock balance detected! ] [ 743.680930]

[PATCH 3/7] Drivers: hv: hv_balloon: don't lose memory when onlining order is not natural

2015-03-10 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Memory blocks can be onlined in random order. When this order is not natural some memory pages are not onlined because of the redundant check in hv_online_page(). Here is a real world scenario: 1) Host tries to hot-add the following (process_hot_add):

[PATCH 4/7] Correcting truncation error for constant HV_CRASH_CTL_CRASH_NOTIFY

2015-03-10 Thread K. Y. Srinivasan
From: Nick Meier HV_CRASH_CTL_CRASH_NOTIFY is a 64 bit number. Depending on the usage context, the value may be truncated. This patch is in response from the following email from Intel: [char-misc:char-misc-testing 25/45] drivers/hv/vmbus_drv.c:67:9: sparse: constant

[PATCH 6/7] tools: hv: fcopy_daemon: support >2GB files for x86_32 guest

2015-03-10 Thread K. Y. Srinivasan
From: Dexuan Cui Without this patch, hv_fcopy_daemon's hv_copy_data() -> pwrite() will fail for >2GB file offset. Signed-off-by: Alex Ng Signed-off-by: Dexuan Cui Cc: K. Y. Srinivasan Signed-off-by: K. Y. Srinivasan --- tools/hv/Makefile |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 1/7] Drivers: hv: vmbus: Perform device register in the per-channel work element

2015-03-10 Thread K. Y. Srinivasan
This patch is a continuation of the rescind handling cleanup work. We cannot block in the global message handling work context especially if we are blocking waiting for the host to wake us up. I would like to thank Dexuan Cui for observing this problem. The current Linux-next tree is broken and

[PATCH 0/7] drivers: hv: vmbus: Some miscellaneous fixes

2015-03-10 Thread K. Y. Srinivasan
Some miscellaneous fixes to the vmbus driver and the balloon driver. Currently the linux-next tree is broken and some of the patches in this set fix the issue. Dan Carpenter (1): hv: vmbus: missing curly braces in vmbus_process_offer() Dexuan Cui (1): tools: hv: fcopy_daemon: support >2GB

Re: [PATCH 15/45] dm-log-userspace.h: include stdint.h in userspace

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 02:55:49PM +0100, Arnd Bergmann wrote: > On Tuesday 17 February 2015 13:38:06 Alasdair G Kergon wrote: > > On Tue, Feb 17, 2015 at 10:08:56AM +0100, Arnd Bergmann wrote: > > > The normal way to do this in kernel headers is to use linux/types.h > > > but change the data

Re: [Xen-devel] [PATCH 25/45] gntalloc.h: include stdint.h in userspace

2015-03-10 Thread Mikko Rapeli
On Wed, Feb 18, 2015 at 11:53:22AM +, David Vrabel wrote: > On 16/02/15 23:05, Mikko Rapeli wrote: > > Fixes compilation error: > > > > xen/gntalloc.h:22:2: error: unknown type name ‘uint16_t’ > > > > Signed-off-by: Mikko Rapeli > > --- > > include/uapi/xen/gntalloc.h | 6 ++ > > 1

Re: [PATCH v5 3/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-10 Thread Bjorn Helgaas
On Tue, Mar 10, 2015 at 03:22:36PM -0700, Ray Jui wrote: > Hi Bjorn, > > On 3/10/2015 2:40 PM, Bjorn Helgaas wrote: > > [+cc Rob, Yijing] > > > > On Mon, Mar 09, 2015 at 05:38:05PM -0700, Ray Jui wrote: > >> This adds the support for Broadcom iProc PCIe controller > >> > >> pcie-iproc.c servers

Re: [PATCH 3/3] selftests: kcmp build fails when invoked from kselftest target

2015-03-10 Thread Cyrill Gorcunov
On Tue, Mar 10, 2015 at 04:41:39PM -0600, Shuah Khan wrote: > > Are you looking for something like this: > > all: kcmp_test > > kcmp_test: > $(CC) $(CFLAGS) kcmp_test.c -o kcmp_test > > I just simplified it and removed the prerequsite. > If you prefer, I can make the change to keep the >

Re: [PATCH 03/45] headers_install.sh: enhance error handling

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 02:17:51PM +0100, Michal Marek wrote: > On 2015-02-17 00:05, Mikko Rapeli wrote: > > Exit with error if using undefined variables or if any sub command fails > > with error return value. unidef needs special handling since but this can > > be done without the trap. Enables

Re: [PATCH 3/3] selftests: kcmp build fails when invoked from kselftest target

2015-03-10 Thread Shuah Khan
On 03/10/2015 04:09 PM, Cyrill Gorcunov wrote: > On Tue, Mar 10, 2015 at 04:00:59PM -0600, Shuah Khan wrote: >> kcmp Makefile doesn't have an explicit build rule. As a result, >> kcmp build fails, when it is run from top level Makefile target >> kselftest. Without the explicit rule, make works

Re: [PATCH 1/1] tty: fix up atime/mtime mess, take four

2015-03-10 Thread One Thousand Gnomes
On Mon, 09 Mar 2015 11:01:12 +0100 Jiri Slaby wrote: > On 03/06/2015, 02:16 PM, Raymond Jennings wrote: > > On Fri, 2015-02-27 at 18:40 +0100, Jiri Slaby wrote: > >> So check the absolute difference of times and if it large than "8 > >> seconds or so", always update the time. That means we will

Re: [PATCH v5 3/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-10 Thread Arnd Bergmann
On Tuesday 10 March 2015 15:22:36 Ray Jui wrote: > > Do you anticipate additional front-end bus interfaces? If not, and maybe > > even if you do, you might squash everything into pcie-iproc.c. Then you > > only need one file (no .h file needed) and the package is a little > > simpler. I think

Re: [PATCH] x86: svm: make wbinvd faster

2015-03-10 Thread Marcelo Tosatti
On Tue, Mar 10, 2015 at 12:01:31PM +0100, Radim Krčmář wrote: > 2015-03-09 20:28-0300, Marcelo Tosatti: > > On Fri, Feb 27, 2015 at 06:19:18PM -0600, Joel Schopp wrote: > > > From: David Kaplan > > > No need to re-decode WBINVD since we know what it is from the intercept. > > > > > >

Re: [PATCH 02/45] scripts/headers.sh: add verbose option to make calls if defined

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 04:18:59PM +0900, Masahiro Yamada wrote: > > On Tue, 17 Feb 2015 00:05:05 +0100 > Mikko Rapeli wrote: > > > Useful when debugging the scripts. > > > > Signed-off-by: Mikko Rapeli > > --- > > scripts/headers.sh | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 01/45] Makefile: propagate verbose options

2015-03-10 Thread Mikko Rapeli
On Tue, Feb 17, 2015 at 04:18:12PM +0900, Masahiro Yamada wrote: > Hi Mikko, > > On Tue, 17 Feb 2015 00:05:04 +0100 > Mikko Rapeli wrote: > > > Usefull when debugging the make scripts. > > > > Signed-off-by: Mikko Rapeli > > --- > > Makefile | 8 > > 1 file changed, 4 insertions(+),

Re: linux-next: manual merge of the net-next tree with the net tree

2015-03-10 Thread David Miller
From: Stephen Rothwell Date: Wed, 11 Mar 2015 08:48:30 +1100 > Just wondering if you got that merge right? Here is the diff from what > I did yesterday to what you have in net-next: ... > That section was removed by commit 421d9df0628b ("net/macb: merge > at91_ether driver into macb driver")

Re: [PATCH v2 5/6] watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND

2015-03-10 Thread Alexandre Belloni
On 10/03/2015 at 23:31:52 +0100, Rafael J. Wysocki wrote : > On Tuesday, March 10, 2015 10:33:17 PM Alexandre Belloni wrote: > > Hi, > > > > On 09/03/2015 at 15:30:01 +0100, Rafael J. Wysocki wrote : > > > > > > Actaully, your platform should just refuse to enter suspend-to-RAM > > > > > > when

Re: [PATCH v5 3/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-10 Thread Ray Jui
Hi Bjorn, On 3/10/2015 2:40 PM, Bjorn Helgaas wrote: > [+cc Rob, Yijing] > > On Mon, Mar 09, 2015 at 05:38:05PM -0700, Ray Jui wrote: >> This adds the support for Broadcom iProc PCIe controller >> >> pcie-iproc.c servers as the common core driver, and front-end bus >> interface needs to be added

Re: [RFC][PATCH v4] procfs: Always expose /proc//map_files/ and make it readable

2015-03-10 Thread Cyrill Gorcunov
On Sat, Feb 14, 2015 at 12:40:09PM -0800, Calvin Owens wrote: > Currently, /proc//map_files/ is restricted to CAP_SYS_ADMIN, and > is only exposed if CONFIG_CHECKPOINT_RESTORE is set. This interface is > very useful for enumerating the files mapped into a process when the > more verbose

RE: [PATCH 1/3] drivers:pnp Add support for descendants claiming memory address space

2015-03-10 Thread Jake Oshins
> -Original Message- > From: Rafael J. Wysocki [mailto:rafael.j.wyso...@intel.com] > Sent: Thursday, March 5, 2015 3:04 PM > To: Jake Oshins > Cc: gre...@linuxfoundation.org; KY Srinivasan; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com;

Re: [PATCH 3/3] selftests: kcmp build fails when invoked from kselftest target

2015-03-10 Thread Cyrill Gorcunov
On Tue, Mar 10, 2015 at 04:00:59PM -0600, Shuah Khan wrote: > kcmp Makefile doesn't have an explicit build rule. As a result, > kcmp build fails, when it is run from top level Makefile target > kselftest. Without the explicit rule, make works only when it is > run in the current directory or from

Re: [PATCH v2 5/6] watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND

2015-03-10 Thread Rafael J. Wysocki
On Tuesday, March 10, 2015 10:33:17 PM Alexandre Belloni wrote: > Hi, > > On 09/03/2015 at 15:30:01 +0100, Rafael J. Wysocki wrote : > > > > > Actaully, your platform should just refuse to enter suspend-to-RAM > > > > > when hw watchdog is enabled. > > > > > > > > Quite likely, depending on how

Re: Bad rpath in cpupower with 4.0-rcX

2015-03-10 Thread Rafael J. Wysocki
On Tuesday, March 10, 2015 08:33:54 AM Josh Boyer wrote: > On Fri, Mar 6, 2015 at 8:47 AM, Josh Boyer wrote: > > Hi All, > > > > Commit 5c1de006e8e66 (cpupower Makefile change to help run the tool > > without 'make install') added an rpath to the cpupower binary. From > > what I can understand,

Re: Linux XIA - merge proposal

2015-03-10 Thread Bjorn Helgaas
On Tue, Mar 10, 2015 at 12:19 PM, Eric Dumazet wrote: > On Tue, 2015-03-10 at 12:01 -0500, Bjorn Helgaas wrote: > >> From my point of view (far outside the networking world and completely >> incompetent to judge the merits of XIA), this email seems like a >> reasonable starting point for a

<    1   2   3   4   5   6   7   8   9   10   >