Re: Re: [PATCH] PM / devfreq: rockchip: add PM_DEVFREQ_EVENT dependency

2016-09-19 Thread Rafael J. Wysocki
On Mon, Sep 19, 2016 at 9:46 AM, MyungJoo Ham wrote: > 2016-09-16 0:44 GMT+09:00 Arnd Bergmann : >> The newly added ARM_RK3399_DMC_DEVFREQ driver requires the >> DEVFREQ_EVENT_ROCKCHIP_DFI driver and tries to turn that on through >> a 'select' statement,

Re: [PATCH v7 0/8] CPUs capacity information for heterogeneous systems

2016-09-19 Thread Juri Lelli
Hi, On 12/09/16 08:24, Juri Lelli wrote: > Hi, > > this is a ping for people interested in this series. Patches 2,4,7-8 > still needs ACKs. > Weekly ping. :-) Best, - Juri > I know it's only been a week since I posted v7, but this series would > pair nicely with asym cpu capacity support

[PATCH v4 07/29] Documentation/applying-patches.txt: Update the information there

2016-09-19 Thread Mauro Carvalho Chehab
This document is old: it is from Kernel v2.6.12 days. Update it to the current status, and add a reference for the linux-next tree. Signed-off-by: Mauro Carvalho Chehab --- Documentation/applying-patches.txt | 255 - 1 file changed,

[PATCH v4 16/29] Documentation/stable_api_nonsense.txt: convert it to ReST markup

2016-09-19 Thread Mauro Carvalho Chehab
Add markups for it to be properly parsed by Sphinx. As people browsing this document may not notice that the source file title is "stable_api_nonsense", I opted to use bold to the rationale for this document. I also found it better to add a note when it says that the nonsense applies only to the

[PATCH v4 15/29] Documentation/SecurityBugs: convert it to ReST markup

2016-09-19 Thread Mauro Carvalho Chehab
Add a name for the document and convert the sections to ReST markups. Signed-off-by: Mauro Carvalho Chehab --- Documentation/SecurityBugs | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/SecurityBugs b/Documentation/SecurityBugs index

[PATCH v4 11/29] Documentation/CodingStyle: use the proper tag for verbatim font

2016-09-19 Thread Mauro Carvalho Chehab
On Sphinx/ReST notation, ``foo`` means that foo will be will be marked as inline literal, effectively making it to be presented as a monospaced font. As we want this document to be parsed by Sphinx, instead of using "foo", use ``foo`` for the names that are literal, because it is an usual

Re: [PATCH 2/3] cgroup: duplicate cgroup reference when cloning sockets

