FogBugz #195995: nios2: Change default NIOS2_DCACHE_LINE_SIZE

FogBugz 190747 added initda instruction support and this instruction
requires more than 4-byte data cache line. So, default
NIOS2_DCACHE_LINE_SIZE needs change to more than 4 and
in range 0x10 and 0x20. Also add checking for
CONFIG_NIOS2_DCACHE_LINE_SIZE vs device tree dcache-line-size to make
sure they are matched.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
net: stmmac: set phy to use polling by default

mii_irq[] array is never initialized anywhere in the driver, thus mii_irq[]
will always equate to zero. So, for the case where the PHY does not have an
irq, we should use PHY_POLL for that situation.

Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Tested-by: Vince Bridgers <vbridger@altera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
FogBugz #199159: nios2: fix parentheses warning

Add parentheses for 'vaddr' variable.
Example warning:
mm/bootmem.c:585:3: warning: suggest parentheses around arithmetic
in operand of '|' [-Wparentheses]
mm/bootmem.c:585:3:
                region = phys_to_virt(PFN_PHYS(bdata->node_min_pfn) +
                                start_off);

Signed-off-by: Ley Foon Tan <lftan@altera.com>
FogBugz #193936: nios2: Fix nios2 compilation warnings

The warnings is caused by PAGE_SIZE macro. This is one of the change
request by kernel community when nios2 usptreaming. Recommended way is
using AC() macro for PAGE_SIZE calculation.

Discussion:
https://lkml.org/lkml/2014/4/22/577

Example warning:
fs/select.c:901:9: warning: comparison of distinct pointer types
lacks a cast [enabled by default]

Signed-off-by: Ley Foon Tan <lftan@altera.com>
usb: dwc2: Disable descriptor dma mode by default

Even though the IP supports Descriptor DMA mode, it does not support SPLIT
transactions in this mode. So the driver, in its currently form, will not
support LS/FS devices when connected to a HS Hub if Descriptor DMA mode is
enabled.

So we should just default to disable descriptor dma mode.

Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
---
v3:
- remove option for a device tree to turn on descriptor dma

v2:
- Reworked patch to disable descriptor dma by default
- Removed unneeded helper variable
- Reword patch commit header

Conflicts:

	drivers/usb/dwc2/platform.c
FogBugz #201449: Fix bug found by sparse tool.

The sparse code analysis tools identified a locking problem
in the Cadence QSPI driver.  This patch is the fix.

In the process, I removed a continue, renamed a variable, and
reversed the logic of an if-block.

Signed-off-by: Graham Moore <grmoore@altera.com>