Re: [Xen-devel] [PATCH v1 05/47] pci: add pci_iomap_wc() variants

2015-03-27 Thread Toshi Kani
On Mon, 2015-03-23 at 12:20 -0500, Bjorn Helgaas wrote: : pci_iomap_range() already makes a cacheable mapping if IORESOURCE_CACHEABLE; I'm guessing that you would like it to automatically use WC if the BAR if IORESOURCE_PREFETCH, e.g., if (flags IORESOURCE_CACHEABLE) return

Re: [Xen-devel] [PATCH v1 02/47] x86: mtrr: generalize run time disabling of MTRR

2015-04-02 Thread Toshi Kani
On Thu, 2015-04-02 at 23:49 +0200, Luis R. Rodriguez wrote: On Sat, Mar 28, 2015 at 12:56:30AM +0100, Luis R. Rodriguez wrote: On Fri, Mar 27, 2015 at 02:40:17PM -0600, Toshi Kani wrote: On Fri, 2015-03-20 at 16:17 -0700, Luis R. Rodriguez wrote: : @@ -734,6 +742,7 @@ void __init

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-06-11 Thread Toshi Kani
On Thu, 2015-06-11 at 13:36 -0700, Luis R. Rodriguez wrote: : Pending RIP MTRR patches There are a few pending series so I wanted to provide a status update on those series. mtrr: bury MTRR - unexport mtrr_add() and mtrr_del() This is the nail on the MTRR coffin,

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-06-12 Thread Toshi Kani
On Fri, 2015-06-12 at 08:59 +0100, Jan Beulich wrote: On 12.06.15 at 01:23, toshi.k...@hp.com wrote: There are two usages on MTRRs: 1) MTRR entries set by firmware 2) MTRR entries set by OS drivers We can obsolete 2), but we have no control over 1). As UEFI firmwares also set

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-08-07 Thread Toshi Kani
On Fri, 2015-08-07 at 13:25 -0700, Luis R. Rodriguez wrote: On Thu, Aug 6, 2015 at 3:58 PM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2015-08-06 at 12:53 -0700, Luis R. Rodriguez wrote: On Fri, Jun 12, 2015 at 9:58 AM, Toshi Kani toshi.k...@hp.com wrote: On Fri, 2015-06-12 at 08:59

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-08-07 Thread Toshi Kani
On Fri, 2015-08-07 at 15:23 -0700, Luis R. Rodriguez wrote: On Fri, Aug 7, 2015 at 2:56 PM, Toshi Kani toshi.k...@hp.com wrote: On Fri, 2015-08-07 at 13:25 -0700, Luis R. Rodriguez wrote: On Thu, Aug 6, 2015 at 3:58 PM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2015-08-06 at 12:53

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-08-07 Thread Toshi Kani
On Fri, 2015-08-07 at 17:08 -0600, Toshi Kani wrote: On Fri, 2015-08-07 at 15:23 -0700, Luis R. Rodriguez wrote: On Fri, Aug 7, 2015 at 2:56 PM, Toshi Kani toshi.k...@hp.com wrote: On Fri, 2015-08-07 at 13:25 -0700, Luis R. Rodriguez wrote: On Thu, Aug 6, 2015 at 3:58 PM, Toshi Kani

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-08-07 Thread Toshi Kani
On Fri, 2015-08-07 at 16:26 -0700, Luis R. Rodriguez wrote: On Fri, Aug 7, 2015 at 4:08 PM, Toshi Kani toshi.k...@hp.com wrote: On Fri, 2015-08-07 at 15:23 -0700, Luis R. Rodriguez wrote: On Fri, Aug 7, 2015 at 2:56 PM, Toshi Kani toshi.k...@hp.com wrote: On Fri, 2015-08-07 at 13:25

Re: [Xen-devel] Fwd: [PATCH] x86: Use larger chunks in mtrr_cleanup