2016-09-19 Thread Michal Hocko
[Fixup Vladimir's email] I am not familiar with this code path to give my ack, unfortunatelly. On Wed 14-09-16 15:48:45, Johannes Weiner wrote: > From: Johannes Weiner > > When a socket is cloned, the associated sock_cgroup_data is duplicated > but not its reference on the

Re: TRIM/UNMAP/DISCARD via ATA Passthrough

2016-09-19 Thread Austin S. Hemmelgarn
On 2016-09-17 01:14, James Bottomley wrote: On Fri, 2016-09-16 at 13:06 -0400, Austin S. Hemmelgarn wrote: On 2016-09-16 12:21, James Bottomley wrote: On Fri, 2016-09-16 at 11:53 -0400, Austin S. Hemmelgarn wrote: On 2016-09-16 07:16, Hannes Reinecke wrote: On 09/15/2016 10:52 PM, Jason A.

[PATCH 21/61] perf c2c report: Decode c2c_stats for hist entries

2016-09-19 Thread Jiri Olsa
Decoding and storing c2c_stats for each hist entry. Changing related function to work with c2c_* objects. Link: http://lkml.kernel.org/n/tip-obz2fu3801wuayz4rnteg...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 38

[PATCH 10/61] perf tools: Make several display functions global

2016-09-19 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-w5tpcitxjvufkndq0x5eh...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/ui/browsers/hists.c | 2 +- tools/perf/ui/hist.c | 2 +- tools/perf/util/hist.h | 2 ++

[PATCH 19/61] perf c2c report: Add sample processing

2016-09-19 Thread Jiri Olsa
Adding basic sample processing specific hist_entry allocation callbacks (via hists__add_entry_ops). Overloading 'struct hist_entry' object with new 'struct c2c_hist_entry'. The new hist entry object will carry specific stats and nested hists objects. Link:

[PATCH 09/61] perf tools: Make several sorting functions global

2016-09-19 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-4jyvw21cac7yuqsdkzdo5...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/sort.c | 6 +++--- tools/perf/util/sort.h | 6 ++ 2 files changed, 9 insertions(+), 3

[PATCH 03/61] perf tools: Make hist_entry__snprintf work over struct perf_hpp_list

2016-09-19 Thread Jiri Olsa
Make hist_entry__snprintf to take perf_hpp_list as an argument instead of using he->hists->hpp_list. This way we can display arbitrary list of entries regardles of the hists setup, which will be useful in following patches. Link:

[PATCH 20/61] perf c2c report: Add cacheline hists processing

2016-09-19 Thread Jiri Olsa
Store cacheline related entries in nested hist object for each cacheline data. Nested entries are sorted by 'offset' within related cacheline. We will allow specific sort keys to be configured for nested cacheline data entries in following patches. Link:

[PATCH 08/61] perf tools: Make output_field_add and sort_dimension__add global

2016-09-19 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-15488tnxcj4rtteksy79y...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/sort.c | 8 tools/perf/util/sort.h | 4 2 files changed, 8 insertions(+), 4

[PATCH 11/61] perf tools: Make hist_entry__snprintf function global

2016-09-19 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-uip4x9u74t3dcz8sh4mei...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/ui/stdio/hist.c | 4 ++-- tools/perf/util/hist.h | 2 ++ 2 files changed, 4 insertions(+), 2

[PATCH 15/61] perf c2c: Add report subcommand

2016-09-19 Thread Jiri Olsa
Adding c2c report subcommand. It reads the perf.data and displays shared data analysis. This patch adds report basic wirings. It gets fully implemented in following patches. Link: http://lkml.kernel.org/n/tip-8smklfkveeyv1pahfxv2r...@git.kernel.org Signed-off-by: Jiri Olsa ---

[PATCH] arm64: Add BCM2835 (Raspberry Pi 3) support to the defconfig

2016-09-19 Thread Eric Anholt
Most of the drivers are included as modules, except for serial (needed for early console), WDT (required for reboot), and the dependency chain of RASPBERRYPI_POWER (which is currently not buildable as a module, but should be changed). Signed-off-by: Eric Anholt ---

Re: [PATCH v2] powerpc: fix usage of _PAGE_RO in hugepage

2016-09-19 Thread Christophe Leroy
Le 19/09/2016 à 12:58, Christophe Leroy a écrit : On some CPUs like the 8xx, _PAGE_RW hence _PAGE_WRITE is defined as 0 and _PAGE_RO has to be set when a page is not writable _PAGE_RO is defined by default in pte-common.h, however BOOK3S/64 doesn't include that file so _PAGE_RO has to be

[PATCH v4 18/29] Documentation/SubmittingDrivers: convert it to ReST markup

2016-09-19 Thread Mauro Carvalho Chehab
- Change the document title markup to make it on a higher level; - Add blank lines as needed, to improve the output; - use italics for the country-code at kernel.org ftp URL. Signed-off-by: Mauro Carvalho Chehab --- Documentation/SubmittingDrivers | 45

[PATCH v4 19/29] Documentation/SubmittingPatches: convert it to ReST markup

2016-09-19 Thread Mauro Carvalho Chehab
- Change the sections to use ReST markup; - Add cross-references where needed; - convert aspas to verbatim text; - use code block tags; - make Sphinx happy. Signed-off-by: Mauro Carvalho Chehab --- Documentation/SubmittingPatches | 207

[PATCH v4 25/29] Documentation/HOWTO: adjust external link references

2016-09-19 Thread Mauro Carvalho Chehab
- A few link references were missing http:// - Several sites are now redirecting to https protocol. On such cases, just use the https URL. NOTE: all URLs were checked and they're pointing to the right places. Signed-off-by: Mauro Carvalho Chehab ---

Re: Cannot load linux after recent efi-related changes

2016-09-19 Thread Matt Fleming
On Sun, 18 Sep, at 04:14:45AM, Mike Krinkin wrote: > > diff --git a/drivers/firmware/efi/memmap.c b/drivers/firmware/efi/memmap.c > index cd96086..34322d1 100644 > --- a/drivers/firmware/efi/memmap.c > +++ b/drivers/firmware/efi/memmap.c > @@ -221,8 +221,8 @@ void __init efi_memmap_insert(struct

[PATCH v4 02/29] doc: development-process: convert it to ReST markup

2016-09-19 Thread Mauro Carvalho Chehab
This document is on good shape for ReST: all it was needed was to fix the section markups, add a toctree, convert the tables and add a few code/quote blocks. While not strictly required, I opted to use lowercase for the titles, just like the other books that were converted to Sphinx.

[PATCH v4 21/29] Documentation/kernel-docs.txt: convert it to ReST markup

2016-09-19 Thread Mauro Carvalho Chehab
This one required lots of manual work, for it to be properly displayed. Signed-off-by: Mauro Carvalho Chehab --- Documentation/kernel-docs.txt | 1514 + 1 file changed, 786 insertions(+), 728 deletions(-) diff --git

[PATCH v4 20/29] Documentation/SubmittingPatches: enrich the Sphinx output

2016-09-19 Thread Mauro Carvalho Chehab
Do a few changes to make the output look better: - use bullets on trivial patches list; - use monotonic font for tools name; - use :manpage:`foo` for man pages; - don't put all references to maintainer*html at the same line. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH v4 27/29] Documentation/SubmitChecklist: convert it to ReST markup

2016-09-19 Thread Mauro Carvalho Chehab
- use ``foo`` to markup inline literal stuff, effectively making it to be presented as a monospaced font when parsed by Sphinx; - the markup below the title should have the same length as the title; - Fix the list markups, from "1:" to "1)"; - Split item 2 into a separate list for the build

Re: Memory barrier needed with wake_up_process()?

2016-09-19 Thread Felipe Balbi
Hi Alan, Alan Stern writes: > On Fri, 9 Sep 2016, Felipe Balbi wrote: > >> Finally :-) Here's the diff I used: >> >> diff --git a/drivers/usb/gadget/function/f_mass_storage.c >> b/drivers/usb/gadget/function/f_mass_storage.c >> index 8f3659b65f53..0716024f6b65

Re: [tip regression] efi: Allow drivers to reserve boot services forever == toxic

2016-09-19 Thread Matt Fleming
On Sun, 18 Sep, at 08:09:32AM, Mike Galbraith wrote: > > +MATT changes + XXX changes (boots/works without #if 0) > [0.00] MIKE md.phys_addr:0xded81000 md.virt_addr:0x0 > md.num_pages:520 > [0.00] MIKE mr.range.start:0xdef87000 mr.range.end:0xdef87fff > [0.00] MIKE

[PATCH v4 10/29] Documentation/CodingStyle: Convert to ReST markup

2016-09-19 Thread Mauro Carvalho Chehab
- Fix all chapter identation; - add c blocks where needed; Signed-off-by: Mauro Carvalho Chehab --- Documentation/CodingStyle | 257 -- 1 file changed, 180 insertions(+), 77 deletions(-) diff --git

[PATCH v4 23/29] Documentation/HOWTO: update information about generating documentation

2016-09-19 Thread Mauro Carvalho Chehab
The description there are pre-Sphinx. Update it to cover the new way. Signed-off-by: Mauro Carvalho Chehab --- Documentation/HOWTO | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/Documentation/HOWTO

[PATCH v4 24/29] Documentation/HOWTO: improve some markups to make it visually better

2016-09-19 Thread Mauro Carvalho Chehab
Do a series of minor improvements at the ReST output format: - Instead of using the quote blocks (::) for quotes, use italics. That looks nicer on epub (and html) output, as no scroll bar will be added. Also, it will adjust line breaks on the text automatically. - Add a missing reference to

[PATCH v4 26/29] Documentation/SubmitChecklist: update kernel-doc task

2016-09-19 Thread Mauro Carvalho Chehab
Task 11 (kernel-doc) still mentions usage of make manpages, but this won't work if the API is documented via Sphinx. So, update it to use either htmldocs or pdfdocs, with are the documentation targets that work for all. While here, add ReST reference to the kernel documentation book.

[PATCH v4 14/29] Documentation/ManagementStyle: convert it to ReST markup

2016-09-19 Thread Mauro Carvalho Chehab
- Convert document name to ReST; - Convert footnotes; - Convert sections to ReST format; - Don't use _foo_, as Sphinx doesn't support underline. Instead, use bold; - While here, remove whitespaces at the end of lines. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH v4 28/29] Documentation/email-clients.txt: convert it to ReST markup

2016-09-19 Thread Mauro Carvalho Chehab
As this file is mentioned at the development-process/ book, let's convert it to ReST markup. Signed-off-by: Mauro Carvalho Chehab --- Documentation/SubmittingPatches | 2 +- Documentation/development-process/5.Posting.rst | 2 +-

[PATCH v4 13/29] Documentation/CodingStyle: use the .. note:: markup where needed

2016-09-19 Thread Mauro Carvalho Chehab
There are two places there where there are notes that should be highlighted. So, use the ReST note markup for such texts. Signed-off-by: Mauro Carvalho Chehab --- Documentation/CodingStyle | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git

[PATCH v4 17/29] Documentation/stable_kernel_rules.txt: convert it to ReST markup

2016-09-19 Thread Mauro Carvalho Chehab
- use ReST markups for section headers; - add cross-references to the options; - mark code blocks; - a few minor changes to make Sphinx happy. Signed-off-by: Mauro Carvalho Chehab --- Documentation/stable_kernel_rules.txt | 101 +++--- 1

[PATCH v4 12/29] Documentation/CodingStyle: replace underline markups

2016-09-19 Thread Mauro Carvalho Chehab
Sphinx doesn't accept underline markups by purpose. While there are ways to support underline via CSS, this won't be portable with non-html outputs. As we want CodingStyle to do emphasis, replace _foo_ by **foo**, using bold emphasis. Signed-off-by: Mauro Carvalho Chehab

[PATCH v4 22/29] Documentation/HOWTO: add cross-references to other documents

2016-09-19 Thread Mauro Carvalho Chehab
Add cross references for the documents mentioned at HOWTO and are under the Documentation/ directory, using the ReST notation. It should be noticed that HOWTO also mentions the /README file. We opted to not touch it, for now, as making it build on Sphinx would require it to be moved to a

Re: [PATCH] mm/mempolicy.c: forbid static or relative flags for local NUMA mode

2016-09-19 Thread Michal Hocko
On Sun 18-09-16 13:29:43, Piotr Kwapulinski wrote: > The MPOL_F_STATIC_NODES and MPOL_F_RELATIVE_NODES flags are irrelevant > when setting them for MPOL_LOCAL NUMA memory policy via set_mempolicy. > Return the "invalid argument" from set_mempolicy whenever > any of these flags is passed along with

Re: [PATCH] dma-buf/sync_file: fix documentation error

2016-09-19 Thread Gustavo Padovan
Hi Emilio, 2016-09-19 Emilio López : > The ioctl name and description on the documentation block don't > match the ioctl being defined. This was probably overlooked while > renaming the ioctls during the sync file destaging. This patch > provides a more accurate

[PATCH] nfs: add missing CONFIG_MIGRATION for nfs_migrate_page

2016-09-19 Thread Chao Yu
We'd better to use CONFIG_MIGRATION to cover nfs_migrate_page, otherwise when CONFIG_MIGRATION is not defined, unused nfs_migrate_page will still be compiled into kernel. Signed-off-by: Chao Yu --- fs/nfs/file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 1/2] ptp_clock: allow for it to be optional

2016-09-19 Thread Eugenia Emantayev
Reviewed-by: Eugenia Emantayev

Re: [PATCH 1/2] ptp_clock: allow for it to be optional

2016-09-19 Thread Jiri Benc
On Sun, 18 Sep 2016 23:51:09 -0400, Nicolas Pitre wrote: > And to make it possible for PTP to be configured out, the select statement > in the Kconfig entry for those ethernet drivers is changed from selecting > PTP_1588_CLOCK to PTP_1588_CLOCK_SELECTED whose purpose is to indicate the > default

[PATCH 27/61] perf c2c report: Add stores related dimension keys

2016-09-19 Thread Jiri Olsa
Adding 5 stores related dimension key wrappers. First 3 are to be displayed in the main cachelines overall output: stores, stores_l1hit, stores_l1miss The latter 2 are to be displayed within single cacheline output: cl_stores_l1hit, cl_stores_l1miss They all display bare numbers of stores

[PATCH 52/61] perf c2c report: Limit the cachelines table entries

2016-09-19 Thread Jiri Olsa
Add a limit for entries number of the cachelines table entries. By default now it's the 0.0005% minimum of remote HITMs. Also display only cachelines with remote hitm or store data. Link: http://lkml.kernel.org/n/tip-inykbom2f19difvsu1e18...@git.kernel.org Signed-off-by: Jiri Olsa

[PATCH 51/61] perf c2c report: Allow to report callchains

2016-09-19 Thread Jiri Olsa
Add --call-graph option to properly setup callchain code. Adding default settings to display callchains whenever they are stored in the perf.data. Link: http://lkml.kernel.org/n/tip-inykbom2f19difvsu1e18...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c |

[PATCH 49/61] perf c2c report: Add shared cachelines stats stdio output

2016-09-19 Thread Jiri Olsa
Display global shared cachelines related stats table as part of the stdio output or when --stats option is speicified: $ perf c2c report --stats ... = Global Shared Cache Line Event Information

[PATCH 50/61] perf c2c report: Add c2c related stats stdio output

2016-09-19 Thread Jiri Olsa
Display c2c related configuration options/setup. So far it's output of monitored events: $ perf c2c report --stats ... = c2c details = Events

[PATCH 47/61] perf c2c report: Add cacheline browser

2016-09-19 Thread Jiri Olsa
Adding single cacheline TUI browser. It triggers when you press 'd' in the main browser on the specific cacheline. It allows to navigate through cacheline's offsets and display callchains (implemented in following patches). Link:

[PATCH 55/61] perf c2c report: Recalc width of global sort entries

2016-09-19 Thread Jiri Olsa
Using resort callbacks to compute the columns' width. Computing only the global ones, c2c entries have fixed width only. Link: http://lkml.kernel.org/n/tip-zyayvq2u3dzyf3y7i9jza...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 12 1 file

[PATCH 42/61] perf c2c report: Add src line sort key

2016-09-19 Thread Jiri Olsa
Adding source line dimension key wrapper. It is to be displayed in the single cacheline output: cl_srcline It displays source line related to the code address that accessed cacheline. It's a wrapper to global srcline sort entry. Link:

[PATCH 39/61] perf c2c report: Add node sort key

2016-09-19 Thread Jiri Olsa
Adding node dimension key wrapper. It is to be displayed in the single cacheline output: node It displays nodes hits related to cacheline accesses. The node filed comes in 3 flavors: - node IDs separated by ',' - node IDs with stats for each ID, in following format: Node{cpus

[PATCH 24/61] perf c2c report: Add offset dimension key

2016-09-19 Thread Jiri Olsa
Adding cacheline offset dimension key support. It displays cacheline offset as hex number. Link: http://lkml.kernel.org/n/tip-m0424ye98lqveg5nopto8...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 35 +++ 1 file changed,

[PATCH 26/61] perf c2c report: Add hitm related dimension keys

2016-09-19 Thread Jiri Olsa
Adding 5 hitm related dimension key wrappers. First 3 are to be displayed in the main cachelines overall output: tot_hitm, lcl_hitm, rmt_hitm The latter 2 are to be displayed within single cacheline output: cl_rmt_hitm, cl_lcl_hitm They all display bare numbers of remote/local/total HITMs

[PATCH 56/61] perf c2c report: Add cacheline index entry

2016-09-19 Thread Jiri Olsa
It's convenient to have an index for each cacheline to help discussions about results over the phone. Add new 'Index' and 'Num' fields in main and single cacheline tables. $ perf c2c report = Shared Data Cache Line Table

[PATCH 57/61] perf c2c report: Add support to manage symbol name length

2016-09-19 Thread Jiri Olsa
The width of symbol and source line entries could get really long and not convenient to display. Adding support to display only patrt of such strings and possibility to switch to full length by uing --full-symbols option or 's' key in TUI browser. Link:

Re: [PATCH] kvm: svm: fix unsigned compare less than zero comparison

2016-09-19 Thread Paolo Bonzini
On 19/09/2016 08:11, Colin King wrote: > From: Colin Ian King > > vm_data->avic_vm_id is a u32, so the check for a error > return (less than zero) such as -EAGAIN from > avic_get_next_vm_id currently has no effect whatsoever. > Fix this by using a temporary int for

[PATCH] IB/rxe: avoid putting a large struct rxe_qp on stack

2016-09-19 Thread Arnd Bergmann
A race condition fix added an rxe_qp structure to the stack in order to be able to perform rollback in rxe_requester(), but the structure is large enough to trigger the warning for possible stack overflow: drivers/infiniband/sw/rxe/rxe_req.c: In function 'rxe_requester':

Re: [PATCH 1/3] mm: memcontrol: make per-cpu charge cache IRQ-safe for socket accounting

2016-09-19 Thread Michal Hocko
[Fixup Vladimir's email] On Wed 14-09-16 15:48:44, Johannes Weiner wrote: > From: Johannes Weiner > > During cgroup2 rollout into production, we started encountering css > refcount underflows and css access crashes in the memory controller. > Splitting the heavily shared css

[PATCH] sbitmap: avoid maybe-uninitialized warning

2016-09-19 Thread Arnd Bergmann
The sbitmap code that has just been turned into a library module returns uninitialized data for sbitmap_weight(), as pointed out by gcc when building with -Wmaybe-uninitialized: lib/sbitmap.c: In function 'sbitmap_weight': lib/sbitmap.c:179:9: error: 'weight' may be used uninitialized in this

[PATCH 2/2 v2] x86/tsc: Add additional Intel CPU models to crystal_khz whitelist

2016-09-19 Thread Prarit Bhargava
In commit aa297292d708 ("x86/tsc: Enumerate SKL cpu_khz and tsc_khz via CPUID"), the kernel added support for Intel processors which had a different CPU base-frequency and TSC frequency. The turbostat utility has been updated with KBL and SKX processors, and they should also be added to the

[PATCH 1/2 v2] x86,tsc: Use cpu id defines from intel-family.h

2016-09-19 Thread Prarit Bhargava
asm/intel-family.h contains defines for cpu ids which should be used in the native_calibrate_tsc() function. Signed-off-by: Prarit Bhargava Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc:

[PATCH] drm: include linux/seq_file.h as needed

2016-09-19 Thread Arnd Bergmann
The addition of the debugfs info created references to seq_puts() and seq_printf(), but relied on the debugfs header to be included implicitly, which apparently doesn't happen all the time, as seen from this randconfig build output: drivers/gpu/drm/drm_dp_helper.c: In function

[PATCH] sbitmap: initialize weight to zero

2016-09-19 Thread Colin King
From: Colin Ian King Variable weight is not being initialized to zero before it is used to compute the weight sum. Ensure it is initialized to zero. Found with static analysis with cppcheck: [lib/sbitmap.c:177]: (error) Uninitialized variable: weight Signed-off-by:

Re: [PATCH] mtd: s3c2410: add device tree support

2016-09-19 Thread Sylwester Nawrocki
On 09/17/2016 05:22 PM, Sergio Prado wrote: > +static int s3c24xx_nand_probe_dt(struct platform_device *pdev) > +{ > + const struct s3c24XX_nand_devtype_data *devtype_data; > + struct s3c2410_platform_nand *pdata; > + struct s3c2410_nand_info *info = platform_get_drvdata(pdev); > +

Re: [PATCH v2 0/8] Qualcomm video decoder/encoder driver

2016-09-19 Thread Hans Verkuil
Hi Stanimir, I've finished my review of this patch series. I'll be traveling for the next three weeks, so you can take your time with making a v3 since it is very unlikely I'll be able to review it before I'm back mid-October. Thanks for working on this! Regards, Hans On 09/07/2016

Re: [RFC PATCH 2/8] thread_info: allow custom in-task thread_info

2016-09-19 Thread Mark Rutland
[Adding Yosinori Sato for h8300] On Fri, Sep 16, 2016 at 08:11:14AM -0700, Andy Lutomirski wrote: > > On Thu, Sep 15, 2016 at 11:37:47AM -0700, Andy Lutomirski wrote: > > > On Thu, Sep 15, 2016 at 6:49 AM, Mark Rutland > > > wrote: > > Just to check, what do you mean to

Crypto Fixes for 4.8

2016-09-19 Thread Herbert Xu
Hi Linus: This push fixes a potential weakness in IPsec CBC IV generation, as well as a number of issues that arose out of an OOM crash on ARM with CTR-mode AES. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus Ard Biesheuvel (2): crypto:

[PATCH resend v3] i2c: hibvt: add Hisilicon BVT I2C controller driver

2016-09-19 Thread Pan Wen
add Hisilicon BVT I2C controller driver support. Signed-off-by: Pan Wen --- .../devicetree/bindings/i2c/i2c-hibvt.txt | 24 + drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile| 1 +

[PATCH v4 1/3] usb: chipidea: imx: Change switch order

2016-09-19 Thread Fabien Lahoudere
Each USB controller have different behaviour, so in order to avoid to have several "swicth(data->index)" and lock/unlock, we prefer to get the index switch and then test for features if they exist for this index. This patch also remove useless test of reg and val. Those two values cannot be NULL.

Re: [PATCH] iommu/vt-d: Fix the size calculation of pasid table

2016-09-19 Thread Joerg Roedel
[Cc'ing David] On Mon, Sep 12, 2016 at 10:49:11AM +0800, Xunlei Pang wrote: > According to the vt-d spec, the size of pasid (state) entry is 8B > which equals 3 in power of 2, the number of pasid (state) entries > is (ecap_pss + 1) in power of 2. > > Thus the right size of pasid (state) table in

Re: [PATCH] HID: alps: fix stick device not working after resume

2016-09-19 Thread Jiri Kosina
On Mon, 19 Sep 2016, Kai-Heng Feng wrote: > The stick device does not work after resume, add U1_SP_ABS_MODE flag can > make the device work after resume. Do you happen to have any more details on why it doesn't work without U1_SP_ABS_MODE? Or was this a pure guesswork? > > Signed-off-by:

[RFC] Arm64 boot fail with numa enable in BIOS

2016-09-19 Thread Yisheng Xie
hi all, When I enable NUMA in BIOS for arm64, it failed to boot on v4.8-rc4-162-g071e31e. For the crash log, it seems caused by error number of cpumask. Any ideas about it? Thanks. The related config and detail dmesg can be seen in the attachment. --- crash messages --- [1.279155]

[PATCH 31/61] perf c2c report: Add total record sort key

2016-09-19 Thread Jiri Olsa
Adding total record dimension key wrapper. It is to be displayed in the main cachelines overall output: tot_recs It displays sum of all cachelines accesses. Link: http://lkml.kernel.org/n/tip-wojujik7zzen770mxn295...@git.kernel.org Signed-off-by: Jiri Olsa ---

[PATCH 18/61] perf c2c report: Fallback to standard dimensions

2016-09-19 Thread Jiri Olsa
Fallback to standard dimensions in case we don't find the dimension within c2c ones. Link: http://lkml.kernel.org/n/tip-w3yrcawal0dr1w9pcu4gy...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 12 1 file changed, 8 insertions(+), 4

[PATCH 28/61] perf c2c report: Add loads related dimension keys

2016-09-19 Thread Jiri Olsa
Adding 3 loads related dimension key wrappers. They are to be displayed in the main cachelines overall output: ld_fbhit, ld_l1hit, ld_l2hit They all display bare numbers of loads for FB (Fill Buffer), L1 and L2 cache. Link: http://lkml.kernel.org/n/tip-wxrzhy74zl8fvkvgjae3w...@git.kernel.org

[PATCH 38/61] perf c2c report: Add symbol and dso sort keys

2016-09-19 Thread Jiri Olsa
Adding symbol and dso dimension key wrappers. They are to be displayed in the single cacheline output: symbol, dso They are wrappers for global sort_sym and sort_dso sort entries with c2c specific headers. Link: http://lkml.kernel.org/n/tip-6742e6g0r7n63y5wc4rrg...@git.kernel.org

[PATCH 34/61] perf c2c report: Add hitm/store percent related sort keys

2016-09-19 Thread Jiri Olsa
Adding hitm/store percent dimension key wrappers. They are to be displayed in the single cacheline output: percent_rmt_hitm, percent_lcl_hitm, percent_stores_l1hit, percent_stores_l1miss They display percentage of HITMs/stores for specific offset in the cacheline. Link:

[PATCH 40/61] perf c2c report: Add stats related sort keys

2016-09-19 Thread Jiri Olsa
Adding statistic dimension key wrapper. It is to be displayed in the single cacheline output: median, mean_rmt, mean_lcl, mean_load, stddev It displays statistics hits related to cacheline accesses. Link: http://lkml.kernel.org/n/tip-m1r4uc9lcykf1jhpvwk2g...@git.kernel.org Signed-off-by:

[PATCH 35/61] perf c2c report: Add dram related sort keys

2016-09-19 Thread Jiri Olsa
Adding dram related dimension key wrappers. They are to be displayed in the main cachelines overall output: dram_lcl, dram_rmt They display DRAM rmt/lcl access numbers for specific cacheline. Link: http://lkml.kernel.org/n/tip-tl3qqi9ehk6g1fla4z7y0...@git.kernel.org Signed-off-by: Jiri Olsa

[PATCH 25/61] perf c2c report: Add iaddr dimension key

2016-09-19 Thread Jiri Olsa
Adding iaddr dimension key support. It displays code address (as hex number) responsible for the accesses. Using c2c wrapper to standard 'symbol_iaddr' object to define own header and simple (just address) code address output. Link:

linux-next: new scheduler messages span: 0-15 (max cpu_capacity = 589) when starting KVM guests

2016-09-19 Thread Christian Borntraeger
Dietmar, Ingo, Tejun, since commit cd92bfd3b8cb0ec2ee825e55a3aee704cd55aea9 sched/core: Store maximum per-CPU capacity in root domain I get tons of messages from the scheduler like [..] span: 0-15 (max cpu_capacity = 589) span: 0-15 (max cpu_capacity = 589) span: 0-15 (max cpu_capacity = 589)

[PATCH 36/61] perf c2c report: Add pid sort key

2016-09-19 Thread Jiri Olsa
Adding pid dimension key wrapper. It is to be displayed in the single cacheline output: pid We currently don't have a single 'pid' sort/display entry, which would output just pid number, hence adding it into c2c code. Link: http://lkml.kernel.org/n/tip-3o23qrspxc99b04ci1swl...@git.kernel.org

[PATCH 37/61] perf c2c report: Add tid sort key

2016-09-19 Thread Jiri Olsa
Adding tid dimension key wrapper. It is to be displayed in the single cacheline output: tid It's a wrapper for global sort_thread sort entry with c2c specific header. Link: http://lkml.kernel.org/n/tip-fr0socae5skzvz5qbkl85...@git.kernel.org Signed-off-by: Jiri Olsa ---

Re: [PATCH v2 0/3] Armada 7k/8k CP110 system controller fixes

2016-09-19 Thread Marcin Wojtas
Hi Stephen, Did you have any chance to take a look at v2? Do you have any remarks? Best regards. Marcin 2016-09-06 19:31 GMT+02:00 Marcin Wojtas : > Hi, > > Here is the second version of the patchset adding fixes to CP110 > system controller clock driver. As requested during

[PATCH 41/61] perf c2c report: Add cpu cnt sort key

2016-09-19 Thread Jiri Olsa
Adding cpu count dimension key wrapper. It is to be displayed in the single cacheline output: cpucnt It displays number of distinct cpus that hit cacheline. Link: http://lkml.kernel.org/n/tip-ib2kdwam52fby9u2k3ij6...@git.kernel.org Signed-off-by: Jiri Olsa ---

[PATCH 23/61] perf c2c report: Add dcacheline dimension key

2016-09-19 Thread Jiri Olsa
Adding dcacheline dimension key support. It displays cacheline address as hex number. Using c2c wrapper to standard 'dcacheline' object to defined own header and simple (just address) cacheline output. Link: http://lkml.kernel.org/n/tip-j5enppr8e7h27nskqhgq3...@git.kernel.org Signed-off-by: Jiri

[PATCH 30/61] perf c2c report: Add llc load miss dimension key

2016-09-19 Thread Jiri Olsa
Adding LLC load miss dimension key wrapper. It is to be displayed in the main cachelines overall output: ld_llcmiss It displays bare number of LLC misses for cacheline. Link: http://lkml.kernel.org/n/tip-wojujik7zzen770mxn295...@git.kernel.org Signed-off-by: Jiri Olsa ---

[PATCH 43/61] perf c2c report: Setup number of header lines for hists

2016-09-19 Thread Jiri Olsa
Allow to setup number of header lines for c2c hists objects. Link: http://lkml.kernel.org/n/tip-4ilsf0ulubrd4y96g7tnp...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git

[PATCH 29/61] perf c2c report: Add llc and remote loads related dimension keys

2016-09-19 Thread Jiri Olsa
Adding 2 LLC load related dimension key wrappers. They are to be displayed in the main cachelines overall output: ld_lclhit, ld_rmthit They display bare numbers of LLC and remote loads for cacheline. Link: http://lkml.kernel.org/n/tip-ahjg0voaufefboemjuj9y...@git.kernel.org Signed-off-by:

[PATCH 45/61] perf c2c report: Add stdio output support

2016-09-19 Thread Jiri Olsa
Adding the --stdio option output support. The output tables are dumped directly to the stdio. $ perf c2c report = Shared Data Cache Line Table = # # Total

[PATCH 33/61] perf c2c report: Add hitm percent sort key

2016-09-19 Thread Jiri Olsa
Adding HITM percent dimension key wrapper. It is to be displayed in the main cachelines overall output: percent_hitm It displays HITMs percentage for cacheline. It counts remote HITMs at the moment, but it is changed later to support local as well, based on the sort configuration. Link:

Re: [PATCH 5/7] openrisc: Support both old (or32) and new (or1k) toolchain

2016-09-19 Thread Guenter Roeck
On 09/19/2016 02:11 AM, Stafford Horne wrote: On Mon, 19 Sep 2016, Guenter Roeck wrote: On 09/18/2016 11:02 PM, Stafford Horne wrote: On Sun, 18 Sep 2016, Guenter Roeck wrote: > Tested-by: Guenter Roeck > > If you plan to handle openrisc going forward, it would be

[PATCH 44/61] perf c2c report: Set final resort fields

2016-09-19 Thread Jiri Olsa
Set resort/display fields for both cachelines and single cacheline displays. Cachelines are sorted on: rmt_hitm will be made configurable in following patches. Following fields are display for cachelines: dcacheline tot_recs percent_hitm tot_hitm,lcl_hitm,rmt_hitm

[PATCH 32/61] perf c2c report: Add total loads sort key

2016-09-19 Thread Jiri Olsa
Adding total loads dimension key wrapper. It is to be displayed in the main cachelines overall output: tot_loads It displays sum of all load accesses for cacheline. Link: http://lkml.kernel.org/n/tip-czd17qsh5u5z0yc1estz9...@git.kernel.org Signed-off-by: Jiri Olsa ---

Build regressions/improvements in v4.8-rc7

2016-09-19 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.8-rc7[1] compared to v4.7[2]. Summarized: - build errors: +7/-12 - build warnings: +1163/-810 JFYI, when comparing v4.8-rc7[1] to v4.8-rc6[3], the summaries are: - build errors: +2/-4 - build warnings: +626/-573

[PATCH net-next v3] xen-netfront: avoid packet loss when ethernet header crosses page boundary

2016-09-19 Thread Vitaly Kuznetsov
Small packet loss is reported on complex multi host network configurations including tunnels, NAT, ... My investigation led me to the following check in netback which drops packets: if (unlikely(txreq.size < ETH_HLEN)) { netdev_err(queue->vif->dev,

[PATCH v4 01/29] doc-rst: add CSS styles for :kbd: and :menuselection:

2016-09-19 Thread Mauro Carvalho Chehab
As we're about to use those two markups, add them to the theme style overrride. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx-static/theme_overrides.css | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git

[PATHCv10 1/2] usb: USB Type-C connector class

2016-09-19 Thread Heikki Krogerus
The purpose of USB Type-C connector class is to provide unified interface for the user space to get the status and basic information about USB Type-C connectors on a system, control over data role swapping, and when the port supports USB Power Delivery, also control over power role swapping and

  1   2   3   4   5   6   7   8   9   10   >