Re: [PATCH V1 3/3] x86, bm: Add documentation on Intel Branch Monitoring

2017-11-11 Thread Randy Dunlap
On 11/11/17 13:20, Megha Dey wrote: > This patch adds the Documentation/x86/intel_bm.txt file with some > information about Intel Branch monitoring. > +4. Window count select: /sys/devices/intel-bm/window_cnt_sel > + Possible values are: > + ‘00 = instructions retired > + ‘01 = branches

[PATCH v3 4/6] PM / core: Add helpers for subsystem callback selection

2017-11-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add helper routines to find and return a suitable subsystem callback during the "noirq" phases of system suspend/resume (or analogous) transitions as well as during the "late" phase of system suspend and the "early" phase of system resume (or

[PATCH v3 3/6] ACPI / PM: Support for LEAVE_SUSPENDED driver flag in ACPI PM domain

2017-11-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add support for DPM_FLAG_LEAVE_SUSPENDED to the ACPI PM domain by making it (a) set the power.may_skip_resume status bit for devices that, from its perspective, may be left in suspend after system wakeup from sleep and (b) return early from

[PATCH v3 6/6] PM / core: DPM_FLAG_SMART_SUSPEND optimization

2017-11-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the PM core avoid invoking the "late" and "noirq" system-wide suspend (or analogous) callbacks for devices that are in runtime suspend during the corresponding phases of system-wide suspend (or analogous) transitions. The underlying

[PATCH v3 5/6] PM / core: Direct handling of DPM_FLAG_LEAVE_SUSPENDED

2017-11-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the PM core handle DPM_FLAG_LEAVE_SUSPENDED directly for devices whose "noirq", "late" and "early" driver callbacks are invoked directly by it. Namely, make it skip all of the system-wide resume callbacks for such devices with

[PATCH v3 1/6] PM / core: Add LEAVE_SUSPENDED driver flag

2017-11-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Define and document a new driver flag, DPM_FLAG_LEAVE_SUSPENDED, to instruct the PM core and middle-layer (bus type, PM domain, etc.) code that it is desirable to leave the device in runtime suspend after system-wide transitions to the working

[PATCH v3 2/6] PCI / PM: Support for LEAVE_SUSPENDED driver flag

2017-11-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add support for DPM_FLAG_LEAVE_SUSPENDED to the PCI bus type by making it (a) set the power.may_skip_resume status bit for devices that, from its perspective, may be left in suspend after system wakeup from sleep and (b) return early from

[PATCH v3 0/6] PM / sleep: Driver flags for system suspend/resume (part 2)

2017-11-11 Thread Rafael J. Wysocki
Hi All, The following still applies: On Wednesday, November 8, 2017 1:41:35 AM CET Rafael J. Wysocki wrote: > > This is a follow-up for the first part of the PM driver flags series > sent previously some time ago with an intro as follows: > > On Saturday, October 28, 2017 12:11:55 AM CET Rafael

[PATCH V1 1/3] x86/cpu/intel: Add Cannonlake to Intel family

2017-11-11 Thread Megha Dey
Add CPUID of Cannonlake (CNL) processors to Intel family list. Signed-off-by: Megha Dey --- arch/x86/include/asm/intel-family.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h index

[PATCH V1 2/3] perf/x86/intel/bm.c: Add Intel Branch Monitoring support

2017-11-11 Thread Megha Dey
Currently, the cannonlake family of Intel processors support the branch monitoring feature. Intel's Branch monitoring feature is trying to utilize heuristics to detect the occurrence of an ROP (Return Oriented Programming) attack. A perf-based kernel driver has been used to monitor the occurrence

[PATCH V1 3/3] x86, bm: Add documentation on Intel Branch Monitoring

2017-11-11 Thread Megha Dey
This patch adds the Documentation/x86/intel_bm.txt file with some information about Intel Branch monitoring. Signed-off-by: Megha Dey --- Documentation/x86/intel_bm.txt | 216 + 1 file changed, 216 insertions(+) create mode

[PATCH V1 0/3] perf/x86/intel: Add Branch Monitoring support

2017-11-11 Thread Megha Dey
This patchset adds support for Intel's branch monitoring feature. This feature uses heuristics to detect the occurrence of an ROP(Return Oriented Programming) or ROP like(JOP: Jump oriented programming) attack. These heuristics are based off certain performance monitoring statistics, measured

Re: [PATCH v1 1/2] thunderbolt: Make pathname to force_power shorter

2017-11-11 Thread Mika Westerberg
On Fri, Nov 10, 2017 at 08:29:18PM +0200, Andy Shevchenko wrote: > On Mon, 2017-10-23 at 13:30 +, mario.limoncie...@dell.com wrote: > > Acked-by: Mario Limonciello > > Thanks. > > Since Mika established a dedicated repository for Thunderbolt patches I > assume he