2015-09-05 Thread Toshi Kani
On Fri, 2015-09-04 at 03:40 +0200, Luis R. Rodriguez wrote: > On Thu, Sep 03, 2015 at 06:48:46PM -0600, Toshi Kani wrote: > > On Fri, 2015-09-04 at 01:54 +0200, Luis R. Rodriguez wrote: > > > On Thu, Sep 03, 2015 at 05:21:14PM -0600, Toshi Kani wrote: > > > > On

[Xen-devel] [PATCH 05/11] xen: Set IORESOURCE_SYSTEM_RAM to System RAM

2015-12-14 Thread Toshi Kani
Set IORESOURCE_SYSTEM_RAM to the flags of memory hotplug resource ranges with "System RAM". Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: xen-de...@lists.xenproject.org Signed-off-by: Toshi Kani <toshi.k...@hpe.com> --- drivers/xen/balloon.c |2 +- 1 file chan

[Xen-devel] [PATCH 00/11] Support System RAM resource type and EINJ to NVDIMM

2015-12-14 Thread Toshi Kani
a blank line before if-statement. Remove an unnecessary brakets. (Borislav Petkov) prev-v2: - Change the EINJ driver to call region_intersects_ram() for checking RAM with a specified size. (Dan Williams) --- Toshi Kani (11): 01/11 resource: Add System RAM resource type 02/11 resource: make re

[Xen-devel] [PATCH v3 00/17] Enhance iomem search interfaces and support EINJ to NVDIMM

2016-01-05 Thread Toshi Kani
to be able to distinguish legacy and NFIT pmem ranges. (Dan Williams) --- Toshi Kani (17): 01/17 resource: Add System RAM resource type 02/17 resource: make resource flags handled properly 03/17 resource: Add I/O resource descriptor 04/17 x86/e820: Set System RAM type and descriptor 05/17

[Xen-devel] [PATCH v3 08/17] xen, mm: Set IORESOURCE_SYSTEM_RAM to System RAM

2016-01-05 Thread Toshi Kani
Set IORESOURCE_SYSTEM_RAM to 'flags' of struct resource entries with "System RAM". Cc: Andrew Morton <a...@linux-foundation.org> Cc: linux...@kvack.org Cc: xen-de...@lists.xenproject.org Acked-by: David Vrabel <david.vra...@citrix.com> # xen Signed-off-by: Toshi Ka

[Xen-devel] [PATCH v2 00/16] Enhance iomem search interfaces and support EINJ to NVDIMM

2015-12-25 Thread Toshi Kani
to IORESOURCE_MEM. (Linus Torvalds) - NVDIMM check needs to be able to distinguish legacy and NFIT pmem ranges. (Dan Williams) --- Toshi Kani (16): 01/16 resource: Add System RAM resource type 02/16 resource: make resource flags handled properly 03/16 resource: Add I/O resource descriptor 04/16

[Xen-devel] [PATCH v2 08/16] xen, mm: Set IORESOURCE_SYSTEM_RAM to System RAM

2015-12-25 Thread Toshi Kani
Set IORESOURCE_SYSTEM_RAM to 'flags' of struct resource entries with "System RAM". Cc: Andrew Morton <a...@linux-foundation.org> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: xen-de...@lists.xenproject.org Signed-off-by: Toshi Kani <toshi.k...@hpe.com> ---

Re: [Xen-devel] [PATCH v3 00/17] Enhance iomem search interfaces and support EINJ to NVDIMM

2016-01-25 Thread Toshi Kani
On Mon, 2016-01-25 at 20:18 +0100, Borislav Petkov wrote: > On Tue, Jan 05, 2016 at 11:54:28AM -0700, Toshi Kani wrote: > > This patch-set enhances the iomem table and its search interfacs, and > > then changes EINJ to support NVDIMM. > > : > > Ok, all applied ontop

[Xen-devel] [PATCH v2 6/6] x86/pat: Document PAT initializations

