Hi Markus,
On 10/27/2017 10:30 PM, SF Markus Elfring wrote:
From: Markus Elfring
Date: Fri, 27 Oct 2017 22:22:24 +0200
* Add a jump target so that a bit of exception handling can be better
reused at the end of this function.
* Adjust two condition checks.
This issue was detected by using
_rtl92e_init can fail here, we must set priv->irq as 0 after free_irq.
Signed-off-by: Arvind Yadav
---
drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
ind
For this matching, switch expression uses fault type which is
not {I,D}FSC value, but the case expression uses {I,D}FSC,
they are incompatible. So change the switch expression to
use {I,D}FSC.
Signed-off-by: Dongjiu Geng
---
arch/arm/include/asm/kvm_emulate.h | 2 +-
arch/arm64/include/asm/kvm
Hi, all.
On 2017/10/20 0:53, Will Deacon wrote:
I've not had any more feedback on this and the testing results are very
encouraging so I'd like to merge it for 4.15. However, it might make more
sense for the whole thing to go via -tip instead.
Ingo, Peter: what do you prefer?
Will
Will Deac
Commit:
9043442b43b1 ("locking/paravirt: Use new static key for controlling
call of virt_spin_lock()")
set the static virt_spin_lock_key to a value before jump_label_init()
has been called, which will result in a WARN().
Move the native_pv_lock_init() into native_smp_prepare_cpus(), and set
Hi, Dan
On 2017/10/27 19:52, Dan Carpenter wrote:
> On Fri, Oct 27, 2017 at 05:32:42PM +0800, Yunsheng Lin wrote:
>> Hi, Dan
>>
>> On 2017/10/27 14:40, Dan Carpenter wrote:
>>> There are several places where we accidentally return success when
>>> kcalloc() fails.
>>>
>>> Fixes: fcb39f6c10b2 ("qed
On 2017/10/28 2:28, Marc Zyngier wrote:
>> kvm_vcpu_trap_get_fault_type() will clear the low two bits to zero. So
>> I use FSC_SEA_TTW represent "Synchronous external abort on translation
>> table walk"
> I understand that, and I certainly not keen on adding another "fault
> type" for this.
Ok,
DEAR FRIEND.
I am MR ADNANA MUHAMMAD, Manager Audit/Accounting Department BANK OF AFRICA
B.O.A
Ouagadougou Burkina-Faso, with the business proposal deal of 19. 3 million US
Dollars to
transfer into your account, if you are interested contact me for more details,
with my
email address:
adnana
On 10/28/2017 03:50 AM, Paul E. McKenney wrote:
On Fri, Oct 27, 2017 at 10:15:04PM +0530, Neeraj Upadhyay wrote:
On 10/27/2017 05:56 PM, Paul E. McKenney wrote:
On Fri, Oct 27, 2017 at 02:23:07PM +0530, Neeraj Upadhyay wrote:
Hi,
One query regarding srcu_funnel_exp_start() function in
kernel/
On Fri, Oct 27, 2017 at 10:53 PM, Hannes Reinecke wrote:
> On 10/27/2017 04:02 PM, Gavin Guo wrote:
>> Hi Hannes,
>>
>> Thank you for looking into the issue. If there is anything I can help
>> to test the patch? I appreciate your help. Thank you.
>>
> If you had checked linux-scsi you would have f
On Fri, Oct 27, 2017 at 6:15 PM, Steven Rostedt wrote:
>
> I'll write up a fix on the plane home on Saturday. Expect something by
> Sunday.
I'll change the "bool" to "int" in the meanwhile, getting rid of the warning.
That may be what you meant in the first place.
Linus
Hi ted,
On 2017/10/26 23:04, Theodore Ts'o wrote:
> On Thu, Oct 26, 2017 at 04:25:15PM +0800, Chen Feng wrote:
>>
>>
>> On 2017/10/25 16:49, Theodore Ts'o wrote:
>>> Other people who have sent me fuzzer test reproducers are able to
>>> reproduce syzkaller logs into a simple C program. Can you exp
When queue_work() is used in irq (not in task context), there is
a potential case that trigger NULL pointer dereference.
worker_thread()
|-spin_lock_irq()
|-process_one_work()
|-worker->current_pwq = pwq
|-spin_unlock_
/commits/Fan-Du/proc-mm-export-PTE-sizes-directly-in-smaps/20171027-233355
config: i386-randconfig-b0-10280854 (attached as .config)
compiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
Note: it may well be a FALSE
On Sat, 28 Oct 2017, I wrote:
> > Any particular reason why you didn't use pr_debug() here? I'm guessing
> > it's because this is not a known pointer value?
> >
>
> It's because the call to psc_debug_dump() is already conditional on
> #ifdef DEBUG_PSC.
>
> Having the printk conditional on bot
On 2017/10/27 19:39, Chao Yu wrote:
> On 2017/10/27 19:32, Jaegeuk Kim wrote:
>> On 10/27, Chao Yu wrote:
>>> On 2017/10/27 18:56, Jaegeuk Kim wrote:
On 10/27, Chao Yu wrote:
> On 2017/10/26 22:05, Jaegeuk Kim wrote:
>> On 10/26, Chao Yu wrote:
>>> On 2017/10/26 19:52, Jaegeuk Kim
Use tabs (not spaces) for indentation.
Signed-off-by: Baoquan He
---
include/acpi/actbl1.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
index 6b8714a428b6..d8a4fc066abe 100644
--- a/include/acpi/actbl1.h
+++ b/include/acpi/
Hey.
Perhaps someone can help me with this.
I got a brand new notebook from the university, a Fujitsu U757[0][1],
with a 2 core Kaby Lake (i7-7600U) and 32GB RAM.
It runs Debian unstable, that is as of now kernel 4.13.4.
Even at pretty simple tasks (just some VM running) and a bit more, the
CPU
register_page_bootmem_memmap()'s 3rd 'size' parameter is named
in a somewhat misleading fashion - rename it to 'nr_pages' which
makes the units of it much clearer.
Meanwhile rename the existing local variable 'nr_pages' to
'nr_pmd_pages', a more expressive name, to avoid conflict with
new function
On 2017/10/27 22:15, Peter Zijlstra wrote:
On Fri, Oct 27, 2017 at 02:33:48PM +0200, Borislav Petkov wrote:
On Fri, Oct 27, 2017 at 07:42:45PM +0800, zhouchengming wrote:
This is a real bug happened on one of our machines, below is the calltrace.
We can see the trigger is at alternatives_text_r
On Fri, 27 Oct 2017 16:59:49 -0700
Linus Torvalds wrote:
> I'm back home, which means I do full builds, and that in turn shows
> that this was garbage.
Unfortunately, I'm still in Prague, but I just finished my marathon of
presentations.
>
> On Tue, Oct 17, 2017 at 2:21 PM, Steven Rostedt wro
On Thu, Oct 26, 2017 at 4:26 AM, Andy Lutomirski wrote:
> On x86_64, we can easily calculate sp0 when needed instead of
> storing it in thread_struct.
>
> On x86_32, a similar cleanup would be possible, but it would require
> cleaning up the vm86 code first, and that can wait for a later
> cleanup
On 10/27/2017 3:45 AM, Arun Kumar Neelakantam wrote:
The "intent_req_comp" variable is used without initialization which
results in NULL pointer derefernce in qcom_glink_request_intent().
Typo on dereference.
Thanks,
Chris
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
On 10/27/2017 04:19 PM, Hal Rosenstock wrote:
On 10/27/2017 7:04 PM, Ghazale Hosseinabadi wrote:
On 10/27/2017 03:52 PM, Hal Rosenstock wrote:
On 10/27/2017 5:54 PM, Ghazale Hosseinabadi wrote:
When running ibstat (if transceiver is not connected in adapter):
ibpanic: [7851] main: stat of
hi Martin ,
On 2017/10/25 20:36, Martin K. Petersen wrote:
>
> Yisheng,
>
>> I have get many kmemleak reports just similar to commit 70c54e210ee9
>> (scsi: megaraid_sas: fix memleak in megasas_alloc_cmdlist_fusion)
>> on v4.14-rc6, however it seems have a different stroy:
>
> Do you still see l
On 10/27/2017 05:17 PM, Hal Rosenstock wrote:
On 10/27/2017 7:19 PM, Hal Rosenstock wrote:
On 10/27/2017 7:04 PM, Ghazale Hosseinabadi wrote:
On 10/27/2017 03:52 PM, Hal Rosenstock wrote:
On 10/27/2017 5:54 PM, Ghazale Hosseinabadi wrote:
When running ibstat (if transceiver is not connecte
On 10/27/2017 7:19 PM, Hal Rosenstock wrote:
> On 10/27/2017 7:04 PM, Ghazale Hosseinabadi wrote:
>>
>>
>> On 10/27/2017 03:52 PM, Hal Rosenstock wrote:
>>> On 10/27/2017 5:54 PM, Ghazale Hosseinabadi wrote:
When running ibstat (if transceiver is not connected in adapter):
ibpanic: [
While studying why it takes 0.06s to bring up every cpu, which accounts to
15.36s on 256 cpu system, I determined that it is all because of
calibrate_delay() call.
After, studying code further I found that there are bugs in the current
code:
If tsc is enabled, and cpu has TSC_CONSTANT feature, an
Hi Sinan,
I'm not sure I understand all your suggestions below.
On Thu, Oct 26, 2017 at 11:16:55AM -0400, Sinan Kaya wrote:
> On 10/26/2017 9:28 AM, Jeffy Chen wrote:
> > drivers/pci/Makefile | 2 +-
> > drivers/pci/pci-of.c | 136
> > +++
> > 2
On Fri, Oct 27, 2017 at 05:59:23PM -0500, Brijesh Singh wrote:
> Yes it is typo. PEK_GEN wants FW to be in INIT state hence someone need
> to transition from UNINIT -> INIT.
Which, once you've done it once on driver init, is there.
> That's what I am doing except FACTORY_RESET.
Well, not really.
I'm back home, which means I do full builds, and that in turn shows
that this was garbage.
On Tue, Oct 17, 2017 at 2:21 PM, Steven Rostedt wrote:
>
> Please pull the latest trace-v4.14-rc3 tree, which can be found at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
> t
On Wed, Oct 25, 2017 at 9:55 PM, Masahiro Yamada
wrote:
> If you run coccicheck with V=1 and COCCI=, you will see a strange
> path to the semantic patch file. For example, run the following:
>
> $ make V=1 COCCI=scripts/coccinelle/free/kfree.cocci coccicheck
> [ snip ]
> The semantic patch tha
Computing a linear address involves several steps. The first step is to
compute the effective address. This involves determining the addressing
mode in use and perform arithmetic operations on the operands. Plus, each
addressing mode has special cases that must be handled.
Once the effective addre
It is possible to utilize 32-bit address encodings in virtual-8086 mode via
an address override instruction prefix. However, the range of the
effective address is still limited to [0x-0x]. In such a case, return
error.
Also, linear addresses in virtual-8086 mode are limited to 20 bits. Enforce
User-Mode Instruction Prevention is a security feature present in new
Intel processors that, when set, prevents the execution of a subset of
instructions if such instructions are executed in user mode (CPL > 0).
Attempting to execute such instructions causes a general protection
exception.
The sub
The function insn_get_addr_ref() is capable of handling only 64-bit
addresses. A previous commit introduced a function to handle 32-bit
addresses. Invoke these two functions from a third wrapper function that
calls the appropriate routine based on the address size specified in the
instruction struc
Tasks running in virtual-8086 mode, in protected mode with code segment
descriptors that specify 16-bit default address sizes via the
D bit, or via an address override prefix will use 16-bit addressing form
encodings as described in the Intel 64 and IA-32 Architecture Software
Developer's Manual Vo
32-bit and 64-bit address encodings are identical. Thus, the same logic
could be used to resolve the effective address. However, there are two key
differences: address size and enforcement of segment limits.
If running a 32-bit process on a 64-bit kernel, it is best to perform
the address calculat
User-Mode Instruction Prevention (UMIP) is enabled by setting/clearing a
bit in %cr4.
It makes sense to enable UMIP at some point while booting, before user
spaces come up. Like SMAP and SMEP, is not critical to have it enabled
very early during boot. This is because UMIP is relevant only when the
The feature User-Mode Instruction Prevention present in recent Intel
processor prevents a group of instructions (sgdt, sidt, sldt, smsw, and
str) from being executed with CPL > 0. Otherwise, a general protection
fault is issued.
Rather than relaying to the user space the general protection fault c
Not all sensors may be used on a platform. So there could be
some missing thermal zones in the Device Tree. However, the
the driver now errors out whenever a sensor fails to register
the thermal zone.
Since the driver could live with other sensors, this change
allows other sensors to continue the
fixup_umip_exception() will be called from do_general_protection(). If the
former returns false, the latter will issue a SIGSEGV with SEND_SIG_PRIV.
However, when emulation is successful but the emulated result cannot be
copied to user space memory, it is more accurate to issue a SIGSEGV with
SEGV_
In protected mode, it is common to want to obtain the limit of a segment
along with its base address. This is useful, for instance, to verify that
an effective address lies within a segment before computing a linear
address.
Cc: Dave Hansen
Cc: Adam Buchbinder
Cc: Colin Ian King
Cc: Lorenzo Sto
The instructions str and sldt are not recognized when running on virtual-
8086 mode and generate an invalid operand exception. These two
instructions are protected by the Intel User-Mode Instruction Prevention
(UMIP) security feature. In protected mode, if UMIP is enabled, these
instructions genera
Certain user space programs that run on virtual-8086 mode may utilize
instructions protected by the User-Mode Instruction Prevention (UMIP)
security feature present in new Intel processors: SGDT, SIDT and SMSW. In
such a case, a general protection fault is issued if UMIP is enabled. When
such a fau
If the User-Mode Instruction Prevention CPU feature is available and
enabled, a general protection fault will be issued if the instructions
sgdt, sldt, sidt, str or smsw are executed from user-mode context
(CPL > 0). If the fault was caused by any of the instructions protected
by UMIP, fixup_umip_e
This the 10th revision of a patchset to enable User-Mode Instruction
Prevention (UMIP) in Linux. This is the second part of two series. Instead
of submitting a single huge series. It would be better to split the series
for easier review and handling. The first part of the series can be found
here [
Hi Jeffy,
On Fri, Oct 27, 2017 at 03:26:11PM +0800, Jeffy Chen wrote:
> Move acpi wakeup code to pci core as pci_set_wakeup(), so that other
> platforms could reuse it.
I think you need to double check your refactoring. I believe you may
have changed some behavior here.
> Also add .setup_dev() /
drop us a note to
> help improve the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Ingo-Molnar/x86-mm-64-Rename-the-register_page_bootmem_memmap-size-parameter-to-nr_pages/20171027-181456
> config: x86_64-kexec (attached as .config)
> compiler: gcc-6 (Debian
Add a routine to try to help the user determine how they're
supposed to use the SPE driver.
Example #1: Trouble setting sample rate:
$ sudo ./perf record -e arm_spe_0/ts_enable=1,pa_enable=1/ -F 1 true
Error:
required sample period missing. Use '--count='
$ ./perf record -e arm_spe_0/ts_enable=
'perf record' and 'perf report --dump-raw-trace' supported in this
release.
Example usage:
$ ./perf record -e arm_spe_0/ts_enable=1,pa_enable=1/ \
dd if=/dev/zero of=/dev/null count=1
perf report --dump-raw-trace
Note that the perf.data file is portable, so the report can be
On Sat, 2017-10-28 at 00:19 +0200, Alex Williamson wrote:
> On Fri, 27 Oct 2017 21:50:43 +
> "Wang, Liang-min" wrote:
>
> > > -Original Message-
> > > From: Alex Williamson [mailto:alex.william...@redhat.com]
> > > Sent: Tuesday, October 24, 2017 6:07 PM
> > > To: Wang, Liang-min
> >
Hi Andi,
On Tue, Sep 26, 2017 at 03:31:35PM +0900, Andi Shyti wrote:
> The S6SY761 touchscreen is a capicitive multi-touch controller
> for mobile use. It's connected with i2c at the address 0x48.
>
> This commit provides a basic version of the driver which can
> handle only initialization, touch
On 10/27/2017 7:04 PM, Ghazale Hosseinabadi wrote:
>
>
> On 10/27/2017 03:52 PM, Hal Rosenstock wrote:
>> On 10/27/2017 5:54 PM, Ghazale Hosseinabadi wrote:
>>> When running ibstat (if transceiver is not connected in adapter):
>>>
>>> ibpanic: [7851] main: stat of IB device 'mlx5_1' failed: Inval
Hi Jeffy,
On Fri, Oct 27, 2017 at 03:26:12PM +0800, Jeffy Chen wrote:
> Add pci-of.c to handle the PCIe WAKE# interrupt.
>
> Also use the dedicated wakeirq infrastructure to simplify it.
>
> Signed-off-by: Jeffy Chen
> ---
>
> Changes in v10:
> Use device_set_wakeup_capable() instead of device
On 10/27/2017 03:52 PM, Hal Rosenstock wrote:
On 10/27/2017 5:54 PM, Ghazale Hosseinabadi wrote:
When running ibstat (if transceiver is not connected in adapter):
ibpanic: [7851] main: stat of IB device 'mlx5_1' failed: Invalid argument
Any output before that ?
no, It only prints this line.
On 10/27/17 4:49 PM, Borislav Petkov wrote:
> On Fri, Oct 27, 2017 at 04:28:31PM -0500, Brijesh Singh wrote:
>> This will fail because PEK_GEN require the platform in INIT state and
>> nobody has done the state transition from INIT -> UINIT.
> Huh, FW is in INIT state and PEK_GEN wants it to be i
On 10/27/2017 5:54 PM, Ghazale Hosseinabadi wrote:
> When running ibstat (if transceiver is not connected in adapter):
>
> ibpanic: [7851] main: stat of IB device 'mlx5_1' failed: Invalid argument
Any output before that ? I'm trying to understand how far it gets. It
looks to me that empty rate fi
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva
---
drivers/usb/typec/tps6598x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/typec/tps6598x.c b/drivers/usb/typec/tps6598x.c
index 8
On Fri, Oct 27, 2017 at 04:52:30PM +0100, Colin King wrote:
> From: Colin Ian King
>
> The pointer 'input' is being initialized with ts->ts_input and this
> value is not being read as it is updated a few lines later with the
> return value from the call to devm_input_allocate_device. Remove the
>
On Fri, 27 Oct 2017, Kars de Jong wrote:
> 2017-10-27 4:45 GMT+02:00 Finn Thain :
> > Log message fragments used to be printed on one line but now get split
> > up. Fix this. Also, suppress log spam that merely prints known pointer
> > values.
> >
> > Tested-by: Stan Johnson
> > Signed-off-by:
On 10/27/2017 01:49 PM, Juergen Gross wrote:
Physical addresses on processors supporting 5 level paging can be up to
52 bits wide. For a Xen pv guest running on such a machine those
physical addresses have to be supported in order to be able to use any
memory on the machine even if the guest it
From: Rafael J. Wysocki
Replace the PCI-specific flag PCI_DEV_FLAGS_NEEDS_RESUME with the
PM core's DPM_FLAG_NEVER_SKIP one everywhere and drop it.
Signed-off-by: Rafael J. Wysocki
Acked-by: Greg Kroah-Hartman
Acked-by: Bjorn Helgaas
Reviewed-by: Ulf Hansson
---
-> v2: No changes.
---
dri
From: Rafael J. Wysocki
Define and document a SMART_SUSPEND flag to instruct bus types and PM
domains that the system suspend callbacks provided by the driver can
cope with runtime-suspended devices, so from the driver's perspective
it should be safe to leave devices in runtime suspend during sys
From: Rafael J. Wysocki
The motivation for this change is to provide a way to work around
a problem with the direct-complete mechanism used for avoiding
system suspend/resume handling for devices in runtime suspend.
The problem is that some middle layer code (the PCI bus type and
the ACPI PM dom
Hi All,
The following part of the original cover letter still applies:
On Monday, October 16, 2017 3:12:35 AM CEST Rafael J. Wysocki wrote:
>
> This work was triggered by attempts to fix and optimize PM in the
> i2c-designware-platdev driver that ended up with adding a couple of
> flags to the d
Ever since "random: kill dead extract_state struct" [1], the
dont_count_entropy member of struct timer_rand_state has been
effectively unused. Since it hasn't found a new use in 12 years, it's
probably safe to finally kill it.
[1] Pre-git,
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/hist
From: Rafael J. Wysocki
The only user of non-empty pcibios_pm_ops is s390 and it only uses
"noirq" callbacks, so drop the invocations of the other pcibios_pm_ops
callbacks from the PCI PM code.
That will allow subsequent changes to be somewhat simpler.
Signed-off-by: Rafael J. Wysocki
Acked-by
From: Rafael J. Wysocki
Make the PCI bus type take DPM_FLAG_SMART_SUSPEND into account in its
system-wide PM callbacks and make sure that all code that should not
run in parallel with pci_pm_runtime_resume() is executed in the "late"
phases of system suspend, freeze and poweroff transitions.
[No
From: Rafael J. Wysocki
Make the ACPI PM domain take DPM_FLAG_SMART_SUSPEND into account in
its system suspend callbacks.
[Note that the pm_runtime_suspended() check in acpi_dev_needs_resume()
is an optimization, because if is not passed, all of the subsequent
checks may be skipped and some of t
> -Original Message-
> From: Alex Williamson [mailto:alex.william...@redhat.com]
> Sent: Friday, October 27, 2017 6:19 PM
> To: Wang, Liang-min
> Cc: Kirsher, Jeffrey T ; k...@vger.kernel.org;
> linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;
> bhelg...@google.com; Duyck, Alexan
Add a case for CLOCK_BOOTTIME as it is popular for measuring
relative time on systems expected to suspend() or hibernate().
Signed-off-by: Mark Salyzyn
Cc: James Morse
Cc: Russell King
Cc: Catalin Marinas
Cc: Will Deacon
Cc: Andy Lutomirski
Cc: Dmitry Safonov
Cc: John Stultz
Cc: Mark Rutla
If ARCH_PROVIDES_TIMER is not defined, do not expose gettimeofday.
libc will default directly to syscall. Also ifdef clock_gettime
switch cases and stubs if not supported and other unused components.
Signed-off-by: Mark Salyzyn
Cc: James Morse
Cc: Russell King
Cc: Catalin Marinas
Cc: Will Dea
Take an effort represented in the previous 8 patches to recode the
arm64 vdso code from assembler to C previously submitted by
Andrew Pinski , rework it for use in both arm and
arm64, overlapping any optimizations for each architecture.
apin...@cavium.com makes the following claims in the original
Dear RT folks!
I'm pleased to announce the v4.13.10-rt3 patch set.
Changes since v4.13.10-rt2:
- A dcache related live lock could occur. The writer could get
preempted within the critical section and the reader would spin to
see the update completed. This update would never complete i
Declare arch/arm/vdso/vgettimeofday.c to be a candidate for a global
implementation of the vdso timer calls. The hope is that new
architectures can take advantage of the current unification of
arm and arm64 implementations.
We urge future efforts to merge their implementations into the
global vge
Make sure kasan and ubsan profiling, and kcov instrumentation,
is turned off for VDSO code.
Signed-off-by: Mark Salyzyn
Cc: James Morse
Cc: Russell King
Cc: Catalin Marinas
Cc: Will Deacon
Cc: Andy Lutomirski
Cc: Dmitry Safonov
Cc: John Stultz
Cc: Mark Rutland
Cc: Laura Abbott
Cc: Kees C
Add a case for CLOCK_MONOTONIC_RAW to match up with support that
is available in arm64's vdso.
Signed-off-by: Mark Salyzyn
Cc: James Morse
Cc: Russell King
Cc: Catalin Marinas
Cc: Will Deacon
Cc: Andy Lutomirski
Cc: Dmitry Safonov
Cc: John Stultz
Cc: Mark Rutland
Cc: Laura Abbott
Cc: Kee
Add clock_getres vdso support to match up with existing support in
the arcm64's vdso.
Signed-off-by: Mark Salyzyn
Cc: James Morse
Cc: Russell King
Cc: Catalin Marinas
Cc: Will Deacon
Cc: Andy Lutomirski
Cc: Dmitry Safonov
Cc: John Stultz
Cc: Mark Rutland
Cc: Laura Abbott
Cc: Kees Cook
C
In variable timer reading loops, pick up just the values until all
are synchronized, then outside of loop pick up cntvct and perform
calculations to determine final offset, shifted and multiplied
output value.
This replaces get_ns with get_clock_shifted_nsec as cntvct reader.
Signed-off-by: Mark
Ensure monotonic and realtime are inline, small price to pay for
high volume common request.
Signed-off-by: Mark Salyzyn
Cc: James Morse
Cc: Russell King
Cc: Catalin Marinas
Cc: Will Deacon
Cc: Andy Lutomirski
Cc: Dmitry Safonov
Cc: John Stultz
Cc: Mark Rutland
Cc: Laura Abbott
Cc: Kees
Move compiler-specific code to a local compiler.h file. CONFIG_AEABI
dependency check. System call fallback functions standardized into
a DEFINE_FALLBACK macro. Accept that __arch_counter_get_cntvct()
is the API for aarch64. Deal with unresolved references emitted by
GCC. Optimize handling of fallb
Rename seq_count to tb_seq_count. Rename tk_is_cntvct to use_syscall.
Rename cs_mult to cs_mono_mult. All to align with the variables in the
arm64 vdso datapage. Rework vdso_read_begin() and vdso_read_retry()
functions to reflect modern access patterns for tb_seq_count field.
Update copyright mess
Define the prototype for __get_datapage() in local datapage.h header.
Rename all vdata variable that point to the datapage shortened to vd
to relect a consistent and concise style. Make sure that all
references to the datapage in vdso operations are readonly (const).
Make sure datapage is first par
Take an effort to recode the arm64 vdso code from assembler to C
previously submitted by Andrew Pinski , rework
it for use in both arm and arm64, overlapping any optimizations
for each architecture. But instead of landing it in arm64, land the
result into lib/vdso and unify both implementations to
On Fri, 27 Oct 2017, Kars de Jong wrote:
> 2017-10-27 4:45 GMT+02:00 Finn Thain :
>
> > macintosh_config->via_type is meaningless on Mac IIfx (i.e. the only
> > model with OSS chip), so skip the via_type switch statement.
> >
> > Call oss_init() before via_init() because it is more important and
On Fri, Oct 27, 2017 at 10:15:04PM +0530, Neeraj Upadhyay wrote:
> On 10/27/2017 05:56 PM, Paul E. McKenney wrote:
> >On Fri, Oct 27, 2017 at 02:23:07PM +0530, Neeraj Upadhyay wrote:
> >>Hi,
> >>
> >>One query regarding srcu_funnel_exp_start() function in
> >>kernel/rcu/srcutree.c.
> >>
> >>static
Help identify to the user the event with the unsupported sampling
error. Also provide an alternative action.
BEFORE:
$ sudo ./oldperf record -e
armv8_pmuv3/mem_access/,ccn/cycles/,armv8_pmuv3/l2d_cache/ true
Error:
PMU Hardware doesn't support sampling/overflow-interrupts.
AFTER:
$ sudo ./new
Togle -> Toggle, lenght -> length.
Signed-off-by: Kim Phillips
---
tools/perf/builtin-c2c.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c
index bb1ee22bd221..651782d98b5d 100644
--- a/tools/perf/builtin-c2c.c
+++ b
On Fri, 27 Oct 2017 21:50:43 +
"Wang, Liang-min" wrote:
> > -Original Message-
> > From: Alex Williamson [mailto:alex.william...@redhat.com]
> > Sent: Tuesday, October 24, 2017 6:07 PM
> > To: Wang, Liang-min
> > Cc: Kirsher, Jeffrey T ; k...@vger.kernel.org;
> > linux-...@vger.kerne
There is a misprint in error handling of pinctrl_lookup_state(),
where qcom_usb_hsic_phy_power_on() does return instead of goto err_ulpi.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov
---
drivers/phy/qualcomm/phy-qcom-usb-hsic.c | 6 --
1 f
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Notice that in this particular case I replaced "...drop on through"
comments with a proper "fall through" comment on its own line, which
is what GCC is expecting to find.
Signed-off-by: Gu
Hi,
- Original Message -
From: h...@dev.mellanox.co.il
To: pa...@mellanox.com, tbogendoer...@suse.de, mat...@mellanox.com,
leo...@mellanox.com, dledf...@redhat.com, linux-r...@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: ghazale.hosseinab...@oracle.com
Sent: Friday, October 27, 2017
On 10/27/2017 4:53 PM, SF Markus Elfring wrote:
This change adds nothing except code churn.
I guess that the shown change possibility can reduce the object code size
for the affected function.
Do you care for such an detail?
Regards,
Markus
You guess? Well perhaps you should find out for ce
> -Original Message-
> From: Alex Williamson [mailto:alex.william...@redhat.com]
> Sent: Tuesday, October 24, 2017 6:07 PM
> To: Wang, Liang-min
> Cc: Kirsher, Jeffrey T ; k...@vger.kernel.org;
> linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;
> bhelg...@google.com; Duyck, Alexa
On Fri, Oct 27, 2017 at 04:28:31PM -0500, Brijesh Singh wrote:
> This will fail because PEK_GEN require the platform in INIT state and
> nobody has done the state transition from INIT -> UINIT.
Huh, FW is in INIT state and PEK_GEN wants it to be in INIT state. Typo?
Aaanyway, I don't like this wh
On Thu, Oct 26, 2017 at 12:59:55AM -0700, Andy Lutomirski wrote:
> On Tue, Oct 3, 2017 at 8:54 PM, Ricardo Neri
> wrote:
> > fixup_umip_exception() will be called from do_general_protection(). If the
> > former returns false, the latter will issue a SIGSEGV with SEND_SIG_PRIV.
> > However, when em
Den 10/27/2017 23:01, skrev Ywe Cærlyn:
Philosophical requantization of a (atm) theoretical linux distribution:
Excellent Ubuntu, is a Good Linux, with a Minimal Jitter Kernel.
An Available Source Operating System.
Philosophical Lead: Ywe Cærlyn.
Desktop Flavour: Customized Gnome
Finetuned for
Hi Jeffy,
On Fri, Oct 27, 2017 at 03:26:07PM +0800, Jeffy Chen wrote:
> Currently we are considering the first irq as the PCI interrupt pin,
> but a PCI device may have multiple interrupts(e.g. PCIe WAKE# pin).
>
> Only parse the PCI interrupt pin when the irq is unnamed or named as
> "pci".
>
>
On 10/27/2017 4:33 PM, Parav Pandit wrote:
>
>
>> -Original Message-
>> From: Hal Rosenstock [mailto:h...@dev.mellanox.co.il]
>> Sent: Friday, October 27, 2017 3:19 PM
>> To: Parav Pandit ; Thomas Bogendoerfer
>> ; Matan Barak ; Leon
>> Romanovsky ; Doug Ledford ;
>> linux-r...@vger.kerne
1 - 100 of 680 matches
Mail list logo