~arges/ubuntu/+source/linux/+git/wily:lp1464560

Last commit made on 2015-07-16
Get this branch:
git clone -b lp1464560 https://git.launchpad.net/~arges/ubuntu/+source/linux/+git/wily
Only Chris J Arges can upload to this branch. If you are Chris J Arges please log in for upload directions.

Branch merges

Branch information

Name:
lp1464560
Repository:
lp:~arges/ubuntu/+source/linux/+git/wily

Recent commits

55c5574... by Chris J Arges

Add MTD_POWERNV_FLASH and OPAL_PRD

BugLink: http://bugs.launchpad.net/bugs/1464560

Adding the following as modules that both depend on PPC_POWERNV:
  CONFIG_MTD_POWERNV_FLASH=m
  CONFIG_OPAL_PRD=m

CONFIG_PPC_POWERNV_RTAS was removed by the following commit:
  powerpc/powernv: Remove powernv RTAS support
  (cherry picked from commit 646b54f2f2041473495f166479e3e17fd59a9dd1)

Remove CONFIG_PPC_POWERNV_RTAS from debian.master/config/annotations as well
since we don't need it.

Signed-off-by: Chris J Arges <email address hidden>

58ba31c... by Vaidyanathan Srinivasan <email address hidden>

powerpc/powernv: Fix vma page prot flags in opal-prd driver

BugLink: http://bugs.launchpad.net/bugs/1464560

opal-prd driver will mmap() firmware code/data area as private
mapping to prd user space daemon. Write to this page will
trigger COW faults. The new COW pages are normal kernel RAM
pages accounted by the kernel and are not special.

vma->vm_page_prot value will be used at page fault time
for the new COW pages, while pgprot_t value passed in
remap_pfn_range() is used for the initial page table entry.

Hence:
* Do not add _PAGE_SPECIAL in vma, but only for remap_pfn_range()
* Also remap_pfn_range() will add the _PAGE_SPECIAL flag using
  pte_mkspecial() call, hence no need to specify in the driver

This fix resolves the page accounting warning shown below:
BUG: Bad rss-counter state mm:c0000007d34ac600 idx:1 val:19

The above warning is triggered since _PAGE_SPECIAL was incorrectly
being set for the normal kernel COW pages.

Signed-off-by: Vaidyanathan Srinivasan <email address hidden>
Acked-by: Jeremy Kerr <email address hidden>
Signed-off-by: Michael Ellerman <email address hidden>
(cherry picked from commit d8ea782b56d9d2c46a47b3231cfd16ecfb538c60)
Signed-off-by: Chris J Arges <email address hidden>

1386807... by Jeremy Kerr

powerpc/include: Add opal-prd to installed uapi headers

BugLink: http://bugs.launchpad.net/bugs/1464560

We'll want to build the opal-prd daemon with the prd headers, so include
this in the uapi headers list.

Signed-off-by: Jeremy Kerr <email address hidden>
Signed-off-by: Michael Ellerman <email address hidden>
(cherry picked from commit cdf2bc1c283066d6f0834cc5dd4fcf5d01e44af9)
Signed-off-by: Chris J Arges <email address hidden>

db76181... by Jeremy Kerr

powerpc/powernv: fix construction of opal PRD messages

BugLink: http://bugs.launchpad.net/bugs/1464560

We currently have a bug in the PRD code, where the contents of an
incoming message (beyond the header) will be overwritten by the list
item manipulations when adding to to the prd_msg_queue.

This change reorders struct opal_prd_msg_queue_item, so that the
message body doesn't overlap the list_head.

We also clarify the memcpy of the message, as we're copying unnecessary
bytes at the end of the message data.

Signed-off-by: Jeremy Kerr <email address hidden>
Acked-by: Stewart Smith <email address hidden>
Signed-off-by: Michael Ellerman <email address hidden>
(cherry picked from commit 7185795a62589292015484985635b4a38029a2b9)
Signed-off-by: Chris J Arges <email address hidden>

b5f48a3... by Jeremy Kerr

powerpc/powernv: Add opal-prd channel

BugLink: http://bugs.launchpad.net/bugs/1464560

This change adds a char device to access the "PRD" (processor runtime
diagnostics) channel to OPAL firmware.

Includes contributions from Vaidyanathan Srinivasan, Neelesh Gupta &
Vishal Kulkarni.

Signed-off-by: Neelesh Gupta <email address hidden>
Signed-off-by: Jeremy Kerr <email address hidden>
Acked-by: Stewart Smith <email address hidden>
Signed-off-by: Michael Ellerman <email address hidden>
(cherry picked from commit 0d7cd8550d30906c7461ced654306da30f1590e2)
Signed-off-by: Chris J Arges <email address hidden>

dd96778... by Jeremy Kerr

powerpc/powernv: Expose OPAL APIs required by PRD interface

BugLink: http://bugs.launchpad.net/bugs/1464560

The (upcoming) opal-prd driver needs to access the message notifier and
xscom code, so add EXPORT_SYMBOL_GPL macros for these.

Signed-off-by: Jeremy Kerr <email address hidden>
Signed-off-by: Michael Ellerman <email address hidden>
(cherry picked from commit 594fcb9ec9e17215b4f98b5d40ba5e3af618ba82)
Signed-off-by: Chris J Arges <email address hidden>

65478f2... by Jeremy Kerr

powerpc/powernv: Merge common platform device initialisation

BugLink: http://bugs.launchpad.net/bugs/1464560

opal_ipmi_init and opal_flash_init are equivalent, except for the
compatbile string. Merge these two into a common opal_pdev_init
function.

Signed-off-by: Jeremy Kerr <email address hidden>
Signed-off-by: Michael Ellerman <email address hidden>
(cherry picked from commit 48c06154952a18c5cd4d074ec3de627430cb6d23)
Signed-off-by: Chris J Arges <email address hidden>

dfe5fe7... by Cyril Bur <email address hidden>

mtd: powernv: Add powernv flash MTD abstraction driver

BugLink: http://bugs.launchpad.net/bugs/1464560

Powerpc powernv platforms allow access to certain system flash devices
through a firmwarwe interface. This change adds an mtd driver for these
flash devices.

Minor updates from Jeremy Kerr and Joel Stanley.

Signed-off-by: Cyril Bur <email address hidden>
Signed-off-by: Joel Stanley <email address hidden>
Signed-off-by: Jeremy Kerr <email address hidden>
Reviewed-by: Neelesh Gupta <email address hidden>
Signed-off-by: Michael Ellerman <email address hidden>
(cherry picked from commit 1cbb4a1c433a1ca054ef5363f4e6597b43d208cc)
Signed-off-by: Chris J Arges <email address hidden>

63997c4... by Andy Whitcroft

UBUNTU: [Config] correct linux-initramfs-tool virtual linkage

BugLink: http://bugs.launchpad.net/bugs/1474810
Signed-off-by: Andy Whitcroft <email address hidden>

9962e15... by Hui Wang

ALSA: hda - restore the MIC FIXUP for some Dell machines

Those FIXUPs were applied to the machines through pin quirks, but
recently the PCI_QUIRK makes them can't apply to the machines.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=99851
Signed-off-by: Hui Wang <email address hidden>
Cc: <email address hidden> # v4.1
Signed-off-by: Takashi Iwai <email address hidden>
(cherry picked from commit 831bfdf9520e389357cfeee42a6174a73ce7bdb7)
BugLink: http://bugs.launchpad.net/bugs/1473560
Signed-off-by: Seth Forshee <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Acked-by: Brad Figg <email address hidden>
Signed-off-by: Leann Ogasawara <email address hidden>