2016-03-18 Thread Toshi Kani
Update PAT documentation to describe how PAT is initialized under various configurations. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@suse.de> Cc: Luis R. Rodriguez <mcg...@suse.com> Cc: Juergen Gross <jgr...@suse.com> Cc: Ingo Molnar <mi.

Re: [Xen-devel] [PATCH 2/2] x86/mtrr: Refactor PAT initialization code

2016-03-15 Thread Toshi Kani
On Tue, 2016-03-15 at 01:15 +0100, Luis R. Rodriguez wrote: > On Fri, Mar 11, 2016 at 06:16:36PM -0700, Toshi Kani wrote: > > On Fri, 2016-03-11 at 15:34 -0800, Luis R. Rodriguez wrote: > > > On Fri, Mar 11, 2016 at 3:56 PM, Toshi Kani <toshi.k...@hpe.com> > > >

Re: [Xen-devel] [PATCH 1/2] x86/mm/pat: Change pat_disable() to emulate PAT table

2016-03-15 Thread Toshi Kani
On Tue, 2016-03-15 at 11:01 +, Borislav Petkov wrote: > On Mon, Mar 14, 2016 at 09:11:16PM -0600, Toshi Kani wrote: > > - pat = PAT(0, WB) | PAT(1, WT) | PAT(2, UC_MINUS) | PAT(3, UC) > > | > > -   PAT(4, WB) | PAT(5, WT) | PAT(6, UC_MINUS) | PAT(7, UC); &g

Re: [Xen-devel] [PATCH 1/2] x86/mm/pat: Change pat_disable() to emulate PAT table

2016-03-15 Thread Toshi Kani
On Tue, 2016-03-15 at 16:47 +0100, Borislav Petkov wrote: > On Tue, Mar 15, 2016 at 09:43:15AM -0600, Toshi Kani wrote: > > > Please use on init paths boot_cpu_has(X86_FEATURE_PAT) and on fast > > > paths static_cpu_has(X86_FEATURE_PAT). No more of that cpu_h

Re: [Xen-devel] [PATCH 2/2] x86/mtrr: Refactor PAT initialization code

2016-03-19 Thread Toshi Kani
On Wed, 2016-03-16 at 00:29 +0100, Luis R. Rodriguez wrote: > On Tue, Mar 15, 2016 at 05:48:44PM -0600, Toshi Kani wrote: > > On Tue, 2016-03-15 at 01:15 +0100, Luis R. Rodriguez wrote: > > > On Fri, Mar 11, 2016 at 06:16:36PM -0700, Toshi Kani wrote: > > > > On

Re: [Xen-devel] [PATCH 1/2] x86/mm/pat: Change pat_disable() to emulate PAT table

2016-03-14 Thread Toshi Kani
n. Can you try the attached patches?  They apply on top of my original patch- set.  With this change, PAT code generally supports Xen, and the PAT init code in Xen is now removed.  If they look OK, I will reorganize the patch series. Thanks, -

Re: [Xen-devel] [PATCH] x86/mm/pat: Fix BUG_ON in mmap_mem on QEMU/i386

2016-04-05 Thread Toshi Kani
+xen-devl On Tue, 2016-04-05 at 13:09 +0200, Borislav Petkov wrote: > On Fri, Apr 01, 2016 at 04:19:45PM -0600, Toshi Kani wrote: > > > > The following BUG_ON error was reported on QEMU/i386: > > > >   kernel BUG at arch/x86/mm/physaddr.c:79! > >   Call Trace: &

Re: [Xen-devel] [PATCH 2/2] x86/mtrr: Refactor PAT initialization code

2016-04-11 Thread Toshi Kani
On Sat, 2016-04-09 at 04:04 +0200, Luis R. Rodriguez wrote: > On Thu, Mar 17, 2016 at 03:56:47PM -0600, Toshi Kani wrote: > > > > On Wed, 2016-03-16 at 00:29 +0100, Luis R. Rodriguez wrote: > > > > > > On x86 Linux code we now have ioremap_uc() that can't use

