Re: [PATCH 06/11] powerpc/kvm: Allow KVM_PPC_ALLOCATE_HTAB ioctl() to change HPT size

2016-12-18 Thread Thomas Huth
On 19.12.2016 01:48, David Gibson wrote: > On Fri, Dec 16, 2016 at 01:44:57PM +0100, Thomas Huth wrote: >> On 15.12.2016 06:53, David Gibson wrote: >>> The KVM_PPC_ALLOCATE_HTAB ioctl() is used to set the size of hashed page >>> table (HPT) that userspace expects a guest VM to have, and is also use

Re: [PATCH] mm: simplify node/zone name printing

2016-12-18 Thread Sergey Senozhatsky
Hello, On (12/19/16 08:00), Vlastimil Babka wrote: [..] > > @@ -4421,7 +4421,6 @@ void show_free_areas(unsigned int filter) > > printk("lowmem_reserve[]:"); > > for (i = 0; i < MAX_NR_ZONES; i++) > > printk(KERN_CONT " %ld", zone->lowmem_reserve[i]); > >

Re: [PATCH v6 4/5] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2016-12-18 Thread Uwe Kleine-König
On Fri, Dec 16, 2016 at 03:17:53PM -0800, Joshua Clayton wrote: > cyclone-ps-spi loads FPGA firmware over spi, using the "passive serial" > interface on Altera Cyclone FPGAS. > > This is one of the simpler ways to set up an FPGA at runtime. > The signal interface is close to unidirectional spi wit

[PATCH] genwqe: drop .link_reset()

2016-12-18 Thread Cao jin
In AER recovery, pci_error_handlers.link_reset() is never called, drop it now. Signed-off-by: Cao jin --- drivers/misc/genwqe/card_base.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/misc/genwqe/card_base.c b/drivers/misc/genwqe/card_base.c index 6c1f49a85023..4fd21e86ad56 100644 -

[PATCH v4 3/3] ARM: dts: vf610-zii-dev-rev-b: Remove 'fixed-link' from DSA ports

2016-12-18 Thread Andrey Smirnov
Remove 'fixed-link' nodes from DSA ports since they are not needed (they are not limiting link's speed and the ports will be configured to their maximux speed as a default) Suggested-by: Andrew Lunn Signed-off-by: Andrey Smirnov --- Changes since v3: - None arch/arm/boot/dts/vf610-zi

[PATCH v4 2/3] ARM: dts: vf610-zii-dev: Add .dts file for rev. C

2016-12-18 Thread Andrey Smirnov
Add .dts file for rev. C of the board by factoring out commonalities into a shared include file (vf610-zii-dev-rev-b-c.dtsi) and deriving revision specific file from it (vf610-zii-dev-rev-b.dts and vf610-zii-dev-reb-c.dts). Signed-off-by: Andrey Smirnov --- Changes since v3: - Added nod

[PATCH v4 1/3] ARM: dts: vf610-zii-dev-rev-b: Remove leftover PWM pingroup

2016-12-18 Thread Andrey Smirnov
Remove pwm0grp since it is: a) Not referenced anywhere in the DTS file (unlike Tower board it is based on, this board does not use/expose FTM0) b) Configures PTB2 and PTB3 in a way that contradicts pinctrl-mdio-mux Signed-off-by: Andrey Smirnov --- Changes since

KREDITANGEBOTE

2016-12-18 Thread Timothy Connor
-- Darlehen für alle möglichen Zwecke Wir bieten Ihnen zwischen € 5000 und € 20 Millionen, können Sie Ihre Anfrage direkt per E-Mail: mkfinancial.onl...@gmail.com

Re: [PATCH v2] clk: imx: pllv3: support fractional multiplier on vf610 PLL1/PLL2

2016-12-18 Thread Andrey Smirnov
On Wed, Dec 14, 2016 at 12:14 AM, Nikita Yushchenko wrote: > On vf610, PLL1 and PLL2 have registers to configure fractional part of > frequency multiplier. > > This patch adds support for these registers. > > This fixes "fast system clock" issue on boards where bootloader sets > fractional multipl

Re: [PATCH] mm: simplify node/zone name printing

2016-12-18 Thread Vlastimil Babka
On 12/16/2016 01:32 PM, Michal Hocko wrote: > From: Michal Hocko > > show_node currently only prints Node id while it is always followed by > printing zone->name. As the node information is conditional to > CONFIG_NUMA we have to be careful to always terminate the previous > continuation line bef

Re: [PATCH 1/8] extcon: axp288: Remove dependency on non-existing platform_data

2016-12-18 Thread Chanwoo Choi
Hi Hans, This series look good to me. I added the comment for patch4/5. If you agree following two comment, I'll merge these series for 4.11. - patch4 uses the EXTCON_NONE when setting the previous_cable in probe() - patch5, I don't want to use the dev_info on the fly. So, I want to drop the pa

Re: [PATCH 2/8] extcon: axp288: Remove usb_phy notification code

