From: Dave Hansen
I've had this code for a while, but never submitted it upstream. Now
that Skylake hardware is out in the wild, folks can actually run this
for real. It tests the following:
1. The MPX hardware is enabled by the kernel and doing what it
is supposed to
From: Dave Hansen
The 32-bit siginfo is a different binary format than the 64-bit
one. So, when running 32-bit binaries on 64-bit kernels, we have
to convert the kernel's 64-bit version to a 32-bit version that
userspace can grok.
We've added a few features to siginfo over the past few years a
If a segment in a section is clean or prefreed, we don't need to get its summary
and do gc.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/gc.c | 4
1 file changed, 4 insertions(+)
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index 67fd285..e1d274c 100644
--- a/fs/f2fs/gc.c
+++ b/fs/f2fs/gc.c
@@ -795,
There is a data race between allocate_data_block() and f2fs_sbumit_page_mbio(),
which incur unnecessary reversed bio submission.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/f2fs.h| 1 +
fs/f2fs/segment.c | 6 ++
fs/f2fs/super.c | 2 ++
3 files changed, 9 insertions(+)
diff --git a/fs/f2fs/
Commit-ID: 077fa7aed17de5022e44bf07dbaf732078b7b5b2
Gitweb: http://git.kernel.org/tip/077fa7aed17de5022e44bf07dbaf732078b7b5b2
Author: Mel Gorman
AuthorDate: Wed, 8 Jun 2016 14:25:22 +0100
Committer: Thomas Gleixner
CommitDate: Wed, 8 Jun 2016 19:23:54 +0200
futex: Calculate the futex
On 06/06/2016 11:59 PM, Chen Feng wrote:
The idea is good, define the heap ids in header file is inconvenient.
But if we query the heaps information from user-space.
It need to maintain this ids and name userspace one by one. The code may
be complicated in different module user-space.
In andro
In f2fs, we don't need to keep block plugging for NODE and DATA writes, since
we already merged bios as much as possible.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/checkpoint.c | 4
fs/f2fs/data.c | 17 ++---
fs/f2fs/gc.c | 5 -
fs/f2fs/segment.c| 7 +--
On 08 June 2016 15:19, Mark Brown wrote:
> Subject: Re: [PATCH V2] MAINTAINERS: Add Dialog PMIC search terms for
> missing documentation and header files
>
> On Tue, May 24, 2016 at 08:53:46AM +0100, Steve Twiss wrote:
>
> > The majority of these updates are for MFD documentation and headers,
>
On Wed, Jun 08, 2016 at 07:24:15PM +0200, Rafael J. Wysocki wrote:
> On Wed, Jun 8, 2016 at 2:15 PM, Mark Brown wrote:
> > On Thu, Jan 14, 2016 at 02:52:11AM +0100, Rafael J. Wysocki wrote:
> >> What follows is my prototype implementation of this. It took some time
> >> to develop (much more tha
On 06/08/2016 02:23 AM, Michael Kerrisk (man-pages) wrote:
> On 06/07/2016 10:47 PM, Dave Hansen wrote:
>> > Are there any concerns with merging these into the x86 tree so
>> > that they go upstream for 4.8?
> I believe we still don't have up-to-date man pages, right?
> Best from my POV to send t
On 06/08/2016 06:50 AM, Liviu Dudau wrote:
On Mon, Jun 06, 2016 at 11:23:33AM -0700, Laura Abbott wrote:
From: Laura Abbott
The Ion ABI for heaps is limiting to work with for more complex systems.
Heaps have to be registered at boot time with known ids available to
userspace. This becomes a t
On 06/08/2016 08:06 AM, Lee Jones wrote:
> On Tue, 31 May 2016, Andrew F. Davis wrote:
>
>> The TI SM-USB-DIG is a USB to SPI/I2C/1Wire/GPIO adapter.
>> Add MFD core support.
>>
>> Signed-off-by: Andrew F. Davis
>> ---
>> The SPI, GPIO, and 1Wire drivers are WIP.
>>
>> drivers/mfd/Kconfig
On Jun 8, 2016, at 1:22 PM, Jeff Layton wrote:
> On Wed, 2016-06-08 at 12:10 -0400, Oleg Drokin wrote:
>> On Jun 8, 2016, at 6:58 AM, Jeff Layton wrote:
>>
>>> A simple way to confirm that might be to convert all of the read locks
>>> on the st_rwsem to write locks. That will serialize all of th
On Wed, Jun 08, 2016 at 03:55:48PM +0200, Pali Rohár wrote:
> On Wednesday 08 June 2016 15:24:10 Guenter Roeck wrote:
> > On 06/08/2016 02:57 AM, Pali Rohár wrote:
> > > Hello!
> > >
> > > Mario wrote me about two I think security problems in
> > > dell-smm-hwmon driver and I would like to ask you
On Wed, Jun 08, 2016 at 09:40:11AM -0700, Brian Norris wrote:
> On Wed, Jun 08, 2016 at 09:26:46AM -0700, Brian Norris wrote:
> > With CONFIG_NVMEM, nvmem_cell_read() returns void *. With !CONFIG_NVMEM
> > it returns char *. Let's make that consistent. Also drop the
> > incorrect/inconsistent comme
On Wed, Jun 08, 2016 at 05:25:30PM +, Opensource [Steve Twiss] wrote:
> On 08 June 2016 15:19, Mark Brown wrote:
> > We *really* shouldn't be blocking on my ack for trivial changes outside
> > the subsystem like this though :(
> There had been no reply since my first e-mail round about a mont
On Wed, Jun 08, 2016 at 11:56:29AM -0500, Andrew F. Davis wrote:
[ ... ]
> >> static const u8 TMP432_TEMP_MSB_READ[4][3] = {
> >> @@ -149,6 +156,7 @@ static const struct i2c_device_id tmp401_id[] = {
> >> { "tmp431", tmp431 },
> >> { "tmp432", tmp432 },
> >> { "tmp435", tmp435
On Wed, Jun 08, 2016 at 12:00:54PM -0500, Andrew F. Davis wrote:
> Signed-off-by: Andrew F. Davis
Applied to hwmon-next.
Thanks,
Guenter
> Hi,
>
> These are a set of patches which removes semaphores from:
>
> drivers/staging/lustre (lnet)
>
> These are part of a bigger effort to eliminate all semaphores
> from the linux kernel.
>
> They build correctly (individually and as a whole).
>
> Thanks,
> Binoy
I just finishing runn
> The semaphore 'lo_sem' in lloop_device is used as completion, so it
> should be written as one. Semaphores are going away in the future.
>
> Signed-off-by: Binoy Jayan
NAK. The lloop_device is about to get deleted.
> ---
> drivers/staging/lustre/lustre/llite/lloop.c | 14 +++---
> 1
On 2016-06-08 13:37, Guenter Roeck wrote:
On Wed, Jun 08, 2016 at 03:55:48PM +0200, Pali Rohár wrote:
On Wednesday 08 June 2016 15:24:10 Guenter Roeck wrote:
On 06/08/2016 02:57 AM, Pali Rohár wrote:
Hello!
Mario wrote me about two I think security problems in
dell-smm-hwmon driver and I woul
On Wed, Jun 08, 2016 at 08:38:52AM -0700, Joe Perches wrote:
> (Adding Michal Marek and linux-kbuild)
>
> On Wed, 2016-06-08 at 18:11 +0300, Vladimir Zapolskiy wrote:
> > On 08.06.2016 16:53, Guenter Roeck wrote:
> > > On 06/08/2016 06:37 AM, Vladimir Zapolskiy wrote:
> > > > > > +comment "Watchdo
Fix the warnings about the following functions not being
declared by including omap-usb.h which declares them:
drivers/mfd/omap-usb-tll.c:333:5: warning: symbol 'omap_tll_init' was not
declared. Should it be static?
drivers/mfd/omap-usb-tll.c:408:5: warning: symbol 'omap_tll_enable' was not
decl
From: Andreas Ziegler
Date: Wed, 8 Jun 2016 11:40:28 +0200
> The CONFIG_ prefix should only be used for options which
> can be configured through Kconfig and not for guarding headers.
>
> Signed-off-by: Andreas Ziegler
Applied.
From: Andreas Ziegler
Date: Wed, 8 Jun 2016 11:36:56 +0200
> The CONFIG_ prefix should only be used for options which
> can be configured through Kconfig and not for guarding headers.
>
> Signed-off-by: Andreas Ziegler
Since this is fixing a patch that went via the networking tree, you
should
On Wednesday 08 June 2016 19:37:43 Guenter Roeck wrote:
> On Wed, Jun 08, 2016 at 03:55:48PM +0200, Pali Rohár wrote:
> > And do you have idea what to do with problem 1)?
>
> If you really want to do something about it, you could whiteout the
> serial number if CAP_SYS_ADMIN is not set.
Ok, that
On Wednesday 08 June 2016 19:54:35 Austin S. Hemmelgarn wrote:
> On 2016-06-08 13:37, Guenter Roeck wrote:
> > On Wed, Jun 08, 2016 at 03:55:48PM +0200, Pali Rohár wrote:
> >> On Wednesday 08 June 2016 15:24:10 Guenter Roeck wrote:
> >>> On 06/08/2016 02:57 AM, Pali Rohár wrote:
> Hello!
> >>>
On Wed, Jun 8, 2016 at 2:48 PM, Mark Brown wrote:
> On Thu, Jan 14, 2016 at 02:54:17AM +0100, Rafael J. Wysocki wrote:
>
>> + * A side effect of the link creation is re-ordering of dpm_list and the
>> + * devices_kset list by moving the consumer device and all devices depending
>> + * on it to the
On 6/5/2016 12:57 PM, Andy Gross wrote:
On Thu, May 26, 2016 at 01:37:56PM -0600, Austin Christ wrote:
@@ -1354,14 +1359,13 @@ static void qup_i2c_disable_clocks(struct qup_i2c_dev
*qup)
static int qup_i2c_probe(struct platform_device *pdev)
{
static const int blk_sizes[] = {4,
From: Jarod Wilson
Date: Wed, 8 Jun 2016 09:41:14 -0400
> On Tue, Jun 07, 2016 at 05:20:16PM -0400, Jarod Wilson wrote:
>> On Mon, Jun 06, 2016 at 02:55:29PM -0400, Jarod Wilson wrote:
>> > On Mon, Jun 06, 2016 at 05:29:30PM +0100, Bert Kenward wrote:
>> > > 7000-series SFC NICs connected with an
From: Naveen Kaje
I2C QUP driver relies on SMBus emulation support from the framework.
To handle SMBus block reads, the driver should check I2C_M_RECV_LEN
flag and should read the first byte received as the message length.
The driver configures the QUP hardware to read one byte. Once the
message
From: Naveen Kaje
Add support to get the device parameters from ACPI. Assume
that the clocks are managed by firmware.
Signed-off-by: Naveen Kaje
Signed-off-by: Austin Christ
Reviewed-by: sricha...@codeaurora.org
---
drivers/i2c/busses/i2c-qup.c | 59 ---
On Wed, Jun 08, 2016 at 05:08:09PM +0300, Vladimir Zapolskiy wrote:
> Hi Wolfram,
>
> On 08.06.2016 09:54, Wolfram Sang wrote:
> > On Tue, Jun 07, 2016 at 08:38:45PM +0300, Vladimir Zapolskiy wrote:
> >> The change adds a simple watchdog pretimeout framework infrastructure,
> >> its purpose is to
Hi all,
I've been working with Ben Dooks to get a big-endian kernel working on
my Exynos 4412 board. Primarily this series consists of:
- Replacing the __raw_{read,write}l accessors, which aren't
endian-clean, with their respective {read,write}l_relaxed versions
across various drivers.
Fix the Samsung pwm timer access code to deal with kernels built for big
endian operation.
Signed-off-by: Matthew Leach
---
CC: Daniel Lezcano
CC: Thomas Gleixner
CC: linux-kernel@vger.kernel.org
---
drivers/clocksource/samsung_pwm_timer.c | 16
1 file changed, 8 insertions(+)
Fix the clk endian access code to deal with kernels built for big endian
operation.
Signed-off-by: Matthew Leach
---
CC: Sylwester Nawrocki
CC: Tomasz Figa
CC: Michael Turquette
CC: Stephen Boyd
CC: linux-samsung-...@vger.kernel.org
CC: linux-...@vger.kernel.org
CC: linux-kernel@vger.kernel.o
Use the byte-order aware big endian accessors, allowing for kernels
running under big-endian.
Signed-off-by: Matthew Leach
---
CC: Sylwester Nawrocki
CC: Tomasz Figa
CC: Michael Turquette
CC: Stephen Boyd
CC: Kukjin Kim
CC: Krzysztof Kozlowski
CC: linux-samsung-...@vger.kernel.org
CC: linux
This driver makes use of the __set_bit() and __clear_bit() functions.
When running under big-endian, these functions don't convert the bit
indexes when working with peripheral registers, leading to the
incorrect bits being set and cleared when running big-endian.
Add two new driver functions for s
From: Ben Dooks
Instead of using the __raw accesors, use the _relaxed versions
to deal with any issues due to endian-ness of the CPU.
Signed-off-by: Ben Dooks
---
CC: Thomas Gleixner (maintainer:IRQCHIP DRIVERS)
CC: Jason Cooper (maintainer:IRQCHIP DRIVERS)
CC: Marc Zyngier (maintainer:IRQC
From: Ben Dooks
Use the relaxed versions of the IO accessors to avoid any issues
if running in big endian.
Signed-off-by: Ben Dooks
---
Cc: Pavel Fedin
Cc: Krzysztof Kozlowski
Cc: Pankaj Dubey
Cc: linux-arm-ker...@lists.codethink.co.uk
---
drivers/memory/samsung/exynos-srom.c | 6 +++---
1
From: Ben Dooks
Add initial support for big endian by always writing the pte
in le32. Note, revisit if hardware capable of doing big endian
fetches.
Signed-off-by: Ben Dooks
---
Cc: Marek Szyprowski
Cc: Joerg Roedel
Cc: Kukjin Kim
Cc: Krzysztof Kozlowski
Cc: io...@lists.linux-foundation.org
From: Vitaly Kuznetsov
Date: Wed, 8 Jun 2016 19:17:41 +0200
> I'm hitting 5 second timeout in rndis_filter_set_rss_param() while setting
> RSS parameters for the device. When this happens we end up returning
> -ETIMEDOUT from the function and rndis_filter_device_add() falls back to
> setting
>
From: Ben Dooks
The exynos low-level debug macros need to be fixed if the system is being
built big endian. Add the necessary endian swaps for accessing the registers
to get output working again
Signed-off-by: Ben Dooks
---
arch/arm/include/debug/samsung.S | 8
1 file changed, 8 inser
From: Ben Dooks
Fix the PMU code endian access code to deal with kernels built for big endian
operation.
Signed-off-by: Ben Dooks
---
arch/arm/mach-exynos/common.h | 4 ++--
arch/arm/mach-exynos/pm.c | 4 ++--
arch/arm/mach-exynos/pm_domains.c | 6 +++---
3 files changed, 7 inserti
From: Ben Dooks
Now the initial fixes have the big-endian code working on EXYNOS, make sure
we explicitly mark our arch as being big endian capable.
Signed-off-by: Ben Dooks
---
arch/arm/mach-exynos/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch
From: Ben Dooks
If the system is built for big endian, then the cpu identificaiton register
will be read in the wrong order. Fix this by using readl_relaxed() on the
register.
Signed-off-by: Ben Dooks
---
arch/arm/plat-samsung/cpu.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
From: Ben Dooks
The __raw IO functions are not endian safe, so use the readl_relaxed
and writel_relaxed versions of these.
Signed-off-by: Ben Dooks
---
CC: Matt Mackall
CC: Krzysztof Kozlowski
CC: linux-cry...@vger.kernel.org
CC: linux-arm-ker...@lists.infradead.org
CC: linux-samsung-...@vger
From: Ben Dooks
If the kernel is built big endian, then using the __raw read and write IO
accessors is not going to work as they end up writing big-endian data to
little-endian IO registers. Fix this by using the readl and writel relaxed
versions which ensure little endian IO.
Signed-off-by: Ben
Fix the serial access code to deal with kernels built for big endian
operation.
Signed-off-by: Matthew Leach
---
CC: Greg Kroah-Hartman
CC: Jiri Slaby
CC: linux-ser...@vger.kernel.org
CC: linux-kernel@vger.kernel.org
---
drivers/tty/serial/samsung.h | 4 ++--
1 file changed, 2 insertions(+), 2
Use the byte-order aware big endian accessors, allowing for kernels
running under big-endian.
Signed-off-by: Matthew Leach
---
CC: Thomas Gleixner
CC: Jason Cooper
CC: Marc Zyngier
CC: Kukjin Kim
CC: Krzysztof Kozlowski
CC: linux-kernel@vger.kernel.org
CC: linux-arm-ker...@lists.infradead.or
On Wed, Jun 08, 2016 at 08:12:34PM +0200, Rafael J. Wysocki wrote:
> On Wed, Jun 8, 2016 at 2:48 PM, Mark Brown wrote:
> > On Thu, Jan 14, 2016 at 02:54:17AM +0100, Rafael J. Wysocki wrote:
> >> + * A side effect of the link creation is re-ordering of dpm_list and the
> >> + * devices_kset list b
For KASAN builds:
- switch SLUB allocator to using stackdepot instead of storing the
allocation/deallocation stacks in the objects;
- define SLAB_RED_ZONE, SLAB_POISON, SLAB_STORE_USER to zero,
effectively disabling these debug features, as they're redundant in
the presence of KASAN;
-
On 08/06/16 17:40, Brian Norris wrote:
On Wed, Jun 08, 2016 at 09:26:46AM -0700, Brian Norris wrote:
With CONFIG_NVMEM, nvmem_cell_read() returns void *. With !CONFIG_NVMEM
it returns char *. Let's make that consistent. Also drop the
incorrect/inconsistent comment about char * above the nvmem_
On Wed, Jun 8, 2016 at 7:23 AM, tip-bot for Lukas Wunner
wrote:
> Commit-ID: 625a99d9bfd038ea492f57308555bf4e607ce591
> Gitweb: http://git.kernel.org/tip/625a99d9bfd038ea492f57308555bf4e607ce591
> Author: Lukas Wunner
> AuthorDate: Sun, 29 May 2016 01:35:28 +0200
...
> ---
> arch/x86/ke
On 06/08/2016 08:15 AM, Brian Starkey wrote:
Hi Laura,
On Mon, Jun 06, 2016 at 11:23:27AM -0700, Laura Abbott wrote:
The ABI for Ion's ioctl interface are a pain to work with. The heap IDs
are a 32-bit non-discoverable namespace that form part of the ABI. There's
no way to determine what ABI ve
On Tue, Jun 07, 2016 at 11:29:02AM +0200, Krzysztof Kozlowski wrote:
> On 06/03/2016 04:02 AM, Rob Herring wrote:
> >> Optional properties:
> >> - reset-gpios : contains a list of GPIO specifiers. The reset GPIOs are
> >> asserted
> >> @@ -16,6 +22,7 @@ Optional properties:
> >>See ../clocks
On Wed, 2016-06-08 at 11:05 +0800, Wanpeng Li wrote:
>
> @@ -681,12 +681,17 @@ static cputime_t vtime_delta(struct task_struct
> *tsk)
> static cputime_t get_vtime_delta(struct task_struct *tsk)
> {
> unsigned long now = READ_ONCE(jiffies);
> - unsigned long delta = now - tsk->vtime_sn
On Tue, Jun 07, 2016 at 05:45:39PM -0700, Ed Swierk wrote:
> + case 0x32041114: /* Atmel 3204 */
> + chip->vendor.timeout_a = TIS_SHORT_TIMEOUT * HZ / 1000;
> + chip->vendor.timeout_b = TIS_LONG_TIMEOUT * HZ / 1000;
> + chip->vendor.timeout_c = TIS_SHORT_TIME
Hi Greg,
Any comment on this?
Gustavo
2016-05-31 Gustavo Padovan :
> From: Gustavo Padovan
>
> Hi,
>
> The following patches do a clean up on the sw_sync inteface. It starts by
> removing struct sync_timeline_ops, which was creating unecessary wrappers
> in the code and the start to
On Mon, Jun 06, 2016 at 08:10:54PM +0200, Corentin LABBE wrote:
> Le 06/06/2016 16:14, Rob Herring a écrit :
> > On Fri, Jun 03, 2016 at 11:56:28AM +0200, LABBE Corentin wrote:
> >> This patch adds documentation for Device-Tree bindings for the
> >> Allwinner sun8i-emac driver.
> >>
> >> Signed-off
On Wed, Jun 08, 2016 at 09:38:33AM +0800, Chris Zhong wrote:
> Hi Rob
>
> On 06/07/2016 09:46 PM, Rob Herring wrote:
> >On Mon, Jun 6, 2016 at 7:33 PM, Chris Zhong wrote:
> >>Hi Rob
> >>
> >>
> >>On 06/06/2016 10:27 PM, Rob Herring wrote:
> >>>On Fri, Jun 03, 2016 at 11:15:08PM +0800, Chris Zhong
On Wed, 8 Jun 2016, Wenyou Yang wrote:
> In order to the save power consumption, as a workaround, suspend
> forcibly the USB PORTA/B/C via set the SUSPEND_A/B/C bits of OHCI
> Interrupt Configuration Register in the SFRs while OHCI USB suspend.
>
> This suspend operation must be done before the U
On Wed, 8 Jun 2016, Stephan Mueller wrote:
Am Dienstag, 7. Juni 2016, 17:28:07 schrieb Mat Martineau:
Hi Mat,
+ used = ctx->used;
+
+ /* convert iovecs of output buffers into scatterlists */
+ while (iov_iter_count(&msg->msg_iter)) {
+ /* make one iovec availa
Sebastian pointed out that .../bindings/reset is usually used for
peripheral reset controllers, whereas .../bindings/power/reset is
used for Board/System reset controllers.
Reported-by: Sebastian Reichel
Signed-off-by: Chris Brand
---
.../devicetree/bindings/{ => power}/reset/brcm,bcm21664-rese
Hi,
[auto build test WARNING on v4.7-rc2]
[cannot apply to next-20160608]
[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/Alexander-Potapenko/mm-kasan-switch-SLUB-to-stackdepot-enable-memory
On Sun, Jun 05, 2016 at 01:24:02AM +0300, Aaro Koskinen wrote:
> Document cavium-pip rx-delay/tx-delay properties. Currently the board
> specific values need to be hardcoded in the platform code, which we
> want to avoid when moving to DT-only booting.
>
> Signed-off-by: Aaro Koskinen
> ---
> Do
On 06/08/2016 08:34 AM, Brian Starkey wrote:
Hi,
I'm finding "usage_id" a bit confusing - there's not a very clear
distinction between usage_id and heap ID.
For instance, ION_IOC_USAGE_CNT claims to return the number of usage
IDs, but seems to return the number of heaps (i.e. number heap IDs, s
Hi,
[auto build test ERROR on v4.7-rc2]
[cannot apply to next-20160608]
[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/Alexander-Potapenko/mm-kasan-switch-SLUB-to-stackdepot-enable-memory
On 6/8/2016 12:12 PM, Mark Rutland wrote:
> On Wed, Jun 08, 2016 at 11:21:16AM -0400, Neil Leeder wrote:
>>
>>
>> On 6/6/2016 05:04 AM, Mark Rutland wrote:
>>> On Fri, Jun 03, 2016 at 05:03:30PM -0400, Neil Leeder wrote:
This adds a new dynamic PMU to the Perf Events framework to program
>>>
On Wed, Jun 08, 2016 at 10:54:25AM -0400, Lyude wrote:
> From: Dennis Wassenberg
>
> Lenovo Thinkpad devices T460, T460s, T460p, T560, X260 use
> HKEY version 0x200 without adaptive keyboard.
>
> HKEY version 0x200 has method MHKA with one parameter value.
> Passing parameter value 1 will get ho
On 06/07/16 22:09, Andy Lutomirski wrote:
> On Tue, Jun 7, 2016 at 4:31 PM, H. Peter Anvin wrote:
>> From: "H. Peter Anvin"
>>
>> The CC_SET() and CC_OUT() macros can be used together to take
>> advantage of the new __GCC_ASM_FLAG_OUTPUTS__ feature in gcc 6+ while
>> remaining backwards compatibl
On Wed, Jun 08, 2016 at 09:34:06AM +0100, Sudeep Holla wrote:
>
>
> On 07/06/16 22:08, Jon Mason wrote:
> >Query the CPU core clock in the device tree to determine the core clock
> >speed.
>
> How do guarantee that it's the current frequency of the CPU ?
I am basing it on the assumption (perhap
On 06/08/16 12:29, H. Peter Anvin wrote:
> On 06/07/16 22:09, Andy Lutomirski wrote:
>> On Tue, Jun 7, 2016 at 4:31 PM, H. Peter Anvin wrote:
>>> From: "H. Peter Anvin"
>>>
>>> The CC_SET() and CC_OUT() macros can be used together to take
>>> advantage of the new __GCC_ASM_FLAG_OUTPUTS__ feature
On Wed, Jun 08, 2016 at 12:34:05PM -0700, H. Peter Anvin wrote:
> (I'm going to assume for now that you meant the whole patch series.)
Same from me:
Reviewed-by: Borislav Petkov
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
From: "H. Peter Anvin"
Use SETC instead of SBB to return the value of CF from assembly. Using
SETcc enables uniformity with other flags-returning pieces of assembly
code.
Signed-off-by: H. Peter Anvin
Reviewed-by: Andy Lutomirski
Reviewed-by: Borislav Petkov
Acked-by: Peter Zijlstra (Intel)
From: "H. Peter Anvin"
The CC_SET() and CC_OUT() macros can be used together to take
advantage of the new __GCC_ASM_FLAG_OUTPUTS__ feature in gcc 6+ while
remaining backwards compatible. CC_SET() generates a SET instruction
on older compilers; CC_OUT() makes sure the output is received in the
co
On Mon, Jun 06, 2016 at 06:11:35PM +0530, Pramod Kumar wrote:
> Change "mdio-parent-bus" from mandatory section to optional
> as it won't be required by integrated MDIO multiplexer
> which has bus selection and mdio transaction generation logic,
> integrated inside.
>
> Signed-off-by: Pramod Kumar
Remove open-coded uses of set instructions to use CC_SET()/CC_OUT() in
arch/x86/boot/boot.h.
Signed-off-by: H. Peter Anvin
Reviewed-by: Andy Lutomirski
Reviewed-by: Borislav Petkov
Acked-by: Peter Zijlstra (Intel)
---
arch/x86/boot/boot.h | 9 +
1 file changed, 5 insertions(+), 4 dele
Use CC_SET()/CC_OUT() and static_cpu_has(). This produces code good
enough to eliminate ad hoc use of alternatives in ,
greatly simplifying the code.
While we are at it, make x86_init_rdrand() compile out completely if
we don't need it.
Signed-off-by: H. Peter Anvin
v2: fix a conflict between
From: "H. Peter Anvin"
Change the GEN_*_RMWcc() macros to use the CC_SET()/CC_OUT() macros
defined in , and disable the use of asm goto if
__GCC_ASM_FLAG_OUTPUTS__ is enabled. This allows gcc to receive the
flags output directly in gcc 6+.
Signed-off-by: H. Peter Anvin
Reviewed-by: Andy Lutomi
On Tue, Jun 07, 2016 at 05:27:29PM +0530, Pramod Kumar wrote:
> Hi Florian,
>
> > -Original Message-
> > From: Florian Fainelli [mailto:f.faine...@gmail.com]
> > Sent: 07 June 2016 00:06
> > To: Pramod Kumar; Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell;
> > Kumar Gala; Catalin Mari
From: "H. Peter Anvin"
Remove open-coded uses of set instructions to use CC_SET()/CC_OUT() in
.
Signed-off-by: H. Peter Anvin
Reviewed-by: Andy Lutomirski
Reviewed-by: Borislav Petkov
Acked-by: Peter Zijlstra (Intel)
---
arch/x86/include/asm/rwsem.h | 4 ++--
1 file changed, 2 insertions(+)
From: "H. Peter Anvin"
Change the lexical defintion of the GEN_*_RMWcc() macros to not take
the condition code as a quoted string. This will help support
changing them to use the new __GCC_ASM_FLAG_OUTPUTS__ feature in a
subsequent patch.
Signed-off-by: H. Peter Anvin
Reviewed-by: Andy Lutomir
From: "H. Peter Anvin"
Remove open-coded uses of set instructions to use CC_SET()/CC_OUT() in
.
Signed-off-by: H. Peter Anvin
Reviewed-by: Andy Lutomirski
Reviewed-by: Borislav Petkov
Acked-by: Peter Zijlstra (Intel)
---
arch/x86/include/asm/bitops.h | 16
1 file changed, 8
On 06/06/2016 06:49 PM, Trond Myklebust wrote:
> On 6/6/16, 18:58, "Rob Landley" wrote:
>
>>From: Rob Landley
>>
>>The kernel has string parsing code for NFS mount options, but it seems
>>to have bit-rotted over the years, so toybox mount needs the following
>>patch to be able to mount nfs. With
From: "H. Peter Anvin"
Remove open-coded uses of set instructions to use CC_SET()/CC_OUT() in
.
Signed-off-by: H. Peter Anvin
Reviewed-by: Andy Lutomirski
Reviewed-by: Borislav Petkov
Acked-by: Peter Zijlstra (Intel)
---
arch/x86/include/asm/percpu.h | 9 +
1 file changed, 5 inserti
From: "H. Peter Anvin"
The gcc people have confirmed that using "bool" when combined with
inline assembly always is treated as a byte-sized operand that can be
assumed to be 0 or 1, which is exactly what the SET instruction
emits. Change the output types and intermediate variables of as many
ope
On di, 2016-06-07 at 21:16 +0800, Yingjoe Chen wrote:
> On Mon, 2016-06-06 at 20:10 +0100, Andy Whitcroft wrote:
> > > Is it obvious that a Kconfig has "default n" ?
> > > This seems to work, but is this useful?
>
> While sending patch for upstream, I saw maintainers request it to be
> removed. So
On Mon, Jun 06, 2016 at 06:11:36PM +0530, Pramod Kumar wrote:
> Add DT binding doc for Broadcom MDIO bus multiplexer driver.
>
> Reviewed-by: Andrew Lunn
> Signed-off-by: Pramod Kumar
> ---
> .../bindings/net/brcm,mdio-mux-iproc.txt | 59
> ++
> 1 file changed, 59
From: "H. Peter Anvin"
gcc 6+ has the ability to let flags (actually, conditions, which are
specific combinations of flags) to be used directly as asm() outputs.
The syntax for that is "=@cc" where is the same set of
letters that would be used in a j or set instruction
(e.g. "=@ccz" to test the
From: Nicholas Bellinger
If a command with a Simple task attribute is failed due to a Unit
Attention, then a subsequent command with an Ordered task attribute
will hang forever. The reason for this is that the Unit Attention
status is checked for in target_setup_cmd_from_cdb, before the call
to
On Wed, Jun 08, 2016 at 09:11:39PM +0300, Roman Kagan wrote:
> Gradual removal of excessive barriers in pvclock reading functions
> (commits 502dfeff239e8313bfbe906ca0a1a6827ac8481b,
> a3eb97bd80134ba07864ca00747466c02118aca1) ended up removing too much:
> although rdtsc is now orderd WRT other loa
Gradual removal of excessive barriers in pvclock reading functions
(commits 502dfeff239e8313bfbe906ca0a1a6827ac8481b,
a3eb97bd80134ba07864ca00747466c02118aca1) ended up removing too much:
although rdtsc is now orderd WRT other loads, there's no protection
against the compiler reordering the loads o
Commit-ID: 2823d4da5d8a0c222747b24eceb65f5b30717d02
Gitweb: http://git.kernel.org/tip/2823d4da5d8a0c222747b24eceb65f5b30717d02
Author: H. Peter Anvin
AuthorDate: Wed, 8 Jun 2016 12:38:37 -0700
Committer: H. Peter Anvin
CommitDate: Wed, 8 Jun 2016 12:41:20 -0700
x86, bitops: remove use
Commit-ID: 117780eef7740729e803bdcc0d5f2f48137ea8e3
Gitweb: http://git.kernel.org/tip/117780eef7740729e803bdcc0d5f2f48137ea8e3
Author: H. Peter Anvin
AuthorDate: Wed, 8 Jun 2016 12:38:38 -0700
Committer: H. Peter Anvin
CommitDate: Wed, 8 Jun 2016 12:41:20 -0700
x86, asm: use bool for b
Commit-ID: 18fe58229d80c7f4f138a07e84ba608e1ebd232b
Gitweb: http://git.kernel.org/tip/18fe58229d80c7f4f138a07e84ba608e1ebd232b
Author: H. Peter Anvin
AuthorDate: Wed, 8 Jun 2016 12:38:39 -0700
Committer: H. Peter Anvin
CommitDate: Wed, 8 Jun 2016 12:41:20 -0700
x86, asm: change the GEN
Commit-ID: ff3554b409b82d349f71e9d7082648b7b0a1a5bb
Gitweb: http://git.kernel.org/tip/ff3554b409b82d349f71e9d7082648b7b0a1a5bb
Author: H. Peter Anvin
AuthorDate: Wed, 8 Jun 2016 12:38:40 -0700
Committer: H. Peter Anvin
CommitDate: Wed, 8 Jun 2016 12:41:20 -0700
x86, asm: define CC_SET(
On Mon, Jun 06, 2016 at 03:17:56PM -0500, Bjorn Helgaas wrote:
> The convention in these files is to use lowercase for "0x" prefixes and for
> the hex constants themselves, but a few changes didn't follow that
> convention, which makes the file annoying to read.
>
> Use lowercase consistently for
Commit-ID: ba741e356c49bfce0adcfa851080666870867f6b
Gitweb: http://git.kernel.org/tip/ba741e356c49bfce0adcfa851080666870867f6b
Author: H. Peter Anvin
AuthorDate: Wed, 8 Jun 2016 12:38:41 -0700
Committer: H. Peter Anvin
CommitDate: Wed, 8 Jun 2016 12:41:20 -0700
x86, asm: change GEN_*_R
Commit-ID: 64be6d36f5674f3424d1901772f76e21874f4954
Gitweb: http://git.kernel.org/tip/64be6d36f5674f3424d1901772f76e21874f4954
Author: H. Peter Anvin
AuthorDate: Wed, 8 Jun 2016 12:38:43 -0700
Committer: H. Peter Anvin
CommitDate: Wed, 8 Jun 2016 12:41:20 -0700
x86, asm: Use CC_SET()/C
401 - 500 of 1227 matches
Mail list logo