Re: [Xen-devel] [PATCH] x86/mm/pat: Fix BUG_ON in mmap_mem on QEMU/i386

2016-04-08 Thread Toshi Kani
On Tue, 2016-04-05 at 09:24 -0600, Toshi Kani wrote: > +xen-devl > > On Tue, 2016-04-05 at 13:09 +0200, Borislav Petkov wrote: > > On Fri, Apr 01, 2016 at 04:19:45PM -0600, Toshi Kani wrote: > > >  : > > > > > > When the system does not have much me

Re: [Xen-devel] [PATCH] x86/mm/pat: Fix BUG_ON in mmap_mem on QEMU/i386

2016-04-08 Thread Toshi Kani
On Fri, 2016-04-08 at 18:00 +0100, David Vrabel wrote: > On 08/04/16 17:34, Toshi Kani wrote: > > > > On Tue, 2016-04-05 at 09:24 -0600, Toshi Kani wrote: > > > > > > +xen-devl > > > > > > On Tue, 2016-04-05 at 13:09 +0200, Borislav Petkov wr

[Xen-devel] [PATCH v2] x86/mm/pat: Fix BUG_ON in mmap_mem on QEMU/i386

2016-04-11 Thread Toshi Kani
t <ying.hu...@linux.intel.com> Link: https://lkml.org/lkml/2016/4/1/608 Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@kernel.org> Cc: H. Peter Anvin <h...@zytor.com> Cc: Borislav Petkov <b...@suse.de> Cc: David V

[Xen-devel] [PATCH 0/6] Enhance PAT init to fix Xorg crashes

2016-03-19 Thread Toshi Kani
onfiguration [0-7] .." message in dmesg. --- v2: - Divide patch-set into a single change. (Borislav Petkov) - Xen's case must be handled properly. (Luis R. Rodriguez) - Change changelog and title to describe the issue. (Ingo Molnar) - Update an error message. (Robert Elliott, Borislav Pet

[Xen-devel] [PATCH v2 5/6] x86/xen, pat: Remove PAT table init code from Xen

2016-03-19 Thread Toshi Kani
, this Xen-specific PAT init code is no longer necessary. Delete it from xen_start_kernel(). Also change pat_init_cache_modes() to a static function since PAT table should not be tweaked by other modules. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@o

[Xen-devel] [PATCH v2 4/6] x86/mtrr: Fix PAT init handling when MTRR MSR is disabled

2016-03-19 Thread Toshi Kani
() to mtrr_bp_pat_init(). Change mtrr_bp_init() to call mtrr_bp_pat_init() if MTRR is enabled. This keeps BSP's calling condition to pat_init() consistent with AP's, mtrr_ap_init() and mtrr_aps_init(). Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@suse.de>

Re: [Xen-devel] [PATCH 2/2] x86/mtrr: Refactor PAT initialization code

2016-03-19 Thread Toshi Kani
On Thu, 2016-03-17 at 17:06 -0700, Luis R. Rodriguez wrote: > On Mar 17, 2016 2:04 PM, "Toshi Kani" <toshi.k...@hpe.com> wrote: > > > > On Wed, 2016-03-16 at 00:29 +0100, Luis R. Rodriguez wrote: > > > On Tue, Mar 15, 2016 at 05:48:44PM -0600, Toshi Kani wr

[Xen-devel] [PATCH v2 2/6] x86/mm/pat: Add pat_disable() interface

2016-03-19 Thread Toshi Kani
d when PAT initialization may not be performed. This also assures that pat_disable() called from pat_bsp_init() to set PAT table properly when CPU does not support PAT. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@suse.de> Cc: Luis R. Rodriguez <mcg...@suse.co

[Xen-devel] [PATCH v2 3/6] x86/mtrr: Fix Xorg crashes in Qemu sessions