2016-12-18 Thread Chanwoo Choi
Hi Hans, On 2016년 12월 19일 09:13, Hans de Goede wrote: > The usb_phy based intel-usb-phy code never got merged into the > mainline kernel, so the devm_usb_get_phy() call will always fail, > blocking the driver from loading. > > Since new drivers should use the generic-phy framework, not the > old-

warning: (UBIFS_FS_ENCRYPTION) selects FS_ENCRYPTION which has unmet direct dependencies (BLOCK)

2016-12-18 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b0b3a37b908b5906524c11f3ca12cd7c9d4adc1c commit: d475a507457b5cafa428871a473d0dcc828c5f68 ubifs: Add skeleton for fscrypto date: 6 days ago config: x86_64-randconfig-x016-12191306 (attached as .config) com

[PATCH] nvmem: core: Allow ignoring length when reading a cell

2016-12-18 Thread Vivek Gautam
nvmem_cell_read() API fills in the argument 'len' with the number of bytes read from the cell. Many users don't care about this length value. So allow users to pass a NULL pointer to this len field. Signed-off-by: Vivek Gautam --- Based on torvalds's master branch. - Tested against 'next-201612

Re: [PATCH 7/8] extcon: axp288: Remove unnecessary irq?_en register writes

2016-12-18 Thread Chanwoo Choi
Hi Hans, On 2016년 12월 19일 09:13, Hans de Goede wrote: > Setting the irq_enable bits is taken care of by the irq chip when we > request the irqs and the driver should not be meddling with the > irq?_en registers itself. > > Signed-off-by: Hans de Goede > --- > drivers/extcon/extcon-axp288.c | 19

Re: [PATCH 8/8] extcon: axp288: Fix the module not auto-loading

2016-12-18 Thread Chanwoo Choi
Hi Hans, On 2016년 12월 19일 09:13, Hans de Goede wrote: > Add a MODULE_DEVICE_TABLE to fix the module not auto-loading. > > Signed-off-by: Hans de Goede > --- > drivers/extcon/extcon-axp288.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/extcon/extcon-axp288.c b/drivers

[PATCH] timerfd: export defines to userspace

2016-12-18 Thread Mike Frysinger
Since userspace is expected to call timerfd syscalls directly with these flags/ioctls, make sure we export them so they don't have to duplicate the values themselves. Acked-by: Thomas Gleixner Signed-off-by: Mike Frysinger --- ping -- this was sent about two years ago now include/linux/timerfd

Re: [PATCH 6/8] extcon: axp288: Use vbus-valid instead of -present to determine cable presence

2016-12-18 Thread Chanwoo Choi
Hi Hans, On 2016년 12월 19일 09:13, Hans de Goede wrote: > The vbus-present bit in the power status register also gets set to 1 > when a usb-host cable (id-pin shorted to ground) is plugged in and a 5v > boost converter is supplying 5v to the otg usb bus. > > This causes a "disconnect or unknown or

Re: [PATCH v2] fix code alignment with open parenthesis

2016-12-18 Thread Greg KH
On Sun, Dec 18, 2016 at 11:47:30AM -0600, Scott Matheina wrote: > These changes where identified by checkpatch.pl as needed changes to > align the code with the linux development coding style. The several > lines of text where aligned with the precending parenthesis. > > Signed-off-by: Scott Mathe

Re: [RFC 1/1] MicroSemi Switchtec management interface driver

