On Fri, 19 Feb 2016, Andy Shevchenko wrote:
> There is a potential resource leak in case when ->probe() fails. We have to
> unregister and remove clock tree which is done here.
>
> This is a follow up to previously pushed commit c4726abce63b ("mfd:
> intel_quark_i2c_gpio: Use clkdev_create()") th
On Wed, Mar 02, 2016 at 07:21:53PM -0800, Eduardo Valentin wrote:
> On Mon, Jan 04, 2016 at 03:17:09PM +0100, Sascha Hauer wrote:
> > On Wed, Nov 25, 2015 at 03:09:44PM +, Javi Merino wrote:
> > > The thermal-sensor property of the thermal zone node accepts phandles to
> > > thermal sensors. H
On Fri, 26 Feb 2016, Stephen Boyd wrote:
> On 02/19, Andy Shevchenko wrote:
> > There is a potential resource leak in case when ->probe() fails. We have to
> > unregister and remove clock tree which is done here.
> >
> > This is a follow up to previously pushed commit c4726abce63b ("mfd:
> > inte
On Fri, 11 Mar 2016, Dan Carpenter wrote:
> Instead to being true/false, the "handled" is true/uninitialized.
> Presumably this doesn't cause that many problems in real life because
> normally we handle the IRQ.
>
> Fixes: eea6b7cc53aa ('mfd: Add lp8788 mfd driver')
> Signed-off-by: Dan Carpenter
On Wed, 09 Mar 2016, Maxime Ripard wrote:
> Now that we have a GPIO driver for the AXP209, we can add it to our MFD.
>
> Signed-off-by: Maxime Ripard
> ---
> drivers/mfd/axp20x.c | 3 +++
> 1 file changed, 3 insertions(+)
Applied, thanks.
> diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp2
Add basic support for RGB triggers. Triggers with flag LED_TRIG_CAP_RGB
set are available to RGB LED devices only.
Signed-off-by: Heiner Kallweit
---
v2:
- renamed check to led_trigger_is_supported()
- removed unrelated other change
---
drivers/leds/led-triggers.c | 11 +++
include/linux
Add led_trigger_range_event() and supporting struct led_rgb_range
allowing to map a value within a value range to a color within a
color range.
Simple example would be to map a temperature with in a range to a
color between green and red.
Signed-off-by: Heiner Kallweit
---
v2:
- moved the actual
On Mon, Mar 21, 2016 at 04:57:32PM +0530, Aneesh Kumar K.V wrote:
> Jérôme Glisse writes:
[...]
> > +
> > +#ifdef CONFIG_HMM
> > +/* mm_hmm_migrate_back() - lock HMM CPU page table entry and allocate new
> > page.
> > + *
> > + * @mm: The mm struct.
> > + * @vma: The vm area struct the range is
On Mon, Mar 21, 2016 at 01:04:18AM +0100, Sebastian Reichel wrote:
> Right thinking about it, the voltage must also be configured for the
> non always-on cases. So it's not a problem with the regulator
> framework, but with twl-regulator's probe function, that should take
> care of this.
Absolute
Mostly direct substitution with occasional adjustment or removing
outdated comments.
Signed-off-by: Kirill A. Shutemov
---
Documentation/filesystems/cramfs.txt | 2 +-
Documentation/filesystems/tmpfs.txt| 2 +-
Documentation/filesystems/vfs.txt |
All users gone. We can remove these macros.
Signed-off-by: Kirill A. Shutemov
---
include/linux/pagemap.h | 15 ---
1 file changed, 15 deletions(-)
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index b3fc0370c14f..7e1ab155c67c 100644
--- a/include/linux/pagemap.h
++
PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time ago
with promise that one day it will be possible to implement page cache with
bigger chunks than PAGE_SIZE.
This promise never materialized. And unlikely will.
We have many places where PAGE_CACHE_SIZE assumed to be equal to
P
x27; bitset
in evergreen_hpd_fini() respectively.
Signed-off-by: Nicolai Stange
---
Applicable to linux-next-20160321.
Changes to v1:
- Turn commit message's impact part into a non-impact part.
drivers/gpu/drm/radeon/evergreen.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff -
Hi Chen-Yu,
On 21 March 2016 at 12:08, Chen-Yu Tsai wrote:
> On Mon, Mar 21, 2016 at 6:45 PM, Alexandre Torgue
> wrote:
>> Hi,
>>
>> 2016-03-18 17:00 GMT+01:00 Chen-Yu Tsai :
>>> Hi,
>>>
>>> On Fri, Mar 18, 2016 at 11:37 PM, Alexandre TORGUE
>>> wrote:
Signed-off-by: Alexandre TORGUE
On Mon, Mar 21, 2016 at 11:49:56AM +, Juri Lelli wrote:
> But we'll still need to normalize this w.r.t the highest score we get on
> a specific platform, right? And while we are at normalizing it, it is
> probably simpler if we keep the frequency component as part of the
> number, IMHO. But, m
devm_kzalloc() returns NULL on failure.
Signed-off-by: Axel Lin
---
drivers/mailbox/mailbox-xgene-slimpro.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mailbox/mailbox-xgene-slimpro.c
b/drivers/mailbox/mailbox-xgene-slimpro.c
index bd07f39..dd2afbc 100644
---
[adding Bjorn Andersson who is the author of commit 6261b06de565]
Hello Mark,
Thanks a lot for your feedback.
On 03/21/2016 08:11 AM, Mark Brown wrote:
> On Sun, Mar 20, 2016 at 11:39:46PM -0300, Javier Martinez Canillas wrote:
>
>> Unfortunately, that changed the behavior of the regulator core
Hi Rui,
The patch seems to work fine! I have tried both `rmmod & modprobe
thermal` and suspend & resume. Great!
On 21 March 2016 at 18:14, Vladyslav Frolov wrote:
> Hi Rui,
>
> I'm sorry for the delay; Reading the e-mail the first time I have
> missed the part about the patch, so I'm building th
On Friday 18 March 2016 23:44:23 Gabriele Mazzotta wrote:
> +#ifdef CONFIG_PM_SLEEP
> +static void ACPI_SYSTEM_XFACE rbtn_acpi_clear_flag(void *context)
> +{
> + struct rbtn_data *rbtn_data = context;
> +
> + rbtn_data->suspended = false;
> +}
> +
> +static int rbtn_suspend(struct device *d
Hi Heiko,
On 03/21/2016 07:29 PM, Heiko Stübner wrote:
Hi Yakir,
Am Montag, 21. März 2016, 17:28:38 schrieb Yakir Yang:
This patch set would add the RGA direct rendering based 2d graphics
acceleration module.
very cool to see that.
;)
This patch set is based on git repository below:
git://p
您好:
您还在用ali平台开发外贸客户?
还在使用展会宣传企业和产品?
你out了!!!
当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道?
行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到?
加QQ1286754208给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。
广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。
Use the smp_call_sync_on_phys_cpu() function to call system management
mode on cpu 0.
Signed-off-by: Juergen Gross
---
drivers/hwmon/dell-smm-hwmon.c | 27 ---
1 file changed, 12 insertions(+), 15 deletions(-)
diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/d
Hi Max,
Em Mon, 21 Mar 2016 12:33:05 +0100
Max Kellermann escreveu:
> CONFIG_DEBUG_KOBJECT_RELEASE found this bug.
Please, always send us your Signed-off-by on your patches, as described at:
https://linuxtv.org/wiki/index.php/Development:_Submitting_Patches#Developer.27s_Certificate_of
Some hardware models (e.g. Dell Studio 1555 laptops) require calls to
the firmware to be issued on cpu 0 only. As Dom0 might have to use
these calls, add xen_pin_vcpu() to achieve this functionality.
In case either the domain doesn't have the privilege to make the
related hypercall or the hypervis
Some hardware (e.g. Dell Studio laptops) require special functions to
be called on physical cpu 0 in order to avoid occasional hangs. When
running as dom0 under Xen this could be achieved only via special boot
parameters (vcpu pinning) limiting the hypervisor in it's scheduling
decisions.
This pat
Em Mon, 21 Mar 2016 12:33:12 +0100
Max Kellermann escreveu:
Please, always send us your Signed-off-by on your patches, as described at:
https://linuxtv.org/wiki/index.php/Development:_Submitting_Patches#Developer.27s_Certificate_of_Origin_1.1
Also, please add a description to the patch
On 2016/03/21 13:24, Mauro Carvalho Chehab wrote:
> Please, always send us your Signed-off-by on your patches, as described at:
>
> https://linuxtv.org/wiki/index.php/Development:_Submitting_Patches#Developer.27s_Certificate_of_Origin_1.1
Sorry, I forgot this, and remembered only right aft
Use smp_call_sync_on_phys_cpu() to raise SMI on cpu 0.
Signed-off-by: Juergen Gross
---
drivers/firmware/dcdbas.c | 46 --
1 file changed, 20 insertions(+), 26 deletions(-)
diff --git a/drivers/firmware/dcdbas.c b/drivers/firmware/dcdbas.c
index 829ee
On 03/21/2016 09:13 AM, Javier Martinez Canillas wrote:
> [adding Bjorn Andersson who is the author of commit 6261b06de565]
>
I got a user invalid error when sending to the email address that Bjorn used
in that commit, so I'm re-sending to his latest address. Sorry for the spam.
Bjorn, here is t
This was submitted back in December and not picked up after review.
P.
-8<
The Intel ASDM provides a maximum time window that can be specified when
setting a time window in the RAPL driver. While the ASDM doesn't explicitly
provide a minimum time window value, it does provide a minimum t
CONFIG_DEBUG_KOBJECT_RELEASE found this bug.
Signed-off-by: Max Kellermann
---
drivers/media/rc/rc-main.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c
index 1042fa3..cb3e8db 100644
--- a/drivers/media/rc/rc-m
Signed-off-by: Max Kellermann
---
drivers/media/media-devnode.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/media-devnode.c b/drivers/media/media-devnode.c
index cea35bf..4d7e8dd 100644
--- a/drivers/media/media-devnode.c
+++ b/drivers/media/media-devnode.c
@@ -266,8 +
Add generic virtualization support for pinning the current vcpu to a
specified physical cpu. As this operation isn't performance critical
(a very limited set of operations like BIOS calls and SMIs is expected
to need this) just add a hypervisor specific indirection.
Such a pinning should last as s
As a pair to already existing drm_connector_unregister_all() we're adding
generic implementation of what is already done in some drivers.
Once this helper is implemented we'll be ready to switch existing
driver-specific implementations with the generic one.
Signed-off-by: Alexey Brodkin
Cc: Dani
The MSR_PKG_POWER_INFO register (Intel ASDM, section 14.9.3
"Package RAPL Domain") provides a maximum time window which the
system can support. This window is read-only and is currently
not examined when setting the time windows for the package.
This patch implements get_max_time_window_us() and
Some systems erroneously set the maximum time window field of
MSR_PKG_POWER_INFO register to 0. This results in a user not being able
to set the time windows for the package. In some cases, however, RAPL
will still continue to work with a small window (albeit through some
trial and error). This
On some hardware models (e.g. Dell Studio 1555 laptop) some hardware
related functions (e.g. SMIs) are to be executed on physical cpu 0
only. Instead of open coding such a functionality multiple times in
the kernel add a service function for this purpose. This will enable
the possibility to take sp
All accesses to media_devnode_nums must be protected with
media_devnode_lock. The error code path in media_devnode_register()
did not do this, however.
Signed-off-by: Max Kellermann
---
drivers/media/media-devnode.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/media-d
Using an small value for the time window results in a
bogus value for the time window. For example,
[root@intel-chiefriver-03 linux]# echo 950 >
/sys/devices/virtual/powercap/intel-rapl/intel-rapl\:0/constraint_0_time_window_us;
egrep ^
/sys/devices/virtual/powercap/intel-rapl/intel-rapl\:0/cons
This driver used to have its own implementation of connector_register_all()
which actually was taken as a prototype of drm_connector_register_all().
Now when drm_connector_register_all() exists reusing it here.
And while at it replace atmel_hlcdc_dc_connector_unplug_all()
with generic drm_connect
Import the actual version of include/xen/interface/sched.h from Xen.
Signed-off-by: Juergen Gross
---
include/xen/interface/sched.h | 100 ++
1 file changed, 82 insertions(+), 18 deletions(-)
diff --git a/include/xen/interface/sched.h b/include/xen/interf
As a pair to already existing drm_connector_unplug_all()
(which we'll rename in this series to drm_connector_unregister_all())
we're adding generic implementation of what is already done in some drivers
for registering all connectors.
After implementation of that new helper we're updating 2 driver
Current name is a bit misleading because what that helper function
really does it calls drm_connector_unregister() for all connectors.
This all has nothing to do with hotplugging so let's name things
properly.
And while at it remove potentially dangerous locking around
drm_connector_unregister()
Now when generic drm_connector_register_all() helper exists we may safely
substiture with it driver-specific implementation of connectors plugging in
sysfs.
Signed-off-by: Alexey Brodkin
Cc: Daniel Vetter
Cc: David Airlie
Cc: Laurent Pinchart
Cc: linux-renesas-...@vger.kernel.org
---
No chang
Gar, the truth is I'm never going to remember to capitalize patches for
you. No one else has that rule. Plus the last two times we had this
discussion the patches I was fixing were not capitalized either.
git log -p --author="Dan Carpenter" drivers/mfd | grep Fixes | head -n 2
regards,
dan carp
This patch does following things.
1. Added dummy entry in the spi_transfer structure.
2. Assigned dummy cycles to dummy member in the transfer
structure during read operation.
Signed-off-by: P L Sai Krishna
---
drivers/mtd/devices/m25p80.c | 1 +
include/linux/spi/spi.h | 2 ++
2 files chan
> unicore32 fails to compile with the following errors.
>
> mm/memory.c: In function ���__handle_mm_fault���:
> mm/memory.c:3381: error:
> too many arguments to function ���arch_vma_access_permitted���
> mm/gup.c: In function ���check_vma_flags���:
> mm/gup.c:456: error:
> too many argu
Hello Tomeu,
On Mon, Mar 21, 2016 at 8:00 AM, Tomeu Vizoso
wrote:
> If we do, devres prints a "invalid resource" string in the error
> loglevel.
>
> Signed-off-by: Tomeu Vizoso
> ---
Reviewed-by: Javier Martinez Canillas
Best regards,
Javier
On Mon, Mar 21, 2016 at 09:13:55AM -0300, Javier Martinez Canillas wrote:
> On 03/21/2016 08:11 AM, Mark Brown wrote:
> > On Sun, Mar 20, 2016 at 11:39:46PM -0300, Javier Martinez Canillas wrote:
> >> This patch makes the unresolved parent supplies to be looked up before the
> >> regulators late c
On Mon, Mar 21, 2016 at 11:31:24AM +0100, Borislav Petkov wrote:
> On Mon, Mar 21, 2016 at 06:09:31PM +0800, Huang Rui wrote:
> > Can you apply these two patches since I sent two months before. Need I
> > rebase them?
>
> Yes, please rebase and test them ontop of 4.6-rc1 once Linus releases it
> a
Hi Arnd,
2016-03-21 18:49 GMT+09:00 Arnd Bergmann :
> On Monday 21 March 2016 12:59:20 Masahiro Yamada wrote:
>>
>> I thought you'd include DT updates in the pull requests,
>> but you didn't.
>>
>> Why was next/dt2 missed?
>
> This is the branch that I pulled in some patches last, I'm going to sen
On Sat, Mar 19, 2016 at 12:00:22AM +0800, Chen-Yu Tsai wrote:
> Hi,
>
> On Fri, Mar 18, 2016 at 11:37 PM, Alexandre TORGUE
> wrote:
> > Signed-off-by: Alexandre TORGUE
> >
> > diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.txt
> > b/Documentation/devicetree/bindings/net/stm32-dw
On Mon, Mar 21, 2016 at 09:26:41AM +0200, Tero Roponen wrote:
> Commit e7e127e3c767 ("PCI: Include pci/hotplug Kconfig directly
> from pci/Kconfig") added one line to pci/Kconfig. However, for
> some mysterious reason it isn't there now, even though there
> are no traces of removing it in the git l
On Mon, Mar 21, 2016 at 12:12 PM, Lorenzo Pieralisi
wrote:
> The [0 - 64k] ACPI PCI IO port resource boundary check in:
>
> acpi_dev_ioresource_flags()
>
> is currently applied blindly in the ACPI resource parsing to all
> architectures, but only x86 suffers from that IO space limitation.
>
> On a
On Sun, Mar 20, 2016 at 3:31 PM, Chen Yu wrote:
> The problem is Linux registers pm_power_off = efi_power_off
> only if we are in hardware reduced mode. Actually, what we also
> want is to do this when ACPI S5 is simply not supported on
> non-legacy platforms. Since there will be HW-full mode wher
Hello Mark,
On 03/21/2016 09:37 AM, Mark Brown wrote:
> On Mon, Mar 21, 2016 at 09:13:55AM -0300, Javier Martinez Canillas wrote:
>> On 03/21/2016 08:11 AM, Mark Brown wrote:
>>> On Sun, Mar 20, 2016 at 11:39:46PM -0300, Javier Martinez Canillas wrote:
>
This patch makes the unresolved paren
On Mon 21-03-16 15:06:36, Kirill A. Shutemov wrote:
> PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time ago
> with promise that one day it will be possible to implement page cache with
> bigger chunks than PAGE_SIZE.
>
> This promise never materialized. And unlikely will.
>
>
On Fri, Mar 18, 2016 at 06:27:57PM -0500, Andreas Dannenberg wrote:
> The Texas Instruments TAS5720L/M device is a high-efficiency mono
> Class-D audio power amplifier optimized for high transient power
> capability to use the dynamic power headroom of small loudspeakers.
> Its digital time divisio
On Fri, Mar 18, 2016 at 07:42:42PM -0700, Eric Anholt wrote:
> This is the vendor for a 7" DPI panel sold by Adafruit which I'd like
> to describe in DT.
>
> Signed-off-by: Eric Anholt
> ---
> Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
> 1 file changed, 1 insertion(+)
Acked-by
On Fri, Mar 18, 2016 at 07:42:43PM -0700, Eric Anholt wrote:
> This is a basic TFT panel with a 40-pin FPC connector on it. The
> specification doesn't define timings, but the Adafruit instructions
> were setting up 800x480 CVT.
>
> Signed-off-by: Eric Anholt
> ---
> .../bindings/display/panel/
Hi Uwe,
On 03/18/2016 08:12 PM, Uwe Kleine-König wrote:
> Hello Sebastian,
>
> On Fri, Mar 18, 2016 at 04:56:21PM +0100, Sebastian Frias wrote:
>> On 03/18/2016 01:54 PM, Uwe Kleine-König wrote:
>>> From a driver perspecitive, it would be nice if devm_gpiod_get_optional
>>> returned NULL iff the
Some Skylake Intel i7-6700HQ processors have cstates limited by
MSR_PKG_CST_CONFIG_CONTROL (0xE2), which specifies the lowest
processor-specific C-state code name (consuming the least power). The
intel_idle driver does not query this MSR to see if states are limited by
hardware. In the case of th
MSR 0xE2 is not a Nehalem specific register and is used by newer
processors. This patch renames the processor to the name given in the
Intel SDM [1]
[1]
http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html
Cc: x...@kernel.org
Cc: Len Brown
Cc: "Peter
The current codebase allows a user to enable a cstate even though the
hardware has disabled it. This patch adds state checking and prevents
userspace from setting a hardware disabled cstate to enabled.
Signed-off-by: Prarit Bhargava
---
drivers/cpuidle/governors/ladder.c |3 +++
drivers/cpu
Some Intel processors have cstates limited by MSR_PKG_CST_CONFIG_CONTROL
(0xE2), which specifies the lowest processor-specific C-state code name
(consuming the least power). The intel_idle driver does not query this MSR to
see if states are limited by hardware. In the case of the i7-6700HQ the va
On Mon 21-03-16 15:06:37, Kirill A. Shutemov wrote:
> Mostly direct substitution with occasional adjustment or removing
> outdated comments.
>
> Signed-off-by: Kirill A. Shutemov
I haven't spotted anything wrong here
Acked-by: Michal Hocko
> ---
> Documentation/filesystems/cramfs.txt
On Mon 21-03-16 15:06:38, Kirill A. Shutemov wrote:
> All users gone. We can remove these macros.
>
> Signed-off-by: Kirill A. Shutemov
\o/
Acked-by: Michal Hocko
Thanks!
> ---
> include/linux/pagemap.h | 15 ---
> 1 file changed, 15 deletions(-)
>
> diff --git a/include/linux/
This patch sends dummy as a separate entry.
Break the Address+Cmd+dummy transfer into multiple transfers.
Address+Cmd as one transfer.
Dummy cycles as another transfer.
As per the controller spec, immediate data field of dummy entry
in the GenFifo represent dummy cycles.
Bus width for dummy cycles
On Fri, Mar 18, 2016 at 07:42:45PM -0700, Eric Anholt wrote:
> The DPI interface involves taking a ton of our GPIOs to be used as
> outputs, and routing display signals over them in parallel.
>
> Signed-off-by: Eric Anholt
> ---
> .../devicetree/bindings/display/brcm,bcm-vc4.txt | 67 +++
> d
On Sun, Mar 20, 2016 at 01:31:21PM +0100, Nicolai Stange wrote:
> The original v1 can be found here:
>
>
> http://lkml.kernel.org/g/1458237606-4954-1-git-send-email-nicsta...@gmail.com
>
>
> While v1 (hopefully) fixed some issues in mpi_write_sgl() and
> mpi_read_buffer() introduced by
> co
Hi Linus,
Here's the PR for MMC v4.6.
Details about the highlights are as usual found in the signed tag.
Please pull this in!
Kind regards
Ulf Hansson
The following changes since commit fc77dbd34c5c99bce46d40a2491937c3bcbd10af:
Linux 4.5-rc6 (2016-02-28 08:41:20 -0800)
are available in th
On Fri, Mar 11, 2016 at 06:42:37PM +0300, Alexey Brodkin wrote:
> This add DT bindings documentation for ARC PGU display controller.
>
> Signed-off-by: Alexey Brodkin
> Cc: Rob Herring
> Cc: Pawel Moll
> Cc: Mark Rutland
> Cc: Ian Campbell
> Cc: Kumar Gala
> Cc: David Airlie
> Cc: dri-de...
On Mon, Mar 21, 2016 at 05:50:08PM +0530, P L Sai Krishna wrote:
> This patch does following things.
> 1. Added dummy entry in the spi_transfer structure.
> 2. Assigned dummy cycles to dummy member in the transfer
> structure during read operation.
Please try to follow the patch submission process
Herbert Xu writes:
> On Sun, Mar 20, 2016 at 01:31:21PM +0100, Nicolai Stange wrote:
>> The original v1 can be found here:
>>
>>
>> http://lkml.kernel.org/g/1458237606-4954-1-git-send-email-nicsta...@gmail.com
>>
>>
>> While v1 (hopefully) fixed some issues in mpi_write_sgl() and
>> mpi_rea
On Mon, 21 Mar 2016 15:28:39 +0300
Alexey Brodkin wrote:
> This driver used to have its own implementation of connector_register_all()
> which actually was taken as a prototype of drm_connector_register_all().
>
> Now when drm_connector_register_all() exists reusing it here.
>
> And while at it
On Thu, Mar 17, 2016 at 06:23:40PM +0100, Arnd Bergmann wrote:
> The regmap binding talks about one thing, which is register
> endianess, and it gets almost every aspect of it wrong.
>
> This replaces the current text of the file with a version
> that makes more sense and that matches what we impl
> >> drivers/ntb/hw/amd/ntb_hw_amd.c:367:29: sparse: cast removes address space
> >> of
> expression
>drivers/ntb/hw/amd/ntb_hw_amd.c:427:31: sparse: cast removes address space
> of
> expression
>360static int amd_ntb_peer_db_addr(struct ntb_dev *ntb,
>361
On Mon, Mar 21, 2016 at 01:06:10AM +0100, Emil Bartczak wrote:
> Add device tree support to the rtc-mcp795 driver.
>
> Signed-off-by: Emil Bartczak
> ---
> Documentation/devicetree/bindings/rtc/maxim,mcp795.txt | 11 +++
> drivers/rtc/rtc-mcp795.c | 10 +
-channelized-messaging-driver/20160321-195213
coccinelle warnings: (new ones prefixed by >>)
>> drivers/rapidio/rio_cm.c:1401:4-9: WARNING: NULL check before freeing
>> functions like kfree, debugfs_remove, debugfs_remove_recursive or
>> usb_free_urb is not needed. May
drivers/rapidio/rio_cm.c:1401:4-9: WARNING: NULL check before freeing functions
like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not
needed. Maybe consider reorganizing relevant code to avoid passing NULL values.
drivers/rapidio/rio_cm.c:1408:4-9: WARNING: NULL check before
Hi Alexey,
Thank you for the patch.
On Monday 21 Mar 2016 15:28:37 Alexey Brodkin wrote:
> Current name is a bit misleading because what that helper function
> really does it calls drm_connector_unregister() for all connectors.
>
> This all has nothing to do with hotplugging so let's name things
在 2016/3/21 17:58, Viresh Kumar 写道:
On 21-03-16, 10:54, Heiko Stübner wrote:
I hadn't seen that yet ... nice that cpufreq-dt now also supports clusters :-)
The other part still stands though, as we probably should register the
platform-device somewhere else and not in some new special module.
This is a resend of v2 with the crypto people properly CC'd.
The original v1 can be found here:
http://lkml.kernel.org/g/1458237606-4954-1-git-send-email-nicsta...@gmail.com
While v1 (hopefully) fixed some issues in mpi_write_sgl() and
mpi_read_buffer() introduced by
commit 2d4d1eea540b ("l
The number of bits, nbits, is calculated in mpi_read_raw_from_sgl() as
follows:
nbits = nbytes * 8;
Afterwards, the number of leading zero bits of the first byte get
subtracted:
nbits -= count_leading_zeros(*(u8 *)(sg_virt(sgl) + lzeros));
However, count_leading_zeros() takes an unsigned lo
Hi Alexey,
Thank you for the patch.
On Monday 21 Mar 2016 15:28:40 Alexey Brodkin wrote:
> Now when generic drm_connector_register_all() helper exists we may safely
s/Now when/Now that a/
> substiture with it driver-specific implementation of connectors plugging in
s/substiture with it/substit
Currently, the nbytes local variable is calculated from the len argument
as follows:
... mpi_read_raw_from_sgl(..., unsigned int len)
{
unsigned nbytes;
...
if (!ents)
nbytes = 0;
else
nbytes = len - lzeros;
...
}
Given that nbytes is derived from len in a tr
Currently, if the number of leading zeros is greater than fits into a
complete limb, mpi_read_buffer() skips them by iterating over them
limb-wise.
Instead of skipping the high order zero limbs within the loop as shown
above, adjust the copying loop's bounds.
Signed-off-by: Nicolai Stange
---
l
Currently, the endian conversion from CPU order to BE is open coded in
mpi_write_sgl().
Replace this by the centrally provided cpu_to_be*() macros.
Signed-off-by: Nicolai Stange
---
lib/mpi/mpicoder.c | 27 +++
1 file changed, 11 insertions(+), 16 deletions(-)
diff --gi
Within the copying loop in mpi_read_raw_from_sgl(), the last input SGE's
byte count gets artificially extended as follows:
if (sg_is_last(sg) && (len % BYTES_PER_MPI_LIMB))
len += BYTES_PER_MPI_LIMB - (len % BYTES_PER_MPI_LIMB);
Within the following byte copying loop, this causes reads beyo
On 03/19/2016 05:51 AM, Paul Mackerras wrote:
> On Fri, Mar 18, 2016 at 08:23:24PM +0530, Shreyas B Prabhu wrote:
>> Hi Paul,
>>
>> On 03/17/2016 04:45 PM, Paul Mackerras wrote:
>>> On Mon, Feb 29, 2016 at 05:52:59PM +0530, Shreyas B. Prabhu wrote:
Before entering any idle state which can re
In mpi_read_raw_from_sgl(), unsigned nbits is calculated as follows:
nbits = nbytes * 8;
and redundantly cleared later on if nbytes == 0:
if (nbytes > 0)
...
else
nbits = 0;
Purge this redundant clearing for the sake of clarity.
Signed-off-by: Nicolai Stange
---
lib/mpi/mpicode
Currently, mpi_read_buffer() writes full limbs to the output buffer
and moves memory around to purge leading zero limbs afterwards.
However, with
commit 9cbe21d8f89d ("lib/mpi: only require buffers as big as needed for
the integer")
the caller is only required to provid
At the very beginning of mpi_read_raw_from_sgl(), the leading zeros of
the input scatterlist are counted:
lzeros = 0;
for_each_sg(sgl, sg, ents, i) {
...
if (/* sg contains nonzero bytes */)
break;
/* sg contains nothing but zeros here */
ents--;
lzeros = 0;
}
Lat
Within the byte reading loop in mpi_read_raw_sgl(), there are two
housekeeping indices used, z and x.
At all times, the index z represents the number of output bytes covered
by the input SGEs for which processing has completed so far. This includes
any leading zero bytes within the most significan
Currently, the endian conversion from CPU order to BE is open coded in
mpi_read_buffer().
Replace this by the centrally provided cpu_to_be*() macros.
Copy from the temporary storage on stack to the destination buffer
by means of memcpy().
Signed-off-by: Nicolai Stange
---
lib/mpi/mpicoder.c | 2
On Mon, 21 Mar 2016 10:27:46 +0100
Peter Zijlstra wrote:
> So no real objection to the patch except this naming.
>
> It doesn't 'check', it does preempt-latency tracing. So could we rename
> this to something like:
>
> preempt_{dis,en}able_latency()
>
> or somesuch?
What about:
preemp
On 03/20/2016 01:40 PM, Kirill A. Shutemov wrote:
> PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time ago
> with promise that one day it will be possible to implement page cache with
> bigger chunks than PAGE_SIZE.
>
> This promise never materialized. And unlikely will.
>
> We
Fixes use-after-free bug which occurs when I disconnect my DVB-S
received while VDR is running.
Signed-off-by: Max Kellermann
---
drivers/media/dvb-core/dvb_ca_en50221.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/drivers/media/dvb-core/dvb_ca_en
Within the copying loop in mpi_write_sgl(), we have
if (lzeros) {
...
p -= lzeros;
y = lzeros;
}
p = p - (sizeof(alimb) - y);
If lzeros == 0, then y == 0, too. Thus, lzeros gets subtracted and added
back again to p.
Purge this redundancy.
Signed-off-by: Nicolai Stange
---
li
Callbacks invoked from put_device() may free the struct media_devnode
pointer, so any cleanup needs to be done before put_device().
Signed-off-by: Max Kellermann
---
drivers/media/media-devnode.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/media/media-devnode
301 - 400 of 846 matches
Mail list logo