2016-03-20 Thread Toshi Kani
makes PAT code to bypass the memtype check. This avoids issue #1 (which can be dealt in lower priority). [1]: https://lkml.org/lkml/2016/3/3/828 [2]: https://lkml.org/lkml/2016/3/4/775 Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@suse.de> Cc: Luis R. Rodr

Re: [Xen-devel] [PATCH v2 1/6] x86/mm/pat: Change PAT to support non-default PAT MSR

2016-03-22 Thread Toshi Kani
On Tue, 2016-03-22 at 17:57 +0100, Borislav Petkov wrote: > $Subject is misleading - there's no non-default PAT MSR - the setting is > non-default. Right.  Will change to "Add support of non-default PAT MSR setting at handoff". > On Wed, Mar 16, 2016 at 06:44:57PM -060

Re: [Xen-devel] [PATCH v2 4/6] x86/mtrr: Fix PAT init handling when MTRR MSR is disabled

2016-03-22 Thread Toshi Kani
On Tue, 2016-03-22 at 18:01 +0100, Borislav Petkov wrote: > Subject: [PATCH v2 4/6] x86/mtrr: Fix PAT init handling when MTRR MSR is > disabled > > s/ MSR// Will do. > On Wed, Mar 16, 2016 at 06:46:57PM -0600, Toshi Kani wrote: > > get_mtrr_state() calls pat_init(

Re: [Xen-devel] [PATCH v2 2/6] x86/mm/pat: Add pat_disable() interface

2016-03-22 Thread Toshi Kani
On Tue, 2016-03-22 at 17:59 +0100, Borislav Petkov wrote: > On Wed, Mar 16, 2016 at 06:46:55PM -0600, Toshi Kani wrote: > > In preparation to fix a regression caused by 'commit 9cd25aac1f44 > > ("x86/mm/pat: Emulate PAT when it is disabled")', PAT needs to > > pro

Re: [Xen-devel] [PATCH v2 3/6] x86/mtrr: Fix Xorg crashes in Qemu sessions

2016-03-22 Thread Toshi Kani
On Tue, 2016-03-22 at 18:00 +0100, Borislav Petkov wrote: > On Wed, Mar 16, 2016 at 06:46:56PM -0600, Toshi Kani wrote: > > A Xorg failure on qemu32 was reported as a regression caused > > by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is > > disabled

[Xen-devel] [PATCH v3 5/7] x86/mtrr: Fix PAT init handling when MTRR is disabled

2016-03-23 Thread Toshi Kani
with AP's, mtrr_ap_init() and mtrr_aps_init(). Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@suse.de> Cc: Luis R. Rodriguez <mcg...@suse.com> Cc: Juergen Gross <jgr...@suse.com> Cc: Ingo Molnar <mi...@kernel.org> Cc: H. Peter Anvin <h...@

[Xen-devel] [PATCH v3 1/7] x86/mm/pat: Add support of non-default PAT MSR setting

2016-03-23 Thread Toshi Kani
Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@suse.de> Cc: Luis R. Rodriguez <mcg...@suse.com> Cc: Juergen Gross <jgr...@suse.com> Cc: Ingo Molnar <mi...@kernel.org> Cc: H. Peter Anvin <h...@zytor.com> Cc: Thomas Gleixner <t...@linutronix.d

[Xen-devel] [PATCH v3 7/7] x86/pat: Document PAT initialization

2016-03-23 Thread Toshi Kani
Update PAT documentation to describe how PAT is initialized under various configurations. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@suse.de> Cc: Luis R. Rodriguez <mcg...@suse.com> Cc: Juergen Gross <jgr...@suse.com> Cc: Ingo Molnar <mi.

[Xen-devel] [PATCH v3 2/7] x86/mm/pat: Add pat_disable() interface

2016-03-23 Thread Toshi Kani
DM-defined sequence to initialize PAT. This also assures pat_disable() called from pat_bsp_init() to set PAT table properly when CPU does not support PAT. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@suse.de> Cc: Luis R. Rodriguez <mcg...@suse.com> Cc: Ju

[Xen-devel] [PATCH v3 3/7] x86/mm/pat: Replace cpu_has_pat with boot_cpu_has

2016-03-23 Thread Toshi Kani
> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@suse.de> Cc: Luis R. Rodriguez <mcg...@suse.com> Cc: Juergen Gross <jgr...@suse.com> Cc: Robert Elliott <elli...@hpe.com> Cc: Ingo Molnar <mi...@kernel.org> Cc: H. Peter Anvin <h

[Xen-devel] [PATCH v3 4/6] x86/mtrr: Fix Xorg crashes in Qemu sessions

2016-03-23 Thread Toshi Kani
bled. By setting PAT to disable properly, PAT bypasses the memtype check, and avoids issue #1. [1]: https://lkml.org/lkml/2016/3/3/828 [2]: https://lkml.org/lkml/2016/3/4/775 Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@suse.de> Cc: Luis R. Rodriguez <mcg.

[Xen-devel] [PATCH v3 6/7] x86/xen, pat: Remove PAT table init code from Xen

2016-03-23 Thread Toshi Kani
, this Xen-specific PAT init code is no longer necessary. Delete it from xen_start_kernel(). Also change __init_cache_modes() to a static function since PAT table should not be tweaked by other modules. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Acked-by: Juergen Gross <jgr...@suse.com>

[Xen-devel] [PATCH v3 0/7] Enhance PAT init to fix Xorg crashes

2016-03-23 Thread Toshi Kani
e changelog, comments, and doc per review. (Borislav Petkov) v2: - Divide patch-set into a single change. (Borislav Petkov) - Xen's case must be handled properly. (Luis R. Rodriguez) - Change changelog and title to describe the issue. (Ingo Molnar) - Update an error message. (Robert Elliott, Boris

Re: [Xen-devel] [PATCH v2 3/6] x86/mtrr: Fix Xorg crashes in Qemu sessions

2016-03-23 Thread Toshi Kani
On Wed, 2016-03-23 at 09:53 -0600, Toshi Kani wrote: > On Wed, 2016-03-23 at 09:44 +0100, Borislav Petkov wrote: > > On Tue, Mar 22, 2016 at 03:53:30PM -0600, Toshi Kani wrote: > > > Yes. I had to remove this number since checkpatch complained that I > > > needed to

Re: [Xen-devel] [PATCH v2 6/6] x86/pat: Document PAT initializations

2016-03-22 Thread Toshi Kani
On Tue, 2016-03-22 at 18:02 +0100, Borislav Petkov wrote: > On Wed, Mar 16, 2016 at 06:46:59PM -0600, Toshi Kani wrote: > > Update PAT documentation to describe how PAT is initialized under > > various configurations. > >  : > >

Re: [Xen-devel] [PATCH v2 1/6] x86/mm/pat: Change PAT to support non-default PAT MSR

2016-03-23 Thread Toshi Kani
On Wed, 2016-03-23 at 09:43 +0100, Borislav Petkov wrote: > On Tue, Mar 22, 2016 at 12:35:19PM -0600, Toshi Kani wrote: > > Right.  Will change to "Add support of non-default PAT MSR setting at > > handoff". > > Please remove this "handoff" notion fr

Re: [Xen-devel] [PATCH v2 2/6] x86/mm/pat: Add pat_disable() interface

2016-03-23 Thread Toshi Kani
On Wed, 2016-03-23 at 09:51 +0100, Borislav Petkov wrote: > On Tue, Mar 22, 2016 at 03:40:45PM -0600, Toshi Kani wrote: > > Will change to "Prevent the OS from initializing the PAT MSR". > > > > I wanted to clarify that "disable" does not mean to disable

Re: [Xen-devel] [PATCH v2 3/6] x86/mtrr: Fix Xorg crashes in Qemu sessions

2016-03-23 Thread Toshi Kani
On Wed, 2016-03-23 at 09:44 +0100, Borislav Petkov wrote: > On Tue, Mar 22, 2016 at 03:53:30PM -0600, Toshi Kani wrote: > > Yes. I had to remove this number since checkpatch complained that I > > needed to quote the whole patch tile again.  I will ignore this > > che

Re: [Xen-devel] [PATCH 2/2] x86/mtrr: Refactor PAT initialization code

2016-03-29 Thread Toshi Kani
On Tue, 2016-03-29 at 10:14 -0700, Luis R. Rodriguez wrote: > On Fri, Mar 18, 2016 at 2:35 PM, Toshi Kani <toshi.k...@hpe.com> wrote: > > On Thu, 2016-03-17 at 17:06 -0700, Luis R. Rodriguez wrote: > > > On Mar 17, 2016 2:04 PM, "Toshi Kani" <toshi.k...@hpe.

Re: [Xen-devel] MTRR on Xen - BIOS use and implications for Linux

2016-03-29 Thread Toshi Kani
On Tue, 2016-03-29 at 10:22 -0700, Luis R. Rodriguez wrote: > On Thu, Mar 17, 2016 at 11:56 AM, Luis R. Rodriguez > wrote: > > On Thu, Mar 17, 2016 at 11:13:03AM +, David Vrabel wrote: > > > On 16/03/16 20:08, Luis R. Rodriguez wrote: > > > > Toshi noted a while ago as well

Re: [Xen-devel] [PATCH 2/2] x86/mtrr: Refactor PAT initialization code

2016-03-29 Thread Toshi Kani
On Tue, 2016-03-29 at 15:12 -0700, Luis R. Rodriguez wrote: > On Tue, Mar 29, 2016 at 2:46 PM, Toshi Kani <toshi.k...@hpe.com> wrote: > > On Tue, 2016-03-29 at 10:14 -0700, Luis R. Rodriguez wrote: > > > On Fri, Mar 18, 2016 at 2:35 PM, Toshi Kani <tosh

Re: [Xen-devel] [PATCH 2/2] x86/mtrr: Refactor PAT initialization code

2016-03-29 Thread Toshi Kani
On Tue, 2016-03-29 at 16:43 -0700, Luis R. Rodriguez wrote: > On Tue, Mar 29, 2016 at 5:16 PM, Toshi Kani <toshi.k...@hpe.com> wrote: > > On Tue, 2016-03-29 at 15:12 -0700, Luis R. Rodriguez wrote: > > > On Tue, Mar 29, 2016 at 2:46 PM, Toshi Kani <toshi.k...@hpe.com&g

Re: [Xen-devel] [PATCH v3 0/7] Enhance PAT init to fix Xorg crashes

2016-03-29 Thread Toshi Kani
On Tue, 2016-03-29 at 12:34 +0200, Ingo Molnar wrote: > * Toshi Kani <toshi.k...@hpe.com> wrote: > > > A Xorg failure on qemu32 was reported as a regression [1] caused by > > 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")'. >

Re: [Xen-devel] [PATCH v3 0/7] Enhance PAT init to fix Xorg crashes

2016-03-29 Thread Toshi Kani
On Tue, 2016-03-29 at 10:46 -0400, Boris Ostrovsky wrote: > On 03/29/2016 10:19 AM, Toshi Kani wrote: > > On Tue, 2016-03-29 at 12:34 +0200, Ingo Molnar wrote: > > > > > > I'd appreciate if someone can test this patch-set on Xen to verify > > > > that there

Re: [Xen-devel] [PATCH v2] x86/mm/pat: Fix BUG_ON in mmap_mem on QEMU/i386

2016-04-13 Thread Toshi Kani
On Wed, 2016-04-13 at 11:35 +0200, Ingo Molnar wrote: > * Toshi Kani <toshi.k...@hpe.com> wrote:  : > > > > However, this code block, originally written for Pentiums and > > earlier, is no longer adequate since a 32-bit Xen guest has > > MTRRs disabled and supp