This series adds an algorithm for an I2C master physically located on an FSI
slave device. The I2C master has multiple ports, each of which may be connected
to an I2C slave. Access to the I2C master registers is achieved over FSI bus.
Due to the multi-port nature of the I2C master, the driver inst
Since there are many ports per master, each with it's own adapter and
chardev, we need some locking to prevent transfers from changing the
master state while other transfers are in progress.
Signed-off-by: Eddie James
Reviewed-by: Andy Shevchenko
---
drivers/i2c/busses/i2c-fsi.c | 16 ++
Add register definitions for FSI-attached I2C master and functions to
access those registers over FSI. Add an FSI driver so that our I2C bus
is probed up during an FSI scan.
Signed-off-by: Eddie James
Reviewed-by: Andy Shevchenko
---
drivers/i2c/busses/Kconfig | 11 ++
drivers/i2c/busses/Mak
Signed-off-by: Eddie James
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 10fd4c0..63f6d41 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -5888,6 +5888,14 @@ F: fs/crypto/
F: include/linux/fscrypt*.h
F: Documentation/file
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 91
1 file changed, 91 insertions(+)
diff --git a/drivers
Execute I2C transfers from the FSI-attached I2C master. Use polling
instead of interrupts as we have no hardware IRQ over FSI.
Signed-off-by: Eddie James
Reviewed-by: Andy Shevchenko
---
drivers/i2c/busses/i2c-fsi.c | 195 ++-
1 file changed, 193 insertio
Bus recovery should reset the bus with the standard i2c recovery
procedure. Populate the necessary fields so that the standard procedure
can perform the reset.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 132 +++
1 file changed, 132 inser
Add abort procedure for failed transfers. Add engine reset procedure
that is executed during the abort to recover from various fault
conditions.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 91
1 file changed, 91 insertions(+)
diff -
Document the bindings.
Signed-off-by: Eddie James
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/i2c/i2c-fsi.txt | 40 +++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt
diff --git a/Documentation/devicetr
On Thu, Jul 05, 2018 at 08:38:36PM +0200, Andrea Parri wrote:
> > No, I'm definitely not pushing for anything stronger. I'm still just
> > wondering if the name "RCsc" is right for what you described. For
> > example, Andrea just said this in a parallel email:
> >
> > > "RCsc" as ordering everyt
On 07/05/2018 08:14 AM, Pascal PAILLET-LME wrote:
From: pascal paillet
The stpmu1 PMIC embeds a watchdog which is disabled by default. As soon
as the watchdog is started, it must be refreshed periodically otherwise
the PMIC goes off.
Signed-off-by: pascal paillet
---
drivers/watchdog/Kconfi
On 07/02/2018 01:15 PM, Wolfram Sang wrote:
Hi Eddie,
I think this is a way too aggressive recovery. Your are doing the 9
pulse toggles basically on any error while this is only when the device
keeps SDA low and you want to recover from that. If SDA is not stuck
low, sending a STOP should do
On 07/02/2018 01:24 PM, Wolfram Sang wrote:
+ if (msg->flags & I2C_M_RD)
+ cmd |= I2C_CMD_READ;
Since you support MANGLING, I'd think you can easily support
I2C_M_REV_DIR_ADDR here, too?
Hm, I don't really understand the purpose of that flag. From the docs:
This toggles
The #if 0 and #if 1 are used to toggle features. Wharn if #if 1 or #if 0
is present. If #if 0 is present, warn about that part of code being
redundant and that it could be removed. Also, if #if 1 is present, suggest
that if the code is required then the #if 1 can be removed. In either
case, these p
On 25/06/2018 15:20, Jiri Kosina wrote:
On Thu, 14 Jun 2018, vereecke@skynet.be wrote:
Attached is a patch enabling (most of) the Fn function keys for the Asus ROG
Strix GL730 Laptop. The keyboard identifies as a USB device 0x1869.
This patch enables:
volume/mute keys, ROG key, rew/pl
Hi Bo,
On Thu, 5 Jul 2018 11:20:59 -0700
Bo Yan wrote:
> The of_address_to_resource returns 0 if successful. gic_check_eoimode
> calls it without checking the return value. This induces Coverity
> warning: "Unchecked return value".
>
> Return false from gic_check_eoimode if of_address_to_resour
Marc,
I'm also wondering if of_address_to_resource can really fail in this
particular case?
What if we just explicitly discard the return value like this:
(void)of_address_to_resource(node, 1, &cpuif_res);
This suppresses Coverity warning by explicitly stating we are 100% sure
the function
Kees Cook writes:
> On Mon, Jul 2, 2018 at 12:45 PM, Eric Anholt wrote:
>> Kees - with this fix to your patch, the kernel boots again (otherwise,
>> the FW would try to parse the uninitialized bits of stack and throw
>> errors). If you're good with me squashing this in, I'll do so and
>> send i
On Mon, Jul 02, 2018 at 08:23:00PM +0200, Fabio Coatti wrote:
> Yep, it does. I issued a
> git revert d657c5c73ca987214a6f9436e435b34fc60f332a
> on mainline (4.18-rc3) and recompiled, the card works just fine.
Thanks for confirming. I'll end the revert to Linus this week.
Marc,
Sorry for the previous reply. My email settings were not correct, so it
inserted those confidentiality text, which was not what I intended.
This is what I think:
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c
index ced10c4..0b60bb0 100644
--- a/drivers/irqchip/irq-gi
Move the NXP DPIO (Datapath I/O Driver) out of the
drivers/staging directory and into the drivers/soc/fsl directory.
The DPIO driver enables access to Queue and Buffer Manager (QBMAN)
hardware on NXP DPAA2 devices. This is a prerequisite to moving the
DPAA2 Ethernet driver out of staging.
Signed-
Move the NXP DPIO (Datapath I/O driver) from the staging/fsl-mc/bus/dpio
directory to the drivers/soc/fsl directory.
The DPIO driver enables access to the Queue and Buffer Managemer (QBMAN)
hardware of NXP DPAA2 devices. This is a prerequiste for moving the DPAA2
Ethernet device driver from the st
Remove the staging/drivers/fsl-mc directory from the staging
area now that all the components have been moved to the main
kernel areas.
Signed-off-by: Roy Pledge
---
drivers/staging/Kconfig | 2 --
drivers/staging/Makefile| 1 -
drivers/staging/fsl-mc/Kconfig | 2 --
On Wed, 4 Jul 2018 21:00:14 +0530
Souptick Joarder wrote:
> convert mbochs_region_vm_fault and mbochs_dmabuf_vm_fault
> to return vm_fault_t type.
>
> Signed-off-by: Souptick Joarder
> ---
> samples/vfio-mdev/mbochs.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git
On Tue, Jul 3, 2018 at 5:39 PM houlong wei wrote:
>
> On Tue, 2018-07-03 at 10:30 +0800, Rob Herring wrote:
> > On Wed, Jun 27, 2018 at 07:16:09PM +0800, Houlong Wei wrote:
> > > This adds documentation for the MediaTek Global Command Engine (GCE) unit
> > > found in MT8173 SoCs.
> > >
> > > Signe
On Thu, Jul 05, 2018 at 08:31:42AM -0700, Dave Hansen wrote:
> On 07/03/2018 11:19 AM, Jarkko Sakkinen wrote:
> > +struct sgx_secs {
> > + uint64_t size;
> > + uint64_t base;
> > + uint32_t ssaframesize;
> > + uint32_t miscselect;
> > + uint8_t reserved1[SGX_SECS_RESERVED1_SIZE];
> > +
DT allows CPU PMU variant detection via the PMU device compatible
property. ACPI does not have an equivalent mechanism so we introduce
a probe table to allow this via a device nested inside the CPU device
in the DSDT:
Device (CPU0)
{
Name (_HID, "ACPI0007" /* Processor Device */)
...
D
This series is a complete re-design of V1 of the QCOM Falkor extensions [1],
it introduces a probe table based on the HID of a device nested under the CPU
device to allow variant detection and arm_pmu customization.
The first patch adds an additional section at the end of each ACPI probe table.
Th
Selection of these events can be envisioned as indexing them from
a 3D matrix:
- the first index selects a Region Event Selection Register (PMRESRx_EL0)
- the second index selects a group from which only one event at a time
can be selected
- the third index selects the event
These events are enc
PC capture is an IMPLEMENTATION DEFINED extension to the ARMv8 PMUv3 that
allows more precise PC sampling by storing the PC in a separate system
register when an event counter overflow occurs. Reduces skid and allows
sampling when interrupts are disabled (since the PMI is a maskable interrupt
in ar
Tables declared with the ACPI_PROBE_TABLE linker macro are typically
traversed by using the start and end symbols created by the linker
script. However, there are some APIs that use sentinel-delimited
tables (e.g. acpi_match_device). To better support these APIs an
additional section is added at th
On Wed, Jul 04, 2018 at 10:56:26PM +0530, Amit Kucheria wrote:
> On Tue, Jul 3, 2018 at 9:56 PM, Rob Herring wrote:
> > On Mon, Jul 02, 2018 at 06:14:07PM +0530, Amit Kucheria wrote:
> >> SDM845 uses v2.4.0 of the TSENS IP block but the get_temp() function
> >> appears to be identical across v2.x.
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva
---
drivers/platform/x86/dell-laptop.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/platform/x86/dell-laptop.c
b/drivers/platform/x86/
On Thu, Jul 05, 2018 at 05:32:58PM +0300, Matti Vaittinen wrote:
> Document devicetree bindings for ROHM BD71837 PMIC MFD.
>
> Signed-off-by: Matti Vaittinen
> ---
> .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 62
> ++
> 1 file changed, 62 insertions(+)
> create mo
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Warning level 2 was used: -Wimplicit-fallthrough=2
Signed-off-by: Gustavo A. R. Silva
---
drivers/platform/x86/acer-wmi.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/
On Thu, Jul 05, 2018 at 10:25:09PM +0530, Balakrishna Godavarthi wrote:
> This patch enables regulators for the Qualcomm Bluetooth wcn3990
> controller.
>
> Signed-off-by: Balakrishna Godavarthi
> ---
> Changes in v9:
> * updated with latest reg handle and names.
> * updated max-speed def
On Tue, Jun 26, 2018 at 7:29 PM, Kees Cook wrote:
> In the quest to remove all stack VLA usage from the kernel[1], this
> uses the maximum size needed on the stack and adds a sanity check for
> robustness: index.block_size cannot be larger than PAGE_SIZE nor less
> than NTFS_BLOCK_SIZE.
>
> [1]
>
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva
---
drivers/platform/x86/sony-laptop.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/platform/x86/sony-laptop.c
b/drivers/platform/x86/so
Hi Rob.
On 07/04/2018 02:46 AM, Rob Landley wrote:
I have some questions about recent changes to leds-pca955x.c since 4.13:
How is non-of platform data supposed to work now? Commit ed1f4b9676a8 switched
struct led_platform_data *pdata in the _probe() function to a locally defined
structure that
On Thursday, July 5, 2018 7:50:37 AM CEST Lee Jones wrote:
> On Wed, 04 Jul 2018, Janusz Krzysztofik wrote:
> > On Tuesday, July 3, 2018 7:31:41 PM CEST Boris Brezillon wrote:
> > > Hi Janusz,
> > >
> > > On Tue, 3 Jul 2018 19:26:35 +0200
> > >
> > > Janusz Krzysztofik wrote:
> > > > Avoid repl
On Thu, Jul 5, 2018 at 10:53 PM wrote:
>
> From: Xiubo Li
>
> For the target_core_user use case, after the device is unregistered
> it maybe still opened in user space, then the kernel will crash, like:
>
[...]
>
> Signed-off-by: Xiubo Li
> ---
> drivers/uio/uio.c | 101
> +
Hi Rob,
Thanks for reviewing.
On Tue, Jul 3, 2018 at 7:04 PM Rob Herring wrote:
>
> On Thu, Jun 28, 2018 at 01:42:02AM -0400, Luis Araneda wrote:
> > +- Adapteva Parallella board
> > + "adapteva,parallella"
>
> This is documented in adapteva.txt, but I'd prefer if you put it
> here and remove a
> -Original Message-
> From: Ingo Molnar On Behalf Of Ingo Molnar
> Sent: Thursday, July 5, 2018 8:38 AM
> To: KY Srinivasan
> Cc: x...@kernel.org; gre...@linuxfoundation.org; linux-
> ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de;
> a...@canonical.com; jasow...@r
Hi Rob,
On Tue, Jul 3, 2018 at 7:07 PM Rob Herring wrote:
> Maybe so, but you can't just go around changing compatible strings. Once
> set, it's an ABI.
Ok, I'll drop the patch from v2.
Thanks,
Luis Araneda.
On Thu, Jun 21, 2018 at 05:08:34PM -0400, William Breathitt Gray wrote:
> From: Benjamin Gaignard
>
> Add bindings for STM32 Timer quadrature encoder.
> It is a sub-node of STM32 Timer which implement the
> quadratic encoder part of the hardware.
>
> Cc: Rob Herring
> Cc: Mark Rutland
> Signed
On Thu, Jun 21, 2018 at 05:08:57PM -0400, William Breathitt Gray wrote:
> From: Fabrice Gasnier
>
> The STM32 LP Timer counter driver now resides under the Counter
> subsystem. This patch adjusts dt-bindings to account for the STM32
> lptimer driver move.
>
> Cc: Rob Herring
> Cc: Mark Rutland
On Thu, 2018-07-05 at 11:19 -0700, Prakruthi Deepak Heragu wrote:
> mb() API can relpace the dsb() API in the kernel code. So, dsb() usage
> is discouraged. However, there are exceptions when dsb is used in a
> variable or a function name. Exceptions are when 'dsb' is prefixed with
> class [-_>*\.]
On Thu, Jul 05, 2018 at 09:09:28AM +0800, Stanley Chu wrote:
> This patch fixes bindings of existed "General Purpose Timer",
> and then add bindings of new "System Timer" on Mediatek SoCs.
>
> Signed-off-by: Stanley Chu
> ---
> .../bindings/timer/mediatek,mtk-timer.txt | 36
> +++
On Wed, Jul 04, 2018 at 05:32:53PM +0300, Stefan Popa wrote:
> Signed-off-by: Stefan Popa
> ---
> Changes in v5:
> - used a dac@0 as a more generic node name instead of ad5758@0.
> Changes in v4:
> - Nothing changed, just to follow the patch set version.
> Changes in v3:
> - AD57
On Sun, Jul 01, 2018 at 10:53:00PM +0530, Manivannan Sadhasivam wrote:
> Add devicetree binding for Actions Semiconductor Owl I2C controller
>
> Signed-off-by: Manivannan Sadhasivam
> ---
> .../devicetree/bindings/i2c/i2c-owl.txt | 27 +++
> 1 file changed, 27 insertions(+)
On Mon, Jul 02, 2018 at 05:12:19PM +0800, alanx.chi...@intel.com wrote:
> From: Alan Chiang
>
> The AT24 series chips use 8-bit address by default. If some
> chips would like to support more than 8 bits, the at24 driver
> should be added the compatible field for specfic chips.
>
> Provide a flex
Negative integer return codes should prefer to use #define -
values instead of negative numbers. This patch checks if there are any
negative numbers returned. Also, display context so that the user knows
where the return value is incorrect.
http://lkml.org/lkml/2010/7/23/318
There's lots of "ret
On Wed, Jul 04, 2018 at 02:36:38PM +0200, Andreas Klinger wrote:
> Add clock-frequency property for hx711 ADC
>
> This is the frequency of PD_SCK. It affects only the high value duration
> since low value duration is not relevant and we are not able to switch
> faster than the minimum duration spe
On Wed, Jul 04, 2018 at 02:37:19PM +0200, Andreas Klinger wrote:
> device tree compiler (dtc) gives a warning if a device node has "@" with a
> following number as it's name but no reg property.
>
> fix the example in the documentation of avia,hx711 to conform to dtc
> behavior
Capitalization and
Paul,
On 3 July 2018 at 18:02, Paul Cercueil wrote:
The register area of the JZ4780 DMA core can be split into different
sections for different purposes:
* one set of registers is used to perform actions at the DMA core
level,
that will generally affect all channels;
* one set of r
Posted v2 now.
Fengguang,
Also the make.cross script pointed to by the kernel test bot is broken
for riscv.
I applied the following fix to compile it.
Pull request: https://github.com/intel/lkp-tests/pull/11
Thanks,
Deepa
On Thu, Jul 5, 2018 at 1:33 PM, Thomas Gleixner wrote:
> On Thu, 5 Jul
On Thu, 5 Jul 2018, Rob Herring wrote:
> On Mon, Jul 02, 2018 at 05:12:19PM +0800, alanx.chi...@intel.com wrote:
> > From: Alan Chiang
> >
> > The AT24 series chips use 8-bit address by default. If some
> > chips would like to support more than 8 bits, the at24 driver
> > should be added the comp
Sure.
On Thu, Jul 5, 2018 at 12:08 PM, Laura Abbott wrote:
> On 07/05/2018 08:58 AM, Andy Lutomirski wrote:
>>
>> On Tue, Jul 3, 2018 at 4:34 PM, Laura Abbott wrote:
>>>
>>>
>>> The vDSO needs to have a unique build id in a similar manner
>>> to the kernel and modules. Use the build salt macro.
Signed-off-by: Girish Mahadevan
---
.../devicetree/bindings/spi/qcom,spi-qcom-qspi.txt | 36 ++
err.txt| 27
2 files changed, 36 insertions(+), 27 deletions(-)
create mode 100644 Documentation/devicetree/bindings/sp
New driver for Qualcomm QuadSPI(QSPI) controller that is used to
communicate with slaves such flash memory devices. The QSPI controller
can operate in 2 or 4 wire mode but only supports SPI Mode 0 and SPI
Mode 3. The controller can also operate in Single or Dual data rate modes.
Signed-off-by: Gir
I am Sgt.Brenda Wilson, originally from Lake Jackson Texas USA.I personally
made a special research and I came across your information. I am presently
writing this mail to you from U.S Military base Kabul Afghanistan I have a
secured business proposal for you. Reply for more details via my pr
As use of sys_open/close/read/write system calls from within the kernel
code is inappropriate, an error is triggered if used.
Signed-off-by: Prakruthi Deepak Heragu
---
scripts/checkpatch.pl | 7 +++
1 file changed, 7 insertions(+)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
On July 5, 2018 1:09:12 PM PDT, Jarkko Sakkinen
wrote:
>On Thu, Jul 05, 2018 at 08:31:42AM -0700, Dave Hansen wrote:
>> On 07/03/2018 11:19 AM, Jarkko Sakkinen wrote:
>> > +struct sgx_secs {
>> > + uint64_t size;
>> > + uint64_t base;
>> > + uint32_t ssaframesize;
>> > + uint32_t miscselect;
On Thu, 5 Jul 2018 06:47:37 + "Tian, Baofeng"
wrote:
> -Original Message-
> From: Andrew Morton [mailto:a...@linux-foundation.org]
> Sent: Tuesday, July 3, 2018 5:31 AM
> To: Tian, Baofeng
> Cc: andrew.smir...@gmail.com; linux-kernel@vger.kernel.org; Zhuang, Qihua
>
> Subject: Re
On Thu, 5 Jul 2018 17:12:36 +0200 Manfred Spraul
wrote:
> Hi Dmitry,
>
> On 07/05/2018 10:36 AM, Dmitry Vyukov wrote:
> > [...]
> > Hi Manfred,
> >
> > The series looks like a significant improvement to me. Thanks!
> >
> > I feel that this code can be further simplified (unless I am missing
> >
On Thu, 2018-07-05 at 14:47 -0700, Prakruthi Deepak Heragu wrote:
> As use of sys_open/close/read/write system calls from within the kernel
> code is inappropriate, an error is triggered if used.
[]
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
[]
> @@ -5372,6 +5372,13 @@ sub proces
> I meant that the hardware cannot interpret this, it would be a meaningless
> command unfortunately.
I see. Thanks for double-checking.
signature.asc
Description: PGP signature
Eddie,
> Thanks for the details. I have sent up a new series which will only do the
> bus reset if SDA is low. With our current hardware configuration, this
Thanks.
> *should* be sufficient to recover all the possible errors. However, there
> are configurations where it will not be enough, in wh
On Wed, 4 Jul 2018 10:31:53 -0700 Kees Cook wrote:
> As already done treewide, switch from open-coded multiplication to using
> 2-factor allocation helpers.
>
This is against resource-add-walk_system_ram_res_rev.patch
(http://lkml.kernel.org/r/20180322033722.9279-2-...@redhat.com).
That patch
On Wed, 4 Jul 2018 18:51:12 +0300 Kirill Tkhai wrote:
> > - why aren't we decreasing shrinker_nr_max in
> > unregister_memcg_shrinker()? That's easy to do, avoids pointless
> > work in shrink_slab_memcg() and avoids memory waste in future
> > prealloc_memcg_shrinker() calls.
>
> You sure,
Following in the footsteps of what was done for filters, adding the
necessary mechanic needed to push down driver specific configuration
to the kernel using an ioctl. By proceeding this way PMU specific
configuration such as CoreSight sink specification can be communicated
to each event.
Signed-of
When pmu::setup_aux() is called the coresight PMU needs to know which
sink to use for the session by looking up the information in the
drv_config field of the hw_perf_event structure.
As such simply replace the cpu information by the complete perf_event
structure and change all affected customers.
Using sysFS to communicate sink information for a trace session doesn't
work when more than one CPU is involved in the scenario. As such
communicate the sink information to each event by using the SET_DRV_CONFIG
ioctl command.
Signed-off-by: Mathieu Poirier
---
tools/perf/arch/arm/util/cs-etm.c
Make structure perf_evsel available to the PMU driver configuration code.
That way function perf_evsel__apply_drv_config() can be used from within
that code and information pertaining to the 'perf_evsel_config_term' is
still available.
Signed-off-by: Mathieu Poirier
---
tools/perf/arch/arm/util/
Adding a new IOCTL command to communicate PMU specific configuration to
PMU kernel drivers. This can be anything a PMU might need for
configuration that doesn't fit in the perf_event_attr structure, such
as the CoreSight sink to use for a session.
Signed-off-by: Mathieu Poirier
---
include/uapi
This patch uses the PMU driver configuration held in event::hw::drv_config
to select a sink for each event that is created (the old sysFS way of
working is kept around for backward compatibility).
By proceeding in this way a sink can be used by multiple sessions
without having to play games with e
This patch adds the mechanic needed for user space to send PMU specific
configuration to the kernel driver using an ioctl() command. That way
events can keep track of options that don't fit in the perf_event_attr
structure like the selection of a CoreSight sink to use for the session.
Signed-off-
This set adds the capability to communiate event specific configuration
to the PMU kernel driver using an ioctl(). The functionatlity is made
generic enough for anyone to use but is targeted at the identification
of CoreSight sinks when operating in CPU-wide trace scenarios.
Other than the change
Hi Matt,
On Sat, May 26, 2018 at 12:35:23PM -0700, Matt Turner wrote:
> This Multi-IO card has one serial 16550-like serial connectors. Here's
> the lspci output, after this commit is applied:
>
> 01:00.0 Serial controller [0700]: Device [1c00:3470] (rev 10) (prog-if 05
> [16850])
> Subs
On 07/04/2018 10:47 PM, Bin Yang wrote:
> When changing a 4K page attr inside 1G/2M large page range,
> __change_page_attr() will call try_preserve_large_page() to decide
> to split the big page or not. And try_preserve_large_page() will
> call static_protections() to check all 4K pages inside the
* KY Srinivasan wrote:
>
>
> > -Original Message-
> > From: Ingo Molnar On Behalf Of Ingo Molnar
> > Sent: Thursday, July 5, 2018 8:38 AM
> > To: KY Srinivasan
> > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux-
> > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@
On Fri, 6 Jul 2018, Ingo Molnar wrote:
> * KY Srinivasan wrote:
> > I am confused. The label ipi_mask_done was introduced in this patch
> > (the patch under question fixes a circular dependency in this patch):
> >
> > commit 68bb7bfb7985df2bd15c2dc975cb68b7a901488a
> > Author: K. Y. Srinivasan
>
On Tue, Jul 03, 2018 at 01:50:00PM -0700, Andrew Morton wrote:
> It should be possible to find the highest ID in an IDR tree with a
> straightforward descent of the underlying radix tree, but I doubt if
> that has been wired up. Otherwise a simple loop in
> unregister_memcg_shrinker() woul
On Thu, 2018-07-05 at 15:15 -0600, Rob Herring wrote:
> On Thu, Jul 05, 2018 at 09:09:28AM +0800, Stanley Chu wrote:
Hi Rob,
> > +- reg: Should contain location and length for timer register.
> > +- clocks: Both timers are driven by system clock.
>
> The binding just needs to say how many clocks
On Mon, 2018-06-25 at 08:51 +0800, Greg Kroah-Hartman wrote:
> On Sun, Jun 24, 2018 at 08:41:03AM -0700, Joe Perches wrote:
> > On Tue, 2018-06-19 at 06:31 -0700, Joe Perches wrote:
> > > Greg? Ping?
> > >
> > > The patches to impi have hit -next and the impi code
> > > works differently without
Rename mtk_timer to timer-mediatek to apply new naming convention
in clocksource folder.
Signed-off-by: Stanley Chu
---
drivers/clocksource/Makefile |2 +-
drivers/clocksource/mtk_timer.c | 268 --
drivers/clocksource/timer-mediatek.c | 268
Use specific prefix to specify the name of supported
timer hardware: "General Purpose Timer (GPT)".
Signed-off-by: Stanley Chu
---
drivers/clocksource/timer-mediatek.c | 157 +-
1 file changed, 80 insertions(+), 77 deletions(-)
diff --git a/drivers/clocksource/t
Convert the driver to use the timer_of helpers.
This allows to remove custom proprietary structure,
factors out and simplifies the code.
Signed-off-by: Stanley Chu
---
drivers/clocksource/timer-mediatek.c | 205 +-
1 file changed, 80 insertions(+), 125 deletions(
This patch adds a new "System Timer" on the Mediatek SoCs.
The System Timer is introduced as an always-on timer being
clockevent device for tick-broadcasting.
For clock, it is driven by 13 MHz system clock.
The implementation uses the system clock with no clock
source divider.
For interrupt, the
This patch adds bindings of new "System Timer" on Mediatek SoCs.
Remove RTC clock in the same time because it is not used
in both "General Purpose Timer" and "System Timer" driver now.
Signed-off-by: Stanley Chu
---
.../bindings/timer/mediatek,mtk-timer.txt | 36
Changes since v7:
- Fix dt-bindings:
- Fix clock description and add commit message to explain RTC clock removal.
- Add new line in end of file.
Changes since v6:
- Remove duplicated variable gpt_sched_reg.
- Remove log for mtk_syst_init().
Changes since v5:
- Optimize driver and remove r
On Thu, Jul 05 2018, Masahiro Yamada wrote:
> 2018-07-05 6:54 GMT+09:00 NeilBrown :
>> On Wed, Jul 04 2018, Masahiro Yamada wrote:
>>
>>> 2018-07-04 7:14 GMT+09:00 NeilBrown :
Where I've been using these patches I've sometimes been adding
ccflags-y += -DKBUILD_MODNAME='"FOO"'
Use specific prefix to specify the name of supported
timer hardware: "General Purpose Timer (GPT)".
Signed-off-by: Stanley Chu
---
drivers/clocksource/timer-mediatek.c | 157 +-
1 file changed, 80 insertions(+), 77 deletions(-)
diff --git a/drivers/clocksource/t
Convert the driver to use the timer_of helpers.
This allows to remove custom proprietary structure,
factors out and simplifies the code.
Signed-off-by: Stanley Chu
---
drivers/clocksource/timer-mediatek.c | 205 +-
1 file changed, 80 insertions(+), 125 deletions(
This patch adds a new "System Timer" on the Mediatek SoCs.
The System Timer is introduced as an always-on timer being
clockevent device for tick-broadcasting.
For clock, it is driven by 13 MHz system clock.
The implementation uses the system clock with no clock
source divider.
For interrupt, the
Will be used for generating the syscall id/string translation table.
Arm64's unistd.h simply #includes the asm-generic/unistd.h, so,
since we will want to know whether either change, we grab both:
arch/arm64/include/uapi/asm/unistd.h
and
include/uapi/asm-generic/unistd.h
Cc: Ravi Bangoria
This should speed up accessing new system calls introduced with the
kernel rather than waiting for libaudit updates to include them.
It also enables users to specify wildcards, for example, perf trace -e
'open*', just like was already possible on x86, s390, and powerpc, which
means arm64 can now p
Changes since v8:
- Sorry for stupid mistake that no updated file in v7. Just re-send correct
file in v7.
Changes since v7:
- Fix dt-bindings:
- Fix clock description and add commit message to explain RTC clock removal.
- Add new line in end of file.
Changes since v6:
- Remove duplicated
This should speed up accessing new system calls introduced with the
kernel rather than waiting for libaudit updates to include them.
Using the existing other arch scripts resulted in this error:
tools/perf/arch/arm64/entry/syscalls//mksyscalltbl: 25: printf:
__NR3264_ftruncate: expected numeric
This patch adds bindings of new "System Timer" on Mediatek SoCs.
Remove RTC clock in the same time because it is not used by
both "General Purpose Timer" and "System Timer" now.
Signed-off-by: Stanley Chu
---
.../bindings/timer/mediatek,mtk-timer.txt | 34
1 file
401 - 500 of 699 matches
Mail list logo