[PATCH 3.4 45/92] md/raid10: ensure device failure recorded before write request returns.

2016-04-18 Thread lizf
From: NeilBrown 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 95af587e95aacb9cfda4a9641069a5244a540dc8 upstream. When a write to one of the legs of a RAID10 fails, the failure is recorded in the metadata of the other legs so that after

[PATCH 3.4 67/92] x86/process: Add proper bound checks in 64bit get_wchan()

2016-04-18 Thread lizf
From: Thomas Gleixner 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit eddd3826a1a0190e5235703d1e666affa4d13b96 upstream. Dmitry Vyukov reported the following using trinity and the memory error detector AddressSanitizer (https://code.googl

[PATCH 3.4 87/92] mvsas: Fix NULL pointer dereference in mvs_slot_task_free

2016-04-18 Thread lizf
From: Dāvis Mosāns 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 2280521719e81919283b82902ac24058f87dfc1b upstream. When pci_pool_alloc fails in mvs_task_prep then task->lldd_task stays NULL but it's later used in mvs_abort_task as slot

[PATCH 3.4 73/92] tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c

2016-04-18 Thread lizf
From: Kosuke Tatsukawa 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit e81107d4c6bd098878af9796b24edc8d4a9524fd upstream. My colleague ran into a program stall on a x86_64 server, where n_tty_read() was waiting for data even if there was

[PATCH 3.4 63/92] m68k: Define asmlinkage_protect

2016-04-18 Thread lizf
From: Andreas Schwab 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 8474ba74193d302e83401e16c85cc4b98caf upstream. Make sure the compiler does not modify arguments of syscall functions. This can happen if the compiler generates a tai

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-04-18 Thread Felipe Balbi
Hi, Pavel Machek writes: > On Mon 2016-04-18 13:30:54, Felipe Balbi wrote: >> >> Hi, >> >> Pavel Machek writes: >> >> > Very often, you want to charge using 1.8A from an old desktop PC. >> >> >> >> if that old desktop's port is not a charging port, you shouldn't be >> >> allowed to do that.

[PATCH 3.4 83/92] iommu/amd: Don't clear DTE flags when modifying it

2016-04-18 Thread lizf
From: Joerg Roedel 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit cbf3ccd09d683abf1cacd36e3640872ee912d99b upstream. During device assignment/deassignment the flags in the DTE get lost, which might cause spurious faults, for example when

[PATCH 3.4 79/92] xhci: handle no ping response error properly

2016-04-18 Thread lizf
From: Mathias Nyman 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 3b4739b8951d650becbcd855d7d6f18ac98a9a85 upstream. If a host fails to wake up a isochronous SuperSpeed device from U1/U2 in time for a isoch transfer it will generate a "

[PATCH 3.4 86/92] dm btree: fix leak of bufio-backed block in btree_split_beneath error path

2016-04-18 Thread lizf
From: Mike Snitzer 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 4dcb8b57df3593dcb20481d9d6cf79d1dc1534be upstream. btree_split_beneath()'s error path had an outstanding FIXME that speaks directly to the potential for _not_ cleaning up

[RFC v6 00/10] vfio-pci: Allow to mmap sub-page MMIO BARs and MSI-X table

2016-04-18 Thread Yongji Xie
Current vfio-pci implementation disallows to mmap sub-page(size < PAGE_SIZE) MMIO BARs and MSI-X table. This is because sub-page BARs' mmio page may be shared with other BARs and MSI-X table should not be accessed directly from the guest for security reasons. But it will easily cause some performa

[PATCH 3.4 90/92] pipe: Fix buffer offset after partially failed read

2016-04-18 Thread lizf
From: Ben Hutchings 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- Quoting the RHEL advisory: > It was found that the fix for CVE-2015-1805 incorrectly kept buffer > offset and buffer length in sync on a failed atomic read, potentially > result

[PATCH 3.4 91/92] splice: sendfile() at once fails for big files

2016-04-18 Thread lizf
From: Christophe Leroy 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 0ff28d9f4674d781e492bcff6f32f0fe48cf0fed upstream. Using sendfile with below small program to get MD5 sums of some files, it appear that big files (over 64kbytes with

[PATCH 3.4 81/92] crypto: api - Only abort operations on fatal signal

2016-04-18 Thread lizf
From: Herbert Xu 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 3fc89adb9fa4beff31374a4bf50b3d099d88ae83 upstream. Currently a number of Crypto API operations may fail when a signal occurs. This causes nasty problems as the caller of th

[PATCH 3.4 88/92] raid1: include bio_end_io_list in nr_queued to prevent freeze_array hang

2016-04-18 Thread lizf
From: Nate Dailey 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit ccfc7bf1f09d6190ef86693ddc761d5fe3fa47cb upstream. If raid1d is handling a mix of read and write errors, handle_read_error's call to freeze_array can get stuck. This can h

[PATCH 3.4 89/92] usb: Use the USB_SS_MULT() macro to decode burst multiplier for log message

2016-04-18 Thread lizf
From: Ben Hutchings 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 5377adb092664d336ac212499961cac5e8728794 upstream. usb_parse_ss_endpoint_companion() now decodes the burst multiplier correctly in order to check that it's <= 3, but stil

[PATCH 3.4 76/92] xen-blkfront: check for null drvdata in blkback_changed (XenbusStateClosing)

2016-04-18 Thread lizf
From: Cathy Avery 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit a54c8f0f2d7df525ff997e2afe71866a1a013064 upstream. xen-blkfront will crash if the check to talk_to_blkback() in blkback_changed()(XenbusStateInitWait) returns an error. The

[PATCH 3.4 74/92] drivers/tty: require read access for controlling terminal

2016-04-18 Thread lizf
From: Jann Horn 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 0c55627167870255158db1cde0d28366f91c8872 upstream. This is mostly a hardening fix, given that write-only access to other users' ttys is usually only given through setgid tty

[RFC v6 01/10] PCI: Ignore resource_alignment if PCI_PROBE_ONLY was set

2016-04-18 Thread Yongji Xie
The resource_alignment will releases memory resources allocated by firmware so that kernel can reassign new resources later on. But this will cause the problem that no resources can be allocated by kernel if PCI_PROBE_ONLY was set, e.g. on pSeries platform because PCI_PROBE_ONLY force kernel to use

[PATCH 3.4 72/92] usb: Add device quirk for Logitech PTZ cameras

2016-04-18 Thread lizf
From: Vincent Palatin 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 72194739f54607bbf8cfded159627a2015381557 upstream. Add a device quirk for the Logitech PTZ Pro Camera and its sibling the ConferenceCam CC3000e Camera. This fixes the f

[RFC v6 02/10] PCI: Do not Use IORESOURCE_STARTALIGN to identify bridge resources

2016-04-18 Thread Yongji Xie
Now we use the IORESOURCE_STARTALIGN to identify bridge resources in __assign_resources_sorted(). That's quite fragile. We can't make sure that the PCI devices' resources will not use IORESOURCE_STARTALIGN any more. In this patch, we try to use a more robust way to identify bridge resources. Sign

[RFC v6 04/10] PCI: Add support for enforcing all MMIO BARs to be page aligned

2016-04-18 Thread Yongji Xie
When vfio passthrough a PCI device of which MMIO BARs are smaller than PAGE_SIZE, guest will not handle the mmio accesses to the BARs which leads to mmio emulations in host. This is because vfio will not allow to passthrough one BAR's mmio page which may be shared with other BARs. Otherwise, there

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-04-18 Thread Felipe Balbi
Hi, Felipe Balbi writes: >> But cellphone user knows what he connected his charger to, and that's >> why it is useful to be able to lower the current. Even when you said >> "less is just stupid" I demonstrated it is not, at least in case when and btw, you haven't demonstrated anything. You mere

[RFC v6 03/10] PCI: Add a new option for resource_alignment to reassign alignment

2016-04-18 Thread Yongji Xie
When using resource_alignment kernel parameter, the current implement reassigns the alignment by changing resources' size which can potentially break some drivers. For example, the driver uses the size to locate some register whose length is related to the size. This patch adds a new option "nores

[PATCH 3.4 92/92] x86/iopl/64: Properly context-switch IOPL on Xen PV

2016-04-18 Thread lizf
From: Andy Lutomirski 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit b7a584598aea7ca73140cb87b40319944dd3393f upstream. On Xen PV, regs->flags doesn't reliably reflect IOPL and the exit-to-userspace code doesn't change IOPL. We need to

[RFC v6 05/10] vfio-pci: Allow to mmap sub-page MMIO BARs if the mmio page is exclusive

2016-04-18 Thread Yongji Xie
Current vfio-pci implementation disallows to mmap sub-page(size < PAGE_SIZE) MMIO BARs because these BARs' mmio page may be shared with other BARs. But we should allow to mmap these sub-page MMIO BARs if we can make sure these BARs' mmio page will not be shared with other BARs. To acheive that, w

Re: [PATCH 1/5] max44000: Initial commit

2016-04-18 Thread Lars-Peter Clausen
On 04/18/2016 12:32 PM, Mark Brown wrote: [...] This always seems like a good idea, but tends to cause issues. FLAT is really only meant for very high performance devices, you are probably better with something else here. If you are doing this deliberately to make the below wri

Re: [PATCH] regulator: s2mps11: Remove unused set_voltage_time_sel

2016-04-18 Thread Mark Brown
On Mon, Apr 18, 2016 at 12:36:52PM +0200, Krzysztof Kozlowski wrote: > On 04/18/2016 11:57 AM, Mark Brown wrote: > > That's not the bug, the bug is that the driver is providing the > > operation without providing a non-zero value for it. The device tree > > configuration is to override what the d

[RFC v6 07/10] iommu: Set PCI_BUS_FLAGS_MSI_REMAP if IOMMU have capability of IRQ remapping

2016-04-18 Thread Yongji Xie
The capability of IRQ remapping is abstracted on IOMMU side on some archs. There is a existing flag IOMMU_CAP_INTR_REMAP for this. To have a universal flag to test this capability for different archs on PCI side, we set PCI_BUS_FLAGS_MSI_REMAP for PCI buses when IOMMU_CAP_INTR_REMAP is set. Signe

[RFC v6 06/10] PCI: Add a new PCI_BUS_FLAGS_MSI_REMAP flag

2016-04-18 Thread Yongji Xie
We introduce a new pci_bus_flags, PCI_BUS_FLAGS_MSI_REMAP which indicates all devices on the bus are protected by the hardware which supports IRQ remapping(intel naming). This flag will be used to know whether it's safe to expose MSI-X tables of PCI BARs to userspace. Because the capability of IRQ

[RFC v6 10/10] vfio-pci: Allow to mmap MSI-X table if interrupt remapping is supported

2016-04-18 Thread Yongji Xie
This patch enables mmapping MSI-X tables if hardware supports interrupt remapping which can ensure that a given pci device can only shoot the MSIs assigned for it. With MSI-X table mmapped, we also need to expose the read/write interface which will be used to access MSI-X table. Signed-off-by: Yo

[RFC v6 09/10] pci-ioda: Set PCI_BUS_FLAGS_MSI_REMAP for IODA host bridge

2016-04-18 Thread Yongji Xie
Any IODA host bridge have the capability of IRQ remapping. So we set PCI_BUS_FLAGS_MSI_REMAP when this kind of host birdge is detected. Signed-off-by: Yongji Xie --- arch/powerpc/platforms/powernv/pci-ioda.c |8 1 file changed, 8 insertions(+) diff --git a/arch/powerpc/platforms/po

[PATCH 3.4 57/92] xhci: give command abortion one more chance before killing xhci

2016-04-18 Thread lizf
From: Mathias Nyman 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit a6809ffd1687b3a8c192960e69add559b9d32649 upstream. We want to give the command abortion an additional try to stop the command ring before we completely hose xhci. Tested

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-04-18 Thread Pavel Machek
Hi! > >> manually ??? Hell no! Charger IC should be able to do this no > >> problem. I would be surprised if there's any charger IC out there which > >> blindly connects a 1.8A load from the start. What these ICs do is that > >> they slowly increment the load and check voltage level. They'll conti

[PATCH] perf: intel-pt: Fix seg fault tracing transactions

2016-04-18 Thread Adrian Hunter
Tracing a workload that uses transactions gave a seg fault as follows: perf record -e intel_pt// workload perf report Program received signal SIGSEGV, Segmentation fault. 0x0054b58c in intel_pt_reset_last_branch_rb (ptq=0x1a36110) at util/intel-pt.c:929 929 ptq->last_branch_rb->nr

[PATCH 3.4 65/92] UBI: Validate data_size

2016-04-18 Thread lizf
From: Richard Weinberger 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 281fda27673f833a01d516658a64d22a32c8e072 upstream. Make sure that data_size is less than LEB size. Otherwise a handcrafted UBI image is able to trigger an out of bou

[PATCH 3.4 64/92] x86/xen: Do not clip xen_e820_map to xen_e820_map_entries when sanitizing map

2016-04-18 Thread lizf
From: Malcolm Crossley 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 64c98e7f49100b637cd20a6c63508caed6bbba7a upstream. Sanitizing the e820 map may produce extra E820 entries which would result in the topmost E820 entries being removed.

[PATCH 3.4 66/92] UBI: return ENOSPC if no enough space available

2016-04-18 Thread lizf
From: shengyong 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 7c7feb2ebfc9c0552c51f0c050db1d1a004faac5 upstream. UBI: attaching mtd1 to ubi0 UBI: scanning is finished UBI error: init_volumes: not enough PEBs, required 706, available 686

[RFC v6 08/10] PCI: Set PCI_BUS_FLAGS_MSI_REMAP if MSI controller supports IRQ remapping

2016-04-18 Thread Yongji Xie
On ARM HW the capability of IRQ remapping is abstracted on MSI controller side. MSI_FLAG_IRQ_REMAPPING is used to advertise this [1]. To have a universal flag to test this capability for different archs on PCI side, we set PCI_BUS_FLAGS_MSI_REMAP for PCI buses when MSI_FLAG_IRQ_REMAPPING is set.

[PATCH 3.4 62/92] ath9k: declare required extra tx headroom

2016-04-18 Thread lizf
From: Felix Fietkau 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 029cd0370241641eb70235d205aa0b90c84dce44 upstream. ath9k inserts padding between the 802.11 header and the data area (to align it). Since it didn't declare this extra req

[PATCH 3.4 58/92] usb: xhci: Clear XHCI_STATE_DYING on start

2016-04-18 Thread lizf
From: Roger Quadros 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit e5bfeab0ad515b4f6df39fe716603e9dc6d3dfd0 upstream. For whatever reason if XHCI died in the previous instant then it will never recover on the next xhci_start unless we cl

[PATCH 3.4 59/92] xhci: change xhci 1.0 only restrictions to support xhci 1.1

2016-04-18 Thread lizf
From: Mathias Nyman 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit dca7794539eff04b786fb6907186989e5eaaa9c2 upstream. Some changes between xhci 0.96 and xhci 1.0 specifications forced us to check the hci version in code, some of these ch

[PATCH 3.4 70/92] clocksource: Fix abs() usage w/ 64bit values

2016-04-18 Thread lizf
From: John Stultz 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 67dfae0cd72fec5cd158b6e5fb1647b7dbe0834c upstream. This patch fixes one cases where abs() was being used with 64-bit nanosecond values, where the result may be capped at 32

[PATCH 3.4 49/92] drm: crtc: integer overflow in drm_property_create_blob()

2016-04-18 Thread lizf
From: Dan Carpenter 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 9ac0934bbe52290e4e4c2a58ec41cab9b6ca8c96 upstream. The size here comes from the user via the ioctl, it is a number between 1-u32max so the addition here could overflow on

[PATCH 3.4 44/92] powerpc/rtas: Validate rtas.entry before calling enter_rtas()

2016-04-18 Thread lizf
From: Vasant Hegde 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 8832317f662c06f5c06e638f57bfe89a71c9b266 upstream. Currently we do not validate rtas.entry before calling enter_rtas(). This leads to a kernel oops when user space calls r

[PATCH 3.4 54/92] regmap: debugfs: Don't bother actually printing when calculating max length

2016-04-18 Thread lizf
From: Mark Brown 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 176fc2d5770a0990eebff903ba680d2edd32e718 upstream. The in kernel snprintf() will conveniently return the actual length of the printed string even if not given an output beff

[PATCH 3.4 47/92] md/raid1: ensure device failure recorded before write request returns.

2016-04-18 Thread lizf
From: NeilBrown 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 55ce74d4bfe1b936264c637f39a152d1e5ac upstream. When a write to one of the legs of a RAID1 fails, the failure is recorded in the metadata of the other leg(s) so that after

[PATCH 3.4 50/92] spi: spi-pxa2xx: Check status register to determine if SSSR_TINT is disabled

2016-04-18 Thread lizf
From: "Tan, Jui Nee" 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 02bc933ebb59208f42c2e6305b2c17fd306f695d upstream. On Intel Baytrail, there is case when interrupt handler get called, no SPI message is captured. The RX FIFO is indeed

[PATCH 3.4 48/92] md/raid1: don't clear bitmap bit when bad-block-list write fails.

2016-04-18 Thread lizf
From: NeilBrown 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit bd8688a199b864944bf62eebed0ca13b46249453 upstream. When a write fails and a bad-block-list is present, we can update the bad-block-list instead of writing the data. If this

Re: [LKP] [lkp] [parallel lookups machinery, part 2] 96352435af: kernel BUG at mm/slab.c:2599!

2016-04-18 Thread Al Viro
On Mon, Apr 18, 2016 at 03:12:47PM +0800, Huang, Ying wrote: > That is, there is same issue for T1, but no such issue for T2. > > > How reproducible it is and how certain you are that it's not there on > > the parent commit? > > The result is quite stable for tens tests for parents and the first

[PATCH 3.4 53/92] regmap: debugfs: Ensure we don't underflow when printing access masks

2016-04-18 Thread lizf
From: Mark Brown 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit b763ec17ac762470eec5be8ebcc43e4f8b2c2b82 upstream. If a read is attempted which is smaller than the line length then we may underflow the subtraction we're doing with the un

Re: [PATCH] macsec: fix crypto Kconfig dependency

2016-04-18 Thread Arnd Bergmann
On Monday 18 April 2016 18:43:36 Herbert Xu wrote: > > It's kind of silly really now that IPv4 selects CRYPTO which > means that you can't really avoid seeing all those options which > most users won't care about. I had not noticed that IPv4 does it, but that is a good point. We have had a coupl

[PATCH 3.4 55/92] KVM: x86: trap AMD MSRs for the TSeg base and mask

2016-04-18 Thread lizf
From: Paolo Bonzini 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 3afb1121800128aae9f5722e50097fcf1a9d4d88 upstream. These have roughly the same purpose as the SMRR, which we do not need to implement in KVM. However, Linux accesses MSR

[PATCH 3.4 43/92] IB/cm: Fix rb-tree duplicate free and use-after-free

2016-04-18 Thread lizf
From: Doron Tsur 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 0ca81a2840f77855bbad1b9f172c545c4dc9e6a4 upstream. ib_send_cm_sidr_rep could sometimes erase the node from the sidr (depending on errors in the process). Since ib_send_cm_si

IMPORTANT MAIL TO YOU

2016-04-18 Thread verifelaw
I am Capt. Lawrence Tyman, an officer in US Army,and also a West Point Graduate, serving in the Military with the 82nd Air Borne Division Peace keeping force deployed from Afganistan to Syria. We were moved to Syria from Iraq as the last batch just left,and i really need your help in assisting me

[PATCH 3.4 40/92] md/raid0: apply base queue limits *before* disk_stack_limits

2016-04-18 Thread lizf
From: NeilBrown 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 66eefe5de11db1e0d8f2edc3880d50e7c36a9d43 upstream. Calling e.g. blk_queue_max_hw_sectors() after calls to disk_stack_limits() discards the settings determined by disk_stack_l

[PATCH 3.4 36/92] module: Fix locking in symbol_put_addr()

2016-04-18 Thread lizf
From: Peter Zijlstra 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 275d7d44d802ef271a42dc87ac091a495ba72fc5 upstream. Poma (on the way to another bug) reported an assertion triggering: [] module_assert_mutex_or_preempt+0x49/0x90 []

[PATCH for-next] spi: bcm53xx: add spi_flash_read callback for MMIO-based reads

2016-04-18 Thread Rafał Miłecki
This implements more efficient reads of SPI-attached flash content. Signed-off-by: Rafał Miłecki --- drivers/spi/spi-bcm53xx.c | 73 +-- 1 file changed, 71 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-bcm53xx.c b/drivers/spi/spi-bcm53xx.

Re: [PATCH v10 2/9] dt-bindings: pinctrl: Deprecate Tegra XUSB pad controller binding

2016-04-18 Thread Thierry Reding
On Tue, Mar 15, 2016 at 10:01:25AM +0100, Linus Walleij wrote: > On Fri, Mar 4, 2016 at 5:19 PM, Thierry Reding > wrote: > > > From: Thierry Reding > > > > This is an old version of the binding that isn't flexible enough to > > describe all aspects of the XUSB pad controller. Specifically with

[PATCH 3.4 38/92] ASoC: fix broken pxa SoC support

2016-04-18 Thread lizf
From: Robert Jarzmik 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 3c8f7710c1c44fb650bc29b6ef78ed8b60cfaa28 upstream. The previous fix of pxa library support, which was introduced to fix the library dependency, broke the previous SoC be

[PATCH 3.4 28/92] hfs: fix B-tree corruption after insertion at position 0

2016-04-18 Thread lizf
From: Hin-Tak Leung 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit b4cc0efea4f0bfa2477c56af406cfcf3d3e58680 upstream. Fix B-tree corruption when a new record is inserted at position 0 in the node in hfs_brec_insert(). This is an identic

[PATCH 3.4 25/92] crypto: ghash-clmulni: specify context size for ghash async algorithm

2016-04-18 Thread lizf
From: Andrey Ryabinin 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 71c6da846be478a61556717ef1ee1cea91f5d6a8 upstream. Currently context size (cra_ctxsize) doesn't specified for ghash_async_alg. Which means it's zero. Thus crypto_create

[PATCH 3.4 27/92] hfs,hfsplus: cache pages correctly between bnode_create and bnode_free

2016-04-18 Thread lizf
From: Hin-Tak Leung 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 7cb74be6fd827e314f81df3c5889b87e4c87c569 upstream. Pages looked up by __hfs_bnode_create() (called by hfs_bnode_create() and hfs_bnode_find() for finding or creating page

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-04-18 Thread Pavel Machek
On Mon 2016-04-18 13:55:17, Felipe Balbi wrote: > > Hi, > > Felipe Balbi writes: > >> But cellphone user knows what he connected his charger to, and that's > >> why it is useful to be able to lower the current. Even when you said > >> "less is just stupid" I demonstrated it is not, at least in c

[PATCH v2 2/4] io-mapping: Specify mapping size for io_mapping_map_wc()

2016-04-18 Thread Chris Wilson
The ioremap() hidden behind the io_mapping_map_wc() convenience helper can be used for remapping multiple pages. Extend the helper so that future callers can use it for larger ranges. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Cc: Daniel Vetter Cc: Jani Nikula Cc: David Airlie Cc: Yishai

[PATCH] ASoC: docs: add clocking examples for DAI formats

2016-04-18 Thread Peter Rosin
Provide *our* view of what the rules are for the different DAI formats, so that we do not have to trust external interpretations for this crucial bit of interoperability. Signed-off-by: Peter Rosin --- Documentation/sound/alsa/soc/clocking.txt | 110 +- 1 file changed

[PATCH 3.4 21/92] IB/uverbs: Fix race between ib_uverbs_open and remove_one

2016-04-18 Thread lizf
From: Yishai Hadas 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 35d4a0b63dc0c6d1177d4f532a9deae958f0662c upstream. Fixes: 2a72f212263701b927559f6850446421d5906c41 ("IB/uverbs: Remove dev_table") Before this commit there was a device l

Re: Kernel docs: muddying the waters a bit

2016-04-18 Thread Mauro Carvalho Chehab
Em Mon, 18 Apr 2016 10:10:17 +0200 Markus Heiser escreveu: > Hi Mauro, hi kernel-doc authors, > > Am 12.04.2016 um 15:58 schrieb Mauro Carvalho Chehab > : > > > Em Fri, 8 Apr 2016 17:12:27 +0200 > > Markus Heiser escreveu: > > > >> Hi kernel-doc authors, > >> > >> motivated by this MT, I

[PATCH 3.4 20/92] IB/mlx4: Use correct SL on AH query under RoCE

2016-04-18 Thread lizf
From: Noa Osherovich 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 5e99b139f1b68acd65e36515ca347b03856dfb5a upstream. The mlx4 IB driver implementation for ib_query_ah used a wrong offset (28 instead of 29) when link type is Ethernet. F

[PATCH 3.4 33/92] ARM: 7880/1: Clear the IT state independent of the Thumb-2 mode

2016-04-18 Thread lizf
From: "T.J. Purtell" 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 6ecf830e5029598732e04067e325d946097519cb upstream. The ARM architecture reference specifies that the IT state bits in the PSR must be all zeros in ARM mode or behavior i

[PATCH 3.4 32/92] perf header: Fixup reading of HEADER_NRCPUS feature

2016-04-18 Thread lizf
From: Arnaldo Carvalho de Melo 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit caa470475d9b59eeff093ae650800d34612c4379 upstream. The original patch introducing this header wrote the number of CPUs available and online in one order and th

[PATCH 3.4 30/92] ARM: 8429/1: disable GCC SRA optimization

2016-04-18 Thread lizf
From: Ard Biesheuvel 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit a077224fd35b2f7fbc93f14cf67074fc792fbac2 upstream. While working on the 32-bit ARM port of UEFI, I noticed a strange corruption in the kernel log. The following snprintf

[PATCH 3.4 23/92] IB/uverbs: reject invalid or unknown opcodes

2016-04-18 Thread lizf
From: Christoph Hellwig 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit b632ffa7cee439ba5dce3b3bc4a5cbe2b3e20133 upstream. We have many WR opcodes that are only supported in kernel space and/or require optional information to be copied in

[PATCH 3.4 09/92] auxdisplay: ks0108: fix refcount

2016-04-18 Thread lizf
From: Sudip Mukherjee 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit bab383de3b84e584b0f09227151020b2a43dc34c upstream. parport_find_base() will implicitly do parport_get_port() which increases the refcount. Then parport_register_device(

[PATCH v2 2/3] ASoC: simple-card: Add support call the codec jack detection after parse dts

2016-04-18 Thread Xing Zheng
In most cases, many codecs already supports jack detection, previouslly, we need to create a customized machine driver every time. Hence, the simple-card need to support use them dynamically via parse dts file for better flexibility. Signed-off-by: Xing Zheng --- Changes in v1: None .../devic

[PATCH 3.4 13/92] usb: host: ehci-sys: delete useless bus_to_hcd conversion

2016-04-18 Thread lizf
From: Peter Chen 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 0521cfd06e1ebcd575e7ae36aab068b38df23850 upstream. The ehci platform device's drvdata is the pointer of struct usb_hcd already, so we doesn't need to call bus_to_hcd convers

[PATCH 3.4 07/92] svcrdma: Fix send_reply() scatter/gather set-up

2016-04-18 Thread lizf
From: Chuck Lever 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 9d11b51ce7c150a69e761e30518f294fc73d55ff upstream. The Linux NFS server returns garbage in the data payload of inline NFS/RDMA READ replies. These are READs of under 1000 b

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-04-18 Thread Felipe Balbi
Hi, Pavel Machek writes: >> >> > a) you are connected to a dedicated charger >> >> > >> >> > In this case, you can get up to 2000mA depending on the charger. >> >> > >> >> > If $this charger can give you or not 2000mA is not detectable, >> >> > so what do charging ICs do

[PATCH 3.4 11/92] windfarm: decrement client count when unregistering

2016-04-18 Thread lizf
From: Paul Bolle 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit fe2b592173ff0274e70dc44d1d28c19bb995aa7c upstream. wf_unregister_client() increments the client count when a client unregisters. That is obviously incorrect. Decrement that

[PATCH 3.4 06/92] powerpc/rtas: Introduce rtas_get_sensor_fast() for IRQ handlers

2016-04-18 Thread lizf
From: Thomas Huth 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 1c2cb594441d02815d304cccec9742ff5c707495 upstream. The EPOW interrupt handler uses rtas_get_sensor(), which in turn uses rtas_busy_delay() to wait for RTAS becoming ready i

[PATCH 3.4 14/92] USB: ftdi_sio: Added custom PID for CustomWare products

2016-04-18 Thread lizf
From: Matthijs Kooijman 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 1fb8dc36384ae1140ee6ccc470de74397606a9d5 upstream. CustomWare uses the FTDI VID with custom PIDs for their ShipModul MiniPlex products. Signed-off-by: Matthijs Kooij

Re: [PATCHv4 1/2] x86/vdso: add mremap hook to vm_special_mapping

2016-04-18 Thread Dmitry Safonov
On 04/15/2016 07:58 PM, Andy Lutomirski wrote: A couple minor things: - You're looking at both new_vma->vm_mm and current->mm. Is there a reason for that? If they're different, I'd be quite surprised, but maybe it would make sense to check. Ok, will add a check. - On second thought, th

[PATCH 3.4 17/92] of/address: Don't loop forever in of_find_matching_node_by_address().

2016-04-18 Thread lizf
From: David Daney 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 3a496b00b6f90c41bd21a410871dfc97d4f3c7ab upstream. If the internal call to of_address_to_resource() fails, we end up looping forever in of_find_matching_node_by_address().

[PATCH 3.4 15/92] eCryptfs: Invalidate dcache entries when lower i_nlink is zero

2016-04-18 Thread lizf
From: Tyler Hicks 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 5556e7e6d30e8e9b5ee51b0e5edd526ee80e5e36 upstream. Consider eCryptfs dcache entries to be stale when the corresponding lower inode's i_nlink count is zero. This solves a pr

Re: [PATCH] mmc: drop unnecessary bit checking

2016-04-18 Thread Ulf Hansson
On 15 April 2016 at 13:16, Masahiro Yamada wrote: > This if-block is going to call mmc_card_set_blockaddr(), so > mmc_card_blockaddr() right before it is redundant. > > I am fixing the block comment style while I am here. > > Signed-off-by: Masahiro Yamada Thanks, applied for next! Kind regards

[PATCH v2 0/3] Add support simple-card parse jack detection via external codec

2016-04-18 Thread Xing Zheng
Hi, In most cases, many codecs already supports jack detection, previouslly, we need to create a customized machine driver every time. In my opinion, the codec fill the detect_jack explicitly and tell sound framework it supports the jack detection, the simple-card is able to parse the dts

Re: [PATCH v4 0/3] mmc: pwrseq: convert to proper driver

2016-04-18 Thread Ulf Hansson
On 14 April 2016 at 15:02, Srinivas Kandagatla wrote: > Thanks for reviewing v3. > > This patchset aims at converting the pwrseq devices to proper in drivers, > The issue is that on Qualcomm based platforms, most of the gpios require > a pinctrl setup. Existing pwrseq code does not do any kind of

[PATCH v2 3/3] ASoC: da7219: Add detect_jack callback in the snd_soc_codec_driver

2016-04-18 Thread Xing Zheng
This patch tell soc-jack that this codec supports jack detection. Signed-off-by: Xing Zheng --- Changes in v1: None sound/soc/codecs/da7219.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c index 81c0708..5a8ff1e 100644 --- a/sound

[PATCH 3.4 05/92] PCI: Add VPD function 0 quirk for Intel Ethernet devices

2016-04-18 Thread lizf
From: Mark Rustad 3.4.112-rc1 review patch. If anyone has any objections, please let me know. -- commit 7aa6ca4d39edf01f997b9e02cf6d2fdeb224f351 upstream. Set the PCI_DEV_FLAGS_VPD_REF_F0 flag on all Intel Ethernet device functions other than function 0, so that on multi-func

[PATCH v2 1/3] ASoC: jack: Add an export of a function that calls the codec jack detection

2016-04-18 Thread Xing Zheng
This patch add an export of a function. We can fill the detect_jack function in the struct snd_soc_codec_driver, and to tell sound machine driver (simple-card) that the codec supports the jack detection feature. Then, the machine driver (simple-card) call the export function of the sound framework

RE: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-04-18 Thread David Laight
From: Pavel Machek > Sent: 18 April 2016 11:40 ... > > >> > Actually, less is not stupid. Charging li-ion battery from li-ion > > >> > battery might > > >> > be stupid. Imagine I'm on train, with device like N900 (50% battery) > > >> > and power bank > > >> > (3Ah). I'm actively using the device.

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-04-18 Thread Pavel Machek
Hi! On Mon 2016-04-18 10:59:23, David Laight wrote: > From: Pavel Machek > > Sent: 18 April 2016 11:40 > ... > > > >> > Actually, less is not stupid. Charging li-ion battery from li-ion > > > >> > battery might > > > >> > be stupid. Imagine I'm on train, with device like N900 (50% battery) > > >

Re: [PATCH v3 3/3] drm: bridge: anx78xx: Add anx78xx driver support.

2016-04-18 Thread Enric Balletbo i Serra
Hi, Many thanks for dedicate some time to comment the patch, I'm going to send a v4 version, see my comments below. On 14/04/16 15:10, Thierry Reding wrote: On Fri, Apr 08, 2016 at 02:52:52PM +0200, Enric Balletbo i Serra wrote: Although there are other chips from the same family that can re

RE: [PATCH 1/2] iio: magn: Split bmc150 driver in common/i2c parts

2016-04-18 Thread Tirdea, Irina
> -Original Message- > From: Jonathan Cameron [mailto:ji...@kernel.org] > Sent: 17 April, 2016 13:02 > To: Baluta, Daniel; Tirdea, Irina > Cc: knaac...@gmx.de; l...@metafoo.de; pme...@pmeerw.net; > ge...@linux-m68k.org; Dogaru, Vlad; Purdila, Octavian; linux- > ker...@vger.kernel.org; li

Re: [PATCH for-next] spi: bcm53xx: add spi_flash_read callback for MMIO-based reads

2016-04-18 Thread Mark Brown
On Mon, Apr 18, 2016 at 01:10:43PM +0200, Rafał Miłecki wrote: > +static int bcm53xxspi_flash_read(struct spi_device *spi, > + struct spi_flash_read_message *msg) > +{ > + struct bcm53xxspi *b53spi = spi_master_get_devdata(spi->master); > + int ret = 0; > + > +

Re: [PATCH v10 2/9] dt-bindings: pinctrl: Deprecate Tegra XUSB pad controller binding

2016-04-18 Thread Linus Walleij
On Mon, Apr 18, 2016 at 1:12 PM, Thierry Reding wrote: > On Tue, Mar 15, 2016 at 10:01:25AM +0100, Linus Walleij wrote: >> On Fri, Mar 4, 2016 at 5:19 PM, Thierry Reding >> wrote: >> >> > From: Thierry Reding >> > >> > This is an old version of the binding that isn't flexible enough to >> > des

[PATCH v4 1/4] drm/dp: Add define to set 0.5% down-spread in MAX_DOWNSPREAD register.

2016-04-18 Thread Enric Balletbo i Serra
Support of 0.5% down-spread is required for DisplayPort Specification Version 1.1 Sink. Signed-off-by: Enric Balletbo i Serra --- include/drm/drm_dp_helper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 1252108..22be049 10064

[PATCH v4 3/4] devicetree: Add ANX7814 SlimPort transmitter binding.

2016-04-18 Thread Enric Balletbo i Serra
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. Signed-off-by: Enric Balletbo i Serra Cc: Rob Herring --- Changes since v3: - Model v10 as regulator (dvdd10-supply) - Removed the Acked-by: Rob Herring. Guess I need your ack again if you'r

[PATCH v4 4/4] drm: bridge: anx78xx: Add anx78xx driver support.

2016-04-18 Thread Enric Balletbo i Serra
Although there are other chips from the same family that can reuse this driver, at the moment we only tested ANX7814 chip. The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. This driver adds initial support for HDMI to DP pass-through mode. Sig

[PATCH v4 0/4] Add ANX7814 I2C bridge driver

2016-04-18 Thread Enric Balletbo i Serra
Hi all, This is the fourth version of the patch, thanks to all that did some comments. In this version I basically added the comments made by Thierry, also it introduces a new patch in the series to add a new helper constant in drm_dp_helper.h. The devicetree binding also suffered a slight modifi

[PATCH v4 2/4] of: Add vendor prefix for Analogix Semiconductor

2016-04-18 Thread Enric Balletbo i Serra
Analogix Semiconductor Inc. develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Changes since v3: None Changes since v2: None Changes since v1: - Add Acked-by: Rob Herring Doc

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