2016-12-18 Thread Greg Kroah-Hartman
On Sun, Dec 18, 2016 at 10:20:47AM -0700, Logan Gunthorpe wrote: > Hi Greg, > > Thanks for the quick review! > > On 18/12/16 12:51 AM, Greg Kroah-Hartman wrote: > > On Sat, Dec 17, 2016 at 10:09:22AM -0700, Logan Gunthorpe wrote: > > > +struct switchtec_dev { > > > + struct pci_dev *pdev; > > > +

Re: [PATCH 5/8] extcon: axp288: Make a couple of messages dev_info instead of dev_dbg

2016-12-18 Thread Chanwoo Choi
Hi Hans, I prefer to use the dev_dbg on the fly instead of dev_info. If you want to check the change state, you can use the udev monitor tool because extcon send the uevent when changing the state of connector. Regards, Chanwoo Choi On 2016년 12월 19일 09:13, Hans de Goede wrote: > These messages a

Re: [PATCH 4/8] extcon: axp288: Fix possibly reporting 2 cables in state true

2016-12-18 Thread Chanwoo Choi
Hi Hans, This patch looks good to me. But I have one comment when setting the previous_cable in probe(). On 2016년 12월 19일 09:13, Hans de Goede wrote: > When the charger type changes from e.g. SDP to CDP, without Vbus being > seen as low in between axp288_handle_chrg_det_event would set the state

[RFC] Question about freeing of resource in 'atlas7_pinmux_probe()', in file 'drivers/pinctrl/sirf/pinctrl-atlas7.c'

2016-12-18 Thread Marion & Christophe JAILLET
Hi, while playing with coccinelle, a missing 'of_node_put()' triggered in 'atlas7_pinmux_probe()', in file 'drivers/pinctrl/sirf/pinctrl-atlas7.c'. /* The sd3 and sd9 shared all pins, and the function select by * SYS2PCI_SDIO9SEL register */ sys2pci_np = of_find_node_by_name(

Re: [PATCH 3/8] extcon: axp288: Simplify axp288_handle_chrg_det_event

2016-12-18 Thread Chanwoo Choi
Hi Hans, On 2016년 12월 19일 09:13, Hans de Goede wrote: > axp288_handle_chrg_det_event only gets called on change interrupts > (so not that often), extcon_set_state_sync() checks itself if there are > any actual changes before notifying listeners, and gpiod_set_value is > not really expensive either

Re: [PATCH 1/8] extcon: axp288: Remove dependency on non-existing platform_data

2016-12-18 Thread Chanwoo Choi
Hi Hans, On 2016년 12월 19일 09:13, Hans de Goede wrote: > When the extcon_axp288 driver was originally merged, it was merged with > a dependency on some other driver providing platform data for it. > > However such another driver was never merged, so the extcon_axp288 as > merged upstream has never

RE: [PATCH] ACPICA: use designated initializers

2016-12-18 Thread Zheng, Lv
Hi, > From: Kees Cook [mailto:keesc...@chromium.org] > Subject: [PATCH] ACPICA: use designated initializers > > Prepare to mark sensitive kernel structures for randomization by making > sure they're using designated initializers. These were identified during > allyesconfig builds of x86, arm, and

RE: [PATCH] acpi: Fix format string type mistakes

2016-12-18 Thread Zheng, Lv
Hi, > From: Kees Cook [mailto:keesc...@chromium.org] > Subject: [PATCH] acpi: Fix format string type mistakes > > From: Emese Revfy > > This adds the missing __printf attribute which allows compile time > format string checking (and will be used by the coming initify gcc > plugin). Additionally

[PATCH] NTB: Fix 'request_irq()' and 'free_irq()' inconsistancy

2016-12-18 Thread Christophe JAILLET
'request_irq()' and 'free_irq()' should have the same 'dev_id'. Signed-off-by: Christophe JAILLET --- drivers/ntb/hw/amd/ntb_hw_amd.c | 2 +- drivers/ntb/hw/intel/ntb_hw_intel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ntb/hw/amd/ntb_hw_amd.c b/drivers/n

[PATCH] dmaengine: ti-dma-crossbar: Add some 'of_node_put()' in error path.

2016-12-18 Thread Christophe JAILLET
Add some missing 'of_node_put()' in early exit error path. Signed-off-by: Christophe JAILLET --- drivers/dma/ti-dma-crossbar.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/dma/ti-dma-crossbar.c b/drivers/dma/ti-dma-crossbar.c index 3f24aeb48c0e..2403475a37cf 100644 --- a/drivers

Re: [PATCH 05/21] MIPS memblock: Alter initrd memory reservation method

2016-12-18 Thread kbuild test robot
Hi Serge, [auto build test ERROR on linus/master] [also build test ERROR on v4.9 next-20161216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Serge-Semin/MIPS-memblock-Remove-bootmem-code-and-s

Re: [PATCH 2/5] dmaengine: Add support for custom data mapping

2016-12-18 Thread Andy Gross
On Sun, Dec 18, 2016 at 09:56:02PM +0530, Vinod Koul wrote: > On Thu, Dec 15, 2016 at 03:25:52PM +0530, Abhishek Sahu wrote: > > The current DMA APIs only support SGL or data in generic format. > > The QCA BAM DMA engine data cannot be mapped with already > > available APIs due to following reasons

Re: [PATCH 01/21] MIPS memblock: Unpin dts memblock sanity check method

2016-12-18 Thread kbuild test robot
Hi Serge, [auto build test WARNING on linus/master] [also build test WARNING on v4.9 next-20161216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Serge-Semin/MIPS-memblock-Remove-bootmem-code-a

Re: [PATCH 10/21] MIPS memblock: Discard bootmem allocator initialization

2016-12-18 Thread kbuild test robot
Hi Serge, [auto build test ERROR on linus/master] [also build test ERROR on v4.9 next-20161216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Serge-Semin/MIPS-memblock-Remove-bootmem-code-and-s

Re: [PATCH 01/21] MIPS memblock: Unpin dts memblock sanity check method

2016-12-18 Thread kbuild test robot
Hi Serge, [auto build test WARNING on linus/master] [also build test WARNING on v4.9 next-20161216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Serge-Semin/MIPS-memblock-Remove-bootmem-code-a

[PATCH] tpm, tpm_crb: Handle 64-bit resource in crb_check_resource()

2016-12-18 Thread Jiandi An
crb_check_resource() in TPM CRB driver calls acpi_dev_resource_memory() which only handles 32-bit resources. Adding a call to acpi_dev_resource_address_space() in TPM CRB driver which handles 64-bit resources. Signed-off-by: Jiandi An --- drivers/char/tpm/tpm_crb.c | 8 +--- 1 file changed,

Re: [PATCH 02/21] MIPS memblock: Add dts mem and reserved-mem callbacks

2016-12-18 Thread kbuild test robot
Hi Serge, [auto build test ERROR on linus/master] [also build test ERROR on v4.9 next-20161216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Serge-Semin/MIPS-memblock-Remove-bootmem-code-and-s

Re: [PATCH] ARM: disallow ARM_THUMB for ARMv4 builds

2016-12-18 Thread Nicolas Pitre
On Sun, 18 Dec 2016, Russell King - ARM Linux wrote: > On Sun, Dec 18, 2016 at 03:04:24PM +, Ard Biesheuvel wrote: > > The only issue I spotted is that the kuser_get_tls routine has only > > two instruction slots for the return sequence, but we can easily work > > around that by moving the TLS

Re: [PATCH 07/21] MIPS memblock: Alter elfcorehdr parameters parser

2016-12-18 Thread kbuild test robot
Hi Serge, [auto build test ERROR on linus/master] [also build test ERROR on v4.9 next-20161216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Serge-Semin/MIPS-memblock-Remove-bootmem-code-and-s

Re: [PATCH 19/21] MIPS memblock: Add print out method of kernel virtual memory layout

2016-12-18 Thread kbuild test robot
Hi Serge, [auto build test ERROR on linus/master] [also build test ERROR on v4.9 next-20161216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Serge-Semin/MIPS-memblock-Remove-bootmem-code-and-s

Re: [PATCH] ipc/sem.c: fix semop()/semop() locking failure

2016-12-18 Thread Davidlohr Bueso
Nit: the title is a bit unclear. How about: ipc/sem.: fix semop() locking imbalance Otherwise, Ack. Thanks, Davidlohr

Re: [PATCH v2] kexec: add cond_resched into kimage_alloc_crash_control_pages

2016-12-18 Thread Baoquan He
On 12/09/16 at 03:16pm, Xunlei Pang wrote: > On 12/09/2016 at 01:13 PM, zhong jiang wrote: > > On 2016/12/8 17:41, Xunlei Pang wrote: > >> On 12/08/2016 at 10:37 AM, zhongjiang wrote: > >>> From: zhong jiang > >>> > >>> A soft lookup will occur when I run trinity in syscall kexec_load. > >>> the c

Re: [PATCH] pci-error-recover: doc cleanup

2016-12-18 Thread Cao jin
Sorry for late. On 12/09/2016 10:37 PM, Jonathan Corbet wrote: > On Fri, 9 Dec 2016 14:37:47 +0800 > Cao jin wrote: > >> I am little confused too, even not sure if we are talking the same >> *fatal error*, I am talking the fatal error defined in PCI Express spec, >> chapter 6.2.2.2.1: > > There

[PATCH] vfs: fix isize/pos/len checks for reflink & dedupe

2016-12-18 Thread Darrick J. Wong
Strengthen the checking of pos/len vs. i_size, clarify the return values for the clone prep function, and remove pointless code. Signed-off-by: Darrick J. WOng --- fs/ocfs2/refcounttree.c |2 +- fs/read_write.c | 18 +++--- fs/xfs/xfs_reflink.c|2 +- 3 files cha

Re: [PATCH v4 1/2] FPGA: Add TS-7300 FPGA manager

2016-12-18 Thread Moritz Fischer
On Sun, Dec 18, 2016 at 6:09 PM, Alan Tull wrote: > On Sun, 18 Dec 2016, Florian Fainelli wrote: > > Hi Florain, > >> Add support for loading bitstreams on the Altera Cyclone II FPGA >> populated on the TS-7300 board. This is done through the configuration >> and data registers offered through a m

Re: [PATCH v4 2/2] ARM: ep93xx: Register ts73xx-fpga manager driver for TS-7300

2016-12-18 Thread Moritz Fischer
On Sun, Dec 18, 2016 at 12:21 PM, Florian Fainelli wrote: > Register the TS-7300 FPGA manager device drivers which allows us to load > bitstreams into the on-board Altera Cyclone II FPGA. > > Acked-by: H Hartley Sweeten Acked-by: Moritz Fischer > Signed-off-by: Florian Fainelli > --- > arch/a

[PATCH] Xen: ARM: Zero reserved fields of xatp before making hypervisor call

2016-12-18 Thread Jiandi An
Ensure all reserved fields of xatp are zero before making hypervisor call to XEN in xen_map_device_mmio(). xenmem_add_to_physmap_one() in XEN fails the mapping request if extra.res reserved field in xatp is not zero for XENMAPSPACE_dev_mmio request. Signed-off-by: Jiandi An --- drivers/xen/arm-

linux-next: Tree for Dec 19

2016-12-18 Thread Stephen Rothwell
Hi all, Please do not add any material for v4.11 to your linux-next included branches until after v4.10-rc1 has been released. Changes since 20161216: New tree: target-bva The overlayfs tree gained conflicts against Linus' tree. The kvm tree gained a build failure so I used the version from ne

Re: [PATCH] extcon: 3gpio: add driver for USB OTG port controlled by 3 GPIOs

2016-12-18 Thread kbuild test robot
Hi David, [auto build test ERROR on chanwoo-extcon/extcon-next] [also build test ERROR on v4.9 next-20161216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Hans-de-Goede/extcon-3gpio-add-driver

Re: [PATCH 2/3] of/overlay: sysfs based ABI for dt overlays

2016-12-18 Thread kbuild test robot
Hi Heinrich, [auto build test ERROR on linus/master] [also build test ERROR on next-20161216] [cannot apply to glikely/devicetree/next robh/for-next v4.9] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/

[PATCH 01/21] MIPS memblock: Unpin dts memblock sanity check method

2016-12-18 Thread Serge Semin
It's necessary to check whether retrieved from dts memory regions fits to page alignment and limits restrictions. Sometimes it is necessary to perform the same checks, but ito add the memory regions into a different subsystem. MIPS is going to be that case. Signed-off-by: Serge Semin --- drivers

[PATCH 00/21] MIPS memblock: Remove bootmem code and switch to NO_BOOTMEM

2016-12-18 Thread Serge Semin
Most of the modern platforms supported by linux kernel have already been cleaned up of old bootmem allocator by moving to nobootmem interface wrapping up the memblock. This patchset is the first attempt to do the similar improvement for MIPS for UMA systems only. Even though the porting was perfor

[PATCH 03/21] MIPS memblock: Alter traditional add_memory_region() method

2016-12-18 Thread Serge Semin
There is no safe and fast way to get rid of boot_mem_map usage in the wide set of platform code. But it's luck, that the architecture specific code doesn't make any direct changes in the boot_mem_map structure. Additionally the platform specific code registers the available memory using traditional

[PATCH 04/21] MIPS memblock: Alter user-defined memory parameter parser

2016-12-18 Thread Serge Semin
Both new memblock and boot_mem_map subsystems need to be fully cleared before a new memory region is added. So the early parser is correspondingly modified. Signed-off-by: Serge Semin --- arch/mips/kernel/setup.c | 67 +- 1 file changed, 37 insertions(+), 30 deletions

[PATCH 02/21] MIPS memblock: Add dts mem and reserved-mem callbacks

2016-12-18 Thread Serge Semin
In order to get a structured table of platform devices, it is widespread amongst modern systems to use fdt'es. MIPS should support one as well. Particularly /memory/ and /reserved-memory/ should be analyzed and corresponding regions registered with memblock subsystem. Signed-off-by: Serge Semin -

Re: [PATCH v6 5/5] ARM: dts: imx6q-evi: support cyclone-ps-spi

2016-12-18 Thread Alan Tull
On Fri, 16 Dec 2016, Joshua Clayton wrote: > Add support for Altera cyclone V FPGA connected to an spi port > to the evi devicetree file > > Signed-off-by: Joshua Clayton Acked-by: Alan Tull > --- > arch/arm/boot/dts/imx6q-evi.dts | 16 > 1 file changed, 16 insertions(+) >

[PATCH v3 2/2] crypto: mediatek - add DT bindings documentation

2016-12-18 Thread Ryder Lee
Add DT bindings documentation for the crypto driver Signed-off-by: Ryder Lee --- .../devicetree/bindings/crypto/mediatek-crypto.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/mediatek-crypto.txt diff --git a/Documen

[PATCH v3 0/2] Add MediaTek crypto accelerator driver

2016-12-18 Thread Ryder Lee
Hello, This adds support for the MediaTek hardware accelerator on some SoCs. This driver currently implement: - SHA1 and SHA2 family(HMAC) hash algorithms. - AES block cipher in CBC/ECB mode with 128/196/256 bits keys. Chances since v3: -remove unused structure member -drop interrupt-parent fro

[PATCH v3 1/2] Add crypto driver support for some MediaTek chips

2016-12-18 Thread Ryder Lee
This adds support for the MediaTek hardware accelerator on mt7623/mt2701/mt8521p SoC. This driver currently implement: - SHA1 and SHA2 family(HMAC) hash algorithms. - AES block cipher in CBC/ECB mode with 128/196/256 bits keys. Signed-off-by: Ryder Lee --- drivers/crypto/Kconfig

[PATCH 08/21] MIPS memblock: Move kernel parameters parser into individual method

2016-12-18 Thread Serge Semin
Main memory initialization method looks messy with cmd line parser built-in. So it's better for readability to put it into a separated method. Signed-off-by: Serge Semin --- arch/mips/kernel/setup.c | 87 -- 1 file changed, 48 insertions(+), 39 deletions(-) diff --gi

Re: [PATCH v6 3/5] doc: dt: add cyclone-ps-spi binding document

2016-12-18 Thread Alan Tull
On Fri, 16 Dec 2016, Joshua Clayton wrote: > Describe a cyclone-ps-spi devicetree entry, required features > > Signed-off-by: Joshua Clayton > Acked-by: Rob Herring Acked-by: Alan Tull > --- > .../bindings/fpga/cyclone-ps-spi-fpga-mgr.txt | 25 > ++ > 1 file change

[PATCH 06/21] MIPS memblock: Alter kexec-crashkernel parameters parser

2016-12-18 Thread Serge Semin
Memblock API can be successfully used to verify whether crashkernel memory region belongs to low memory, then it can be reserved within memblock allocator. Signed-off-by: Serge Semin --- arch/mips/kernel/setup.c | 105 ++--- 1 file changed, 52 insertions(+), 53 deletions(

[PATCH 07/21] MIPS memblock: Alter elfcorehdr parameters parser

2016-12-18 Thread Serge Semin
Memblock API can be successfully used to verify whether elfcorehdr memory region belongs to lowmemory, then it can be reserved within memblock allocator. There is also available default method for early parameters parser in kernel/crash_dump.c: setup_elfcorehdr(), so it's wise to use one instead of

Re: [PATCH] ARM: ep93xx: Disable TS-72xx watchdog before uncompressing

2016-12-18 Thread Florian Fainelli
Le 12/11/16 à 11:16, Florian Fainelli a écrit : > The TS-72xx/73xx boards have a CPLD watchdog which is configured to > reset the board after 8 seconds, if the kernel is large enough that this > takes about this time to decompress the kernel, we will encounter a > spurious reboot. > > Do not pull

[PATCH 05/21] MIPS memblock: Alter initrd memory reservation method

2016-12-18 Thread Serge Semin
Since memblock is used, initrd memory region can be easily verified and reserved if looks ok. Verification method will be useful for other reservation methods. Signed-off-by: Serge Semin --- arch/mips/kernel/setup.c | 157 - 1 file changed, 87 insertions(+), 70 deleti

[PATCH 21/21] MIPS memblock: Deactivate old bootmem allocator

2016-12-18 Thread Serge Semin
Memblock allocator can be successfully used from now for early memory management. Signed-off-by: Serge Semin --- arch/mips/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 2ef1e2d..527f2fe 100644 --- a/arch/mips/Kconfig +++ b

[PATCH 20/21] MIPS memblock: Add free low memory test method call

2016-12-18 Thread Serge Semin
Right after all the necessary reservations are done, free memory regions can be tested if it is activated with "memtest" parameter. Signed-off-by: Serge Semin --- arch/mips/mm/init.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index 35e7ba8

Re: [PATCH 1/3] of/overlay: add API function to count and pop last

2016-12-18 Thread kbuild test robot
Hi Heinrich, [auto build test ERROR on linus/master] [also build test ERROR on next-20161216] [cannot apply to glikely/devicetree/next robh/for-next v4.9] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/

[PATCH 19/21] MIPS memblock: Add print out method of kernel virtual memory layout

2016-12-18 Thread Serge Semin
It's useful to have some printed map of the kernel virtual memory, at least for debugging purpose. Signed-off-by: Serge Semin --- arch/mips/mm/init.c | 47 +++ 1 file changed, 47 insertions(+) diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index 13a032f..

Re: [PATCH v6 0/5] Altera Cyclone Passive Serial SPI FPGA Manager

2016-12-18 Thread Alan Tull
On Fri, 16 Dec 2016, Joshua Clayton wrote: > This series adds an FPGA manager for Altera cyclone FPGAs > that can program them using an spi port and a couple of gpios, using > Alteras passive serial protocol. > > Need ACKs from ARCH maintainers for ARCH specific implementations of > __arch_bitrev

[PATCH 18/21] MIPS memblock: Slightly improve buddy allocator init method

2016-12-18 Thread Serge Semin
Just add some minor changes into buddy allocator initialization. After all the alterations it shall work just fine from now. Signed-off-by: Serge Semin --- arch/mips/mm/init.c | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/arch/mips/mm/init.c b/arch/

Re: [PATCH v4 1/2] FPGA: Add TS-7300 FPGA manager

2016-12-18 Thread Alan Tull
On Sun, 18 Dec 2016, Florian Fainelli wrote: Hi Florain, > Add support for loading bitstreams on the Altera Cyclone II FPGA > populated on the TS-7300 board. This is done through the configuration > and data registers offered through a memory interface between the EP93xx > SoC and the FPGA via an

[PATCH 17/21] MIPS memblock: Alter high memory freeing method

2016-12-18 Thread Serge Semin
Memblock regions are used to find all available high memory and to set it free into buddy allocator. Signed-off-by: Serge Semin --- arch/mips/mm/init.c | 54 ++- 1 file changed, 21 insertions(+), 33 deletions(-) diff --git a/arch/mips/mm/init.c b/arch/mips/mm/ini

[PATCH 14/21] MIPS memblock: Alter IO resources initialization method

2016-12-18 Thread Serge Semin
Replace resource initialization method with one using memblocks. It fully reflects all available system RAM within memory regions. Signed-off-by: Serge Semin --- arch/mips/kernel/setup.c | 40 +- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/arch/mip

[PATCH 13/21] MIPS memblock: Add memblock allocator initialization

2016-12-18 Thread Serge Semin
Initialization is done by subsequent performing of the following steps: 1) Call platform-specific call adding memory regions 2) Parse kernel parameters looking (they may change memory layout) 3) Check whether declared memory is in sane 4) Reserve memory for kernel, initrd, crashdump, fdt, devices a

[PATCH 12/21] MIPS memblock: Add memblock print outs in debug

2016-12-18 Thread Serge Semin
When debugging it is useful to have a list of all memory regions added and reserved in the system. Ones are printed right from memblock if memblock_debug is enabled. Signed-off-by: Serge Semin --- arch/mips/kernel/setup.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) dif

[PATCH 10/21] MIPS memblock: Discard bootmem allocator initialization

2016-12-18 Thread Serge Semin
Bootmem allocator initialization needs to be discarded. PFN limit constants are still in use by some subsystems, so they need to be properly initialized. The initialization is moved into a separate method and performed with help of commonly used platform-specific constants. It might me too simplifi

[PATCH 16/21] MIPS memblock: Alter paging initialization method

2016-12-18 Thread Serge Semin
Apart from the actions it did before, it initializes sparsemem if one activated. Memory zones size calculation is moved into an individual method. Signed-off-by: Serge Semin --- arch/mips/mm/init.c | 79 +-- 1 file changed, 56 insertions(+), 23 deletions(-) diff

[PATCH 11/21] MIPS memblock: Add memblock sanity check method

2016-12-18 Thread Serge Semin
Perform memory sanity check right after basic memory is added. It makes sure there is low memory available and there is no high memory if one isn't supported. Additionally low memory limit needs to be calculated so memblock would have a proper upper boundary for memory allocations. Signed-off-by:

[PATCH 15/21] MIPS memblock: Alter weakened MAAR initialization method

2016-12-18 Thread Serge Semin
MAAR initialization method can be slightly simplified, since memblock allocator is fully available. Signed-off-by: Serge Semin --- arch/mips/mm/init.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index

[PATCH 09/21] MIPS memblock: Move kernel memory reservation to individual method

2016-12-18 Thread Serge Semin
The whole kernel text/data/bss must be reserved to prevent sudden kernel crashes, for instance, due to unexpected non-zero default static variables initializations. Signed-off-by: Serge Semin --- arch/mips/kernel/setup.c | 117 +++-- 1 file changed, 59 insertions(+), 58 d

Re: [PATCH 03/11] powerpc/kvm: Gather HPT related variables into sub-structure

2016-12-18 Thread David Gibson
On Fri, Dec 16, 2016 at 10:24:17AM +0100, Thomas Huth wrote: > On 15.12.2016 06:53, David Gibson wrote: > > Currently, the powerpc kvm_arch structure contains a number of variables > > tracking the state of the guest's hashed page table (HPT) in KVM HV. This > > patch gathers them all together int

Re: [PATCH 06/11] powerpc/kvm: Allow KVM_PPC_ALLOCATE_HTAB ioctl() to change HPT size

2016-12-18 Thread David Gibson
On Fri, Dec 16, 2016 at 01:44:57PM +0100, Thomas Huth wrote: > On 15.12.2016 06:53, David Gibson wrote: > > The KVM_PPC_ALLOCATE_HTAB ioctl() is used to set the size of hashed page > > table (HPT) that userspace expects a guest VM to have, and is also used to > > clear that HPT when necessary (e.g.

[PATCH] extcon: 3gpio: fix platform_no_drv_owner.cocci warnings

2016-12-18 Thread kbuild test robot
drivers/extcon/extcon-3gpio_otg.c:190:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: David Cohen Signed-off-by: Fengguang Wu --- extcon-3gpio_otg.c |

Re: [PATCH] extcon: 3gpio: add driver for USB OTG port controlled by 3 GPIOs

2016-12-18 Thread kbuild test robot
Hi David, [auto build test WARNING on chanwoo-extcon/extcon-next] [also build test WARNING on v4.9 next-20161216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Hans-de-Goede/extcon-3gpio-add-dr

Re: [PATCH 04/11] powerpc/kvm: Don't store values derivable from HPT order

2016-12-18 Thread David Gibson
On Fri, Dec 16, 2016 at 11:39:26AM +0100, Thomas Huth wrote: > On 15.12.2016 06:53, David Gibson wrote: > > Currently the kvm_hpt_info structure stores the hashed page table's order, > > and also the number of HPTEs it contains and a mask for its size. The > > last two can be easily derived from t

Re: [PATCH 05/11] powerpc/kvm: Split HPT allocation from activation

2016-12-18 Thread David Gibson
On Fri, Dec 16, 2016 at 12:57:26PM +0100, Thomas Huth wrote: > On 15.12.2016 06:53, David Gibson wrote: > > Currently, kvmppc_alloc_hpt() both allocates a new hashed page table (HPT) > > and sets it up as the active page table for a VM. For the upcoming HPT > > resize implementation we're going to

Re: [PATCH] extcon: 3gpio: add driver for USB OTG port controlled by 3 GPIOs

2016-12-18 Thread kbuild test robot
Hi David, [auto build test WARNING on chanwoo-extcon/extcon-next] [also build test WARNING on v4.9 next-20161216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Hans-de-Goede/extcon-3gpio-add-dr

Re: [PATCH v4 2/2] ARM: ep93xx: Register ts73xx-fpga manager driver for TS-7300

2016-12-18 Thread Alan Tull
On Sun, 18 Dec 2016, Florian Fainelli wrote: > Register the TS-7300 FPGA manager device drivers which allows us to load > bitstreams into the on-board Altera Cyclone II FPGA. > > Acked-by: H Hartley Sweeten > Signed-off-by: Florian Fainelli Acked-by: Alan Tull > --- > arch/arm/mach-ep93xx/t

[PATCH v2 0/4] clk: rockchip: support clk controller for rk3328 SoC

2016-12-18 Thread Elaine Zhang
Changes in v2: add bindings for rk3328 clock controller Elaine Zhang (4): clk: rockchip: add dt-binding header for rk3328 dt-bindings: add bindings for rk3328 clock controller clk: rockchip: add clock controller for rk3328 clk: rockchip: add new pll-type for rk3328 .../bindings/clock/r

[PATCH v2 2/4] dt-bindings: add bindings for rk3328 clock controller

2016-12-18 Thread Elaine Zhang
Add devicetree bindings for Rockchip cru which found on Rockchip SoCs. Signed-off-by: Elaine Zhang --- .../bindings/clock/rockchip,rk3328-cru.txt | 57 ++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk3328-cru

[PATCH v2 1/4] clk: rockchip: add dt-binding header for rk3328

2016-12-18 Thread Elaine Zhang
Add the dt-bindings header for the rk3328, that gets shared between the clock controller and the clock references in the dts. Add softreset ID for rk3328. Signed-off-by: Elaine Zhang --- include/dt-bindings/clock/rk3328-cru.h | 403 + 1 file changed, 403 insertion

[PATCH v2 3/4] clk: rockchip: add clock controller for rk3328

2016-12-18 Thread Elaine Zhang
Add the clock tree definition for the new rk3328 SoC. Changes in v2: fix up these *_sample error description. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/Makefile |1 + drivers/clk/rockchip/clk-rk3328.c | 1068 + drivers/clk/rockchip/clk.h

[PATCH v2 4/4] clk: rockchip: add new pll-type for rk3328

2016-12-18 Thread Elaine Zhang
The rk3328's pll and clock are similar with rk3036's, it different with pll_mode_mask,there are different control registers bit, so these should be independent and separate from the series of rk3328s. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-pll.c | 13 - 1 file chang

Re: [PATCH v2] dma-buf: Wait on the reservation object when sync'ing before CPU access

2016-12-18 Thread Inki Dae
2016년 08월 16일 01:02에 Daniel Vetter 이(가) 쓴 글: > On Mon, Aug 15, 2016 at 04:42:18PM +0100, Chris Wilson wrote: >> Rendering operations to the dma-buf are tracked implicitly via the >> reservation_object (dmabuf->resv). This is used to allow poll() to >> wait upon outstanding rendering (or just quer

linux-next: manual merge of the target-bva tree with Linus' tree

2016-12-18 Thread Stephen Rothwell
Hi Bart, Today's linux-next merge of the target-bva tree got a conflict in: drivers/target/target_core_configfs.c between commit: 450630975da9 ("don't open-code file_inode()") from Linus' tree and commit: 8cc3bb0789ea ("target: Use NULL instead of 0 to represent a pointer") from the ta

[PATCH] serial: 8250: Avoid "too much work" from bogus rx timeout interrupt

2016-12-18 Thread Douglas Anderson
On a Rockchip rk3399-based board during suspend/resume testing, we found that we could get the console UART into a state where it would print this to the console a lot: serial8250: too much work for irq42 Followed eventually by: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 11s! Upon debug

[PATCH 2/3] of/overlay: sysfs based ABI for dt overlays

2016-12-18 Thread Heinrich Schuchardt
Currently the kernel only supplies an internal API for creating and destroying device tree overlays. For some boards vendor specific kernel modules exist for managing device tree overlays but the have not been upstreamed. This patch provides a sysfs based ABI for creation and destruction of dt ov

[PATCH 3/3] of/overlay: documentation for sysfs ABI

2016-12-18 Thread Heinrich Schuchardt
The sysfs filesystem ABI to load and unload devicetree overlays is decribed. Signed-off-by: Heinrich Schuchardt --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-firmware-device

linux-next: build failure after merge of the kvm tree

2016-12-18 Thread Stephen Rothwell
Hi all, After merging the kvm tree, today's linux-next build (x86_64 allmodconfig) failed like this: arch/x86/kernel/kvm.c: In function '__kvm_vcpu_is_preempted': arch/x86/kernel/kvm.c:596:14: error: 'struct kvm_steal_time' has no member named 'preempted' return !!src->preempted;

[PATCH 1/3] of/overlay: add API function to count and pop last

2016-12-18 Thread Heinrich Schuchardt
To allow building interfaces which are not id based two new functions are added to the device tree overlay API: of_overlay_count- counts the loaded overlays of_overlay_destroy_last - removes the last overlay loaded Signed-off-by: Heinrich Schuchardt --- Documentation/devicetree/overlay-

  1   